org::kde::kquickcontrols::ColorButton

org::kde::kquickcontrols::ColorButton Class Reference

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:

[...]
onColorChanged: console.log(color)
}

QtQuick.Controls.Button

Definition at line 42 of file ColorButton.qml.

Property Documentation

real org::kde::kquickcontrols::ColorButton::_buttonMarigns
Remarks
This property is read-only

Definition at line 69 of file ColorButton.qml.

alias org::kde::kquickcontrols::ColorButton::color

The user selected color.

Definition at line 47 of file ColorButton.qml.

alias org::kde::kquickcontrols::ColorButton::currentColor

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 56 of file ColorButton.qml.

alias org::kde::kquickcontrols::ColorButton::dialogTitle

Title to show in the dialog.

Definition at line 51 of file ColorButton.qml.

alias org::kde::kquickcontrols::ColorButton::showAlphaChannel

Allow the user to configure an alpha value.

Definition at line 60 of file ColorButton.qml.

Member Function Documentation

void org::kde::kquickcontrols::ColorButton::accepted ( color  color)
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-2020 The KDE developers.
Generated on Mon Jul 6 2020 22:38:17 by doxygen 1.8.11 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.