Maki
Formally verfied low-code orchestration
Loading...
Searching...
No Matches
maki::ColorWidget Class Reference

A widget for displaying and editing a colour value. More...

#include <widget_factory.h>

Inheritance diagram for maki::ColorWidget:
maki::TypedInputWidget< oclero::qlementine::ColorEditor > maki::InputWidget

Signals

void valueChanged (const QColor &value)
 Emitted when the selected colour changes.

Public Member Functions

 ColorWidget (const QString &label, const QString &placeholder, WidgetAlignment alignment, QWidget *parent)
 Constructs a colour selection widget.

Detailed Description

A widget for displaying and editing a colour value.

Constructor & Destructor Documentation

◆ ColorWidget()

maki::ColorWidget::ColorWidget ( const QString & label,
const QString & placeholder,
WidgetAlignment alignment,
QWidget * parent )

Constructs a colour selection widget.

Parameters
labelThe label shown next to the widget.
placeholderAdditional placeholder or button text.
parentThe parent widget.

Member Function Documentation

◆ valueChanged

void maki::ColorWidget::valueChanged ( const QColor & value)
signal

Emitted when the selected colour changes.

Parameters
valueThe 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