NorMIT-nav  2023.01.05-dev+develop.0da12
An IGT application
cxApplicationsParser.h
Go to the documentation of this file.
1 /*=========================================================================
2 This file is part of CustusX, an Image Guided Therapy Application.
3 
4 Copyright (c) SINTEF Department of Medical Technology.
5 All rights reserved.
6 
7 CustusX is released under a BSD 3-Clause license.
8 
9 See Lisence.txt (https://github.com/SINTEFMedtek/CustusX/blob/master/License.txt) for details.
10 =========================================================================*/
11 #ifndef CXAPPLICATIONSPARSER_H
12 #define CXAPPLICATIONSPARSER_H
13 
14 #include "org_custusx_core_state_Export.h"
15 #include "cxXmlOptionItem.h"
16 #include "cxStateService.h"
17 
18 namespace cx
19 {
20 
27 class org_custusx_core_state_EXPORT ApplicationsParser
28 {
29 public:
32 
33  Desktop getDefaultDesktop(QString workflowName);
34  Desktop getDesktop(QString workflowName);
35  void setDesktop(QString workflowName, Desktop desktop);
36  void resetDesktop(QString workflowName);
37 
38 private:
39  void addDefaultDesktops(QString workflowStateUid, QString layoutUid, QString mainwindowstate);
40  XmlOptionFile getSettings();
41  // XmlOptionFile mXmlFile;
42  std::map<QString, Desktop> mWorkflowDefaultDesktops;
43  void addToolbarsToDesktop(Desktop& desktop, QStringList toolbars);
44 };
45 
46 }
47 
48 #endif // CXAPPLICATIONSPARSER_H
cx::XmlOptionFile
Helper class for xml files used to store ssc/cx data.
Definition: cxXmlOptionItem.h:78
cx
Namespace for all CustusX production code.
Definition: cx_dev_group_definitions.h:13
cxXmlOptionItem.h
cxStateService.h
cx::Desktop
Data class for CustusX desktop.
Definition: cxStateService.h:43
cx::ApplicationsParser::~ApplicationsParser
~ApplicationsParser()
Definition: cxApplicationsParser.h:31
cx::ApplicationsParser
Definition: cxApplicationsParser.h:27