itom  4.1.0
dialogGoto.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 DIALOGGOTO_H
24 #define DIALOGGOTO_H
25 
26 #include <qdialog.h>
27 #include <qstring.h>
28 
29 #include "ui_dialogGoto.h"
30 #include "itomSpinBox.h"
31 
32 namespace ito
33 {
34 
35 class DialogGoto : public QDialog
36 {
37  Q_OBJECT
38 
39 public:
40  DialogGoto(const int maxLine, const int curLine, const int maxChar, const int curChar, QWidget *parent = 0);
41  ~DialogGoto() {}
42 
43  void getData(bool &lineNotChar, int &curValue);
44 
45 private:
46  Ui::DialogGoto ui;
47 
48  QString m_captionLine;
49  QString m_captionChar;
50  int m_maxLine;
51  int m_maxChar;
52 
53 private slots:
54  void on_radioLine_clicked();
55  void on_radioChar_clicked();
56 
57 };
58 
59 } //end namespace ito
60 
61 #endif
Definition: apiFunctionsGraph.cpp:39
Definition: dialogGoto.h:35