org::kde::kquickcontrols::ColorButton
org::kde::kquickcontrols::ColorButton Class Reference
Inherits QtQuick::Controls::Button.
Properties | |
alias | color |
alias | dialogTitle |
bool | showAlphaChannel |
Signals | |
void | accepted (color color) |
Detailed Description
A pushbutton to display or allow user selection of a color.
This widget can be used to display or allow user selection of a color.
Example usage:
import org.kde.kquickcontrols
ColorButton {
onColorChanged: console.log(color)
}
@inherits QtQuick.Controls.Button
Import Statement
import org.kde.kquickcontrols
- Version
- 2.0
Definition at line 28 of file ColorButton.qml.
Property Documentation
◆ color
|
read |
The user selected color.
Definition at line 33 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 41 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:
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Tue Mar 26 2024 11:16:59 by doxygen 1.10.0 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2024 The KDE developers.
Generated on Tue Mar 26 2024 11:16:59 by doxygen 1.10.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.