36 #ifndef OPENPSTD_MAINWINDOW_H 37 #define OPENPSTD_MAINWINDOW_H 39 #include <QMainWindow> 41 #include "operations/BaseOperation.h" 42 #include "MouseHandlers.h" 43 #include "DomainProperties.h" 44 #include "DocumentSettings.h" 45 #include <ui_MainWindow.h> 57 explicit MainWindow(std::shared_ptr<OperationRunner> operationRunner, QWidget *parent = 0);
59 void UpdateFromModel(std::shared_ptr<Model>
const &model);
62 std::unique_ptr<Ui_MainWindow> ui;
63 std::unique_ptr<DomainProperties> domainProperties;
64 std::unique_ptr<DocumentSettings> documentSettings;
65 std::shared_ptr<OperationRunner> operationRunner;
66 std::vector<QAction *> MouseHandlersActions;
68 void ChangeMouseHandler(QAction *action, std::unique_ptr<MouseStrategy> mouseHandler);
70 void EditSelectedDomain();
72 void EditDocumentSettings();
74 void UpdateDisableWidgets(std::shared_ptr<Model>
const &model);
78 void ShowAboutIcons();
95 #endif //OPENPSTD_MAINWINDOW_H This is the general namespace of the OpenPSTD application.
Definition: Boundary.cpp:33
Definition: MainWindow.h:52