Chrysalis - CLO3D Extensions
Loading...
Searching...
No Matches
CommandDialog.h
Go to the documentation of this file.
1#ifndef CHRYSALIS_COMMANDDIALOG_H
2#define CHRYSALIS_COMMANDDIALOG_H
3
5
6#include "BaseDialog.h"
7#include "BaseCommand.h"
9
10namespace CLO3D::UI {
11 QT_BEGIN_NAMESPACE
12 namespace Ui {
13 class CommandDialog;
14 }
15 QT_END_NAMESPACE
16
17 class CLO3D_EXTENSION CommandDialog: public BaseDialog {
18 Q_OBJECT
19 public:
20 explicit CommandDialog(const QString& title, BaseCommandArgumentsWidget* argumentsWidget, BaseCommand* command);
21 ~CommandDialog() override;
22
23 void accept() override;
24 private:
25 Ui::CommandDialog* ui;
27 BaseCommand* command_;
29 BaseCommandArgumentsWidget* argumentsWidget_;
30 };
31} // UI
32
33#endif //CHRYSALIS_COMMANDDIALOG_H
#define CLO3D_EXTENSION
Definition CLO3DExtensionExport.h:12
Definition BaseCommand.h:9
Definition BaseCommandArgumentsWidget.h:11
Definition CommandDialog.h:17
void accept() override
Definition CommandDialog.cpp:18
CommandDialog(const QString &title, BaseCommandArgumentsWidget *argumentsWidget, BaseCommand *command)
Definition CommandDialog.cpp:8
Definition CommandDialog.h:12
Definition BaseCommandArgumentsWidget.h:10