14 #include "TextField.h" 24 static constexpr std::string_view mTitle =
"Configure";
25 static constexpr std::string_view CallPattern =
"[A-Z]+[0-9][A-Z]+";
26 static constexpr std::string_view FloatPattern =
"[+-]?([0-9]*[.])?[0-9]+";
28 static constexpr std::array<DialogActionButton,1> mActionButtons = {
32 void qthConfigure(shared_ptr <Row> &parent);
34 std::array<std::shared_ptr<TextField>,3> mTextFields{};
36 std::shared_ptr<std::regex> mCallRegex{};
37 std::shared_ptr<std::regex> mFloatRegex{};
39 std::shared_ptr<Slot<Button::SignalType>> mActionButtonSlot{};
ConfigDialog(shared_ptr< Rose > parent, const Position &position)
Construct a Window of specified position.
Definition: ConfigDialog.h:64
Present a dialog to allow the user to configure the program.
Definition: ConfigDialog.h:22
ConfigDialog(shared_ptr< Rose > parent)
Construct a Dialog which covers the entire screen.
Definition: ConfigDialog.h:53
A Dialog is a way for the application to have a brief conversation with the user. ...
Definition: Popup.h:62
Close the dialog.
Definition: Constants.h:57
void initializeComposite() override
See Widget::initializeComposite()
Definition: ConfigDialog.cpp:16
A position in integer (x, y) co-ordinates.
Definition: Types.h:95
ConfigDialog(shared_ptr< Rose > parent, const Position &pos, const Size &size)
Construct a Window of specified position and size.
Definition: ConfigDialog.h:75
A size in integer dimensions.
Definition: Types.h:230
Close the dialog.
Definition: Constants.h:72
ToDo: There is an issue that the initial scroll interaction is lost if the click/press lands on a Wid...
Definition: CelestialOverlay.cpp:13