1 #ifndef PROJECT_MANAGER_GUI_H 2 #define PROJECT_MANAGER_GUI_H 5 #include "abstract_workspace_gui.h" 17 Q_CLASSINFO(
"guiModule",
"true")
18 Q_CLASSINFO(
"dependsOn",
"PluginManager")
19 Q_CLASSINFO(
"dependsOn",
"GuiManager")
32 const QSharedPointer<AbstractWorkspace>& workspace,
33 const QVector<AbstractWorkspaceGui*>& workspaceGuis);
36 int showSelectWorkspaceDialog();
37 bool openWorkspace(QSharedPointer<AbstractWorkspace> workspace);
38 QString lastError()
const;
42 void setMainGuiElements();
43 void updateMenuEntries();
44 bool closeWorkspace();
50 QTabWidget* _itemViewTabWidget =
nullptr;
51 QVector<AbstractWorkspaceGui*> _abstractWorkspaceGuiClasses;
52 QMenu* _menuWorkspaces =
nullptr;
53 QPixmap _menuePointSelected;
57 void openWorkspaceManager();
58 void onSwitchWorkspaceAction();
59 void onWorkspaceNameChanged(
const QString& workspaceName);
60 void onWorkspaceUpdated();
61 void onRecentWorkspaceListChanged();
62 void customContextMenuRequested(
const QPoint position);
65 #endif // PROJECT_MANAGER_GUI_H
Definition: project_manager.h:8
Definition: project_manager_gui.h:10
The AbstractSingleton class defines functions that every singleton must implement Every Singleton mus...
Definition: singleton.h:12
Definition: abstract_workspace_gui.h:18
bool postInit()
postInit will be called after all components and singletons have been constructed/initialized ...
Definition: project_manager_gui.cpp:67
The Singleton Template figures as baseclass for all Singletons. It provides a instance() functions wh...
Definition: singleton.h:54
bool preDestroy()
preDestroy will be called before any of the components and singletons will be destructed/deinitailize...
Definition: project_manager_gui.cpp:73