A widget for displaying and editing a colour value.
More...
#include <widget_factory.h>
|
| void | valueChanged (const QColor &value) |
| | Emitted when the selected colour changes.
|
|
| | ColorWidget (const QString &label, const QString &placeholder, WidgetAlignment alignment, QWidget *parent) |
| | Constructs a colour selection widget.
|
A widget for displaying and editing a colour value.
◆ ColorWidget()
| maki::ColorWidget::ColorWidget |
( |
const QString & | label, |
|
|
const QString & | placeholder, |
|
|
WidgetAlignment | alignment, |
|
|
QWidget * | parent ) |
Constructs a colour selection widget.
- Parameters
-
| label | The label shown next to the widget. |
| placeholder | Additional placeholder or button text. |
| parent | The parent widget. |
◆ valueChanged
| void maki::ColorWidget::valueChanged |
( |
const QColor & | value | ) |
|
|
signal |
Emitted when the selected colour changes.
- Parameters
-
| value | The new colour value. |
The documentation for this class was generated from the following files:
- /__w/maki/maki/app/widgets/widget_factory.h
- /__w/maki/maki/app/widgets/widget_factory.cpp