7#include "property_info.h"
8#include "widgets/base_dialog.h"
31 explicit EventDialog(
const QString& title, QWidget* parent =
nullptr);
38 void setup(std::shared_ptr<FlowSaveInfo> event,
const QString& buttonText);
45 std::shared_ptr<FlowSaveInfo>
getInfo()
const;
48 void accept()
override;
51 std::shared_ptr<FlowSaveInfo> mStorage;
79 void addArgumentToTable(QTableWidget* table, std::shared_ptr<PropertyInfo> field);
80 void removeArgumentFromTable(QTableWidget* table);
BaseDialog(const QString &title, double ratio, double screenFraction, QWidget *parent=nullptr)
Constructs a new BaseDialog instance.
Definition base_dialog.cpp:17
EventDialog(const QString &title, QWidget *parent=nullptr)
Constructs an EventDialog with the given title and parent widget.
Definition event_dialog.cpp:25
void createTypeInput()
Creates and configures the type input widget.
Definition event_dialog.cpp:66
void createReturnTypeInput()
Creates and configures the return type input widget.
Definition event_dialog.cpp:92
void createArgumentInput()
Creates and configures the argument input widget.
Definition event_dialog.cpp:108
void createNameInput()
Creates and configures the name input widget.
Definition event_dialog.cpp:56
int mEnterCount
Pointer to the stored FlowSaveInfo object.
Definition event_dialog.h:52
void populateNodeList()
Counter for enter key presses.
void setup(std::shared_ptr< FlowSaveInfo > event, const QString &buttonText)
Sets up the dialog with event information.
Definition event_dialog.cpp:36
std::shared_ptr< FlowSaveInfo > getInfo() const
Retrieves the stored FlowSaveInfo object.
Definition event_dialog.cpp:31
Represents the save information for a flow.
Definition flow_info.h:15
Contains UI helper widgets and layout grouping utilities used by MAKI.
Definition macros.h:9