org::kde::kquickcontrols::ColorButton
Inherits Button.
Properties | |
real | _buttonMarigns |
alias | color |
alias | currentColor |
alias | dialogTitle |
alias | showAlphaChannel |
Signals | |
void | accepted (color color) |
Detailed Description
A pushbutton to display or allow user selection of a color.
- Since
- 2.0
This widget can be used to display or allow user selection of a color.
Example usage:
@inherits QtQuick.Controls.Button
Definition at line 28 of file ColorButton.qml.
Property Documentation
◆ _buttonMarigns
|
read |
- Remarks
- This property is read-only
Definition at line 55 of file ColorButton.qml.
◆ color
|
read |
The user selected color.
Definition at line 33 of file ColorButton.qml.
◆ currentColor
|
read |
The color which the user has currently selected whilst the dialog is open For the color that is set when the dialog is accepted, use the color property.
Definition at line 42 of file ColorButton.qml.
◆ dialogTitle
|
read |
Title to show in the dialog.
Definition at line 37 of file ColorButton.qml.
◆ showAlphaChannel
|
read |
Allow the user to configure an alpha value.
Definition at line 46 of file ColorButton.qml.
Member Function Documentation
◆ accepted
|
signal |
This signal is emitted when the color dialog has been accepted.
- Since
- 5.61
The documentation for this class was generated from the following file:
Documentation copyright © 1996-2023 The KDE developers.
Generated on Mon May 8 2023 04:01:45 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.