12 #ifndef CXSTATESERVICE_H_ 13 #define CXSTATESERVICE_H_ 15 #include "cxResourceExport.h" 21 class ctkPluginContext;
23 #define StateService_iid "cx::StateService" 46 Desktop(QString layout, QByteArray mainwindowstate);
47 void addPreset(QString name,
int pos,
bool tabbed=
true);
109 virtual QString getVersionName() = 0;
110 virtual QString getApplicationStateName()
const = 0;
111 virtual QStringList getAllApplicationStateNames()
const = 0;
113 virtual QActionGroup* getWorkflowActions() = 0;
114 virtual void setWorkFlowState(QString uid) = 0;
116 virtual Desktop getActiveDesktop() = 0;
117 virtual void saveDesktop(
Desktop desktop) = 0;
118 virtual void resetDesktop() = 0;
120 virtual bool isNull() = 0;
124 void fillDefaultSettings();
132 void workflowStateChanged();
133 void workflowStateAboutToChange();
134 void applicationStateChanged();
std::vector< Preset > mPresets
boost::shared_ptr< class StateService > StateServicePtr
Workflow states for CustusX.
QByteArray mMainWindowState
void fillDefault(QString name, T value)
Settings * settings()
Shortcut for accessing the settings instance.
Data class for CustusX desktop.
QString mSecondaryLayoutUid
void fillDefault(QString name, T value)
Namespace for all CustusX production code.