itom  4.1.0
dialogOpenNewGui.h
1 /* ********************************************************************
2  itom software
3  URL: http://www.uni-stuttgart.de/ito
4  Copyright (C) 2020, Institut fuer Technische Optik (ITO),
5  Universitaet Stuttgart, Germany
6 
7  This file is part of itom.
8 
9  itom is free software; you can redistribute it and/or modify it
10  under the terms of the GNU Library General Public Licence as published by
11  the Free Software Foundation; either version 2 of the Licence, or (at
12  your option) any later version.
13 
14  itom is distributed in the hope that it will be useful, but
15  WITHOUT ANY WARRANTY; without even the implied warranty of
16  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Library
17  General Public Licence for more details.
18 
19  You should have received a copy of the GNU Library General Public License
20  along with itom. If not, see <http://www.gnu.org/licenses/>.
21 *********************************************************************** */
22 
23 #ifndef DIALOGOPENNEWGUI_H
24 #define DIALOGOPENNEWGUI_H
25 
26 #include "../../common/sharedStructures.h"
27 
28 #include "../global.h"
29 
30 #include <QtGui>
31 #include <qdialog.h>
32 
33 #include "paramInputParser.h"
34 
35 
36 #include "ui_dialogOpenNewGui.h"
37 
38 namespace ito {
39 
40 class DialogOpenNewGui : public QDialog
41 {
42  Q_OBJECT
43 
44 public:
45  DialogOpenNewGui(const QString &widgetName, const QVector<ito::Param> &initParamsMand, const QVector<ito::Param> &initParamsOpt);
47 
48  ito::RetVal getFilledMandParams(QVector<ito::ParamBase> &params);
49  ito::RetVal getFilledOptParams(QVector<ito::ParamBase> &params);
50 
51 protected:
52  ParamInputParser *m_pMandParser;
53  ParamInputParser *m_pOptParser;
54 
55 private:
56 
57  Ui::DialogOpenNewGui ui;
58 
59 private slots:
60  void on_buttonBox_accepted();
61 
62 };
63 
64 } //end namespace ito
65 
66 #endif
Class for managing status values (like errors or warning)
Definition: retVal.h:54
Definition: apiFunctionsGraph.cpp:39
Definition: dialogOpenNewGui.h:40
Definition: paramInputParser.h:38