CustusX  2023.01.05-dev+develop.0da12
An IGT application
cxLogConsole.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 
12 #ifndef CXLOGCONSOLE_H
13 #define CXLOGCONSOLE_H
14 
15 #include <QMainWindow>
16 #include "cxXmlOptionItem.h"
17 #include "cxLog.h"
18 
19 namespace cx
20 {
21 
22 class LogConsole: public QMainWindow
23 {
24  Q_OBJECT
25 
26 public:
27  LogConsole();
28  ~LogConsole();
29 
30 private slots:
31  void onSelectFolder();
32 private:
33  cx::XmlOptionFile mOptions;
34  cx::LogPtr mLog;
35 
36  XmlOptionItem getGeometryOption();
37  void setDefaultGeometry();
38  void initializeGeometry();
39  void createMenus();
40  void updateWindowTitle();
41 };
42 
43 } // namespace cx
44 
45 
46 #endif // CXLOGCONSOLE_H
Helper class for storing one string value in an xml document.
boost::shared_ptr< class Log > LogPtr
Definition: cxLog.h:48
Helper class for xml files used to store ssc/cx data.
Namespace for all CustusX production code.