33 #ifndef CXSTATESERVICE_H_ 34 #define CXSTATESERVICE_H_ 36 #include "cxResourceExport.h" 42 class ctkPluginContext;
44 #define StateService_iid "cx::StateService" 67 Desktop(QString layout, QByteArray mainwindowstate);
68 void addPreset(QString name,
int pos,
bool tabbed=
true);
130 virtual QString getVersionName() = 0;
131 virtual QString getApplicationStateName()
const = 0;
132 virtual QStringList getAllApplicationStateNames()
const = 0;
134 virtual QActionGroup* getWorkflowActions() = 0;
135 virtual void setWorkFlowState(QString uid) = 0;
137 virtual Desktop getActiveDesktop() = 0;
138 virtual void saveDesktop(
Desktop desktop) = 0;
139 virtual void resetDesktop() = 0;
141 virtual bool isNull() = 0;
145 void fillDefaultSettings();
153 void workflowStateChanged();
154 void workflowStateAboutToChange();
155 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.