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

A widget for displaying and editing boolean values. More...

#include <widget_factory.h>

Inheritance diagram for maki::BooleanWidget:
maki::TypedInputWidget< QCheckBox > maki::InputWidget

Signals

void valueChanged (const bool value)
 Emitted when the boolean value changes.

Public Member Functions

 BooleanWidget (const QString &label, bool value, WidgetAlignment alignment, QWidget *parent)
 Constructs a boolean input widget.

Detailed Description

A widget for displaying and editing boolean values.

Constructor & Destructor Documentation

◆ BooleanWidget()

maki::BooleanWidget::BooleanWidget ( const QString & label,
bool value,
WidgetAlignment alignment,
QWidget * parent )

Constructs a boolean input widget.

Parameters
labelThe label shown next to the widget.
valueThe initial boolean value.
alignmentThe alignment/layout behaviour to use.
parentThe parent widget.

Member Function Documentation

◆ valueChanged

void maki::BooleanWidget::valueChanged ( const bool value)
signal

Emitted when the boolean value changes.

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