ColorsRow
Properties | |
var | colors |
string | currentColor |
string | defaultColor |
int | size |
Signals | |
void | colorPicked (string color) |
Additional Inherited Members | |
Public Member Functions inherited from QtQuick.Flow | |
forceLayout () | |
positioningComplete () | |
Detailed Description
A row of color buttons.
You can find a more complete example at this link.
Definition at line 45 of file ColorsRow.qml.
Property Documentation
◆ colors
|
read |
The list of colors to be used.
- Remarks
- This is the default property
Definition at line 52 of file ColorsRow.qml.
◆ currentColor
|
read |
The current color.
This is useful to be set at startup, it is binded to the defaultColor
as default.
Definition at line 60 of file ColorsRow.qml.
◆ defaultColor
|
read |
The default color.
This is used as the color when the reset/clear button is clicked. The color to reset back to.
Definition at line 56 of file ColorsRow.qml.
◆ size
|
read |
The size of the elements in the row.
Definition at line 64 of file ColorsRow.qml.
Member Function Documentation
◆ colorPicked
|
signal |
Emitted when one of the color buttons has been clicked.
The argument is the color picked.
- Parameters
-
color the color picked.
The documentation for this class was generated from the following file:
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri May 17 2024 11:56:16 by doxygen 1.10.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.