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

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

#include <widget_factory.h>

Inheritance diagram for maki::StringWidget:
maki::TypedInputWidget< oclero::qlementine::LineEdit > maki::InputWidget

Signals

void valueChanged (const QString &value)
 Emitted when the string value changes.

Public Member Functions

 StringWidget (const QString &label, const QString &placeholder, WidgetAlignment alignment, QWidget *parent)
 Constructs a string input widget.

Detailed Description

A widget for displaying and editing string values.

Constructor & Destructor Documentation

◆ StringWidget()

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

Constructs a string input widget.

Parameters
labelThe label shown next to the widget.
placeholderThe placeholder text shown in the input field.
alignmentThe alignment/layout behaviour to use.
parentThe parent widget.

Member Function Documentation

◆ valueChanged

void maki::StringWidget::valueChanged ( const QString & value)
signal

Emitted when the string 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