Public Functions
QLColorControl(QWidget* parent = nullptr) | |
void | click() |
void | disable_clicking(bool cond = true) |
Signals
void | color_changed() |
Detailed Description
A QLColorControl is a QLWidget that displays a color to the user and generates a QLColorDialog when clicked, giving the user an interface for changing the color's value.
Member Function Documentation
QLColorControl(QWidget* parent = nullptr)
Constructs a color control.
void click()
Generates a QLColorDialog to give the user an interface for changing the color value.
void color_changed()
Signal
This signal is emitted if the associated color attribute changes.
void disable_clicking(bool cond = true)
Disables or enables the click functionality of the control depending on cond.