General Purpose Geodetic Library
SgGuiLoggerConfig.h
Go to the documentation of this file.
1 /*
2  *
3  * This file is a part of Space Geodetic Library. The library is used by
4  * nuSolve, a part of CALC/SOLVE system, and designed to make analysis of
5  * geodetic VLBI observations.
6  * Copyright (C) 2010-2020 Sergei Bolotin.
7  *
8  * This program is free software: you can redistribute it and/or modify
9  * it under the terms of the GNU General Public License as published by
10  * the Free Software Foundation, either version 3 of the License, or
11  * (at your option) any later version.
12  *
13  * This program is distributed in the hope that it will be useful,
14  * but WITHOUT ANY WARRANTY; without even the implied warranty of
15  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16  * GNU General Public License for more details.
17  *
18  * You should have received a copy of the GNU General Public License
19  * along with this program. If not, see <http://www.gnu.org/licenses/>.
20  *
21  */
22 
23 #ifndef SG_GUI_LOGGER_CONFIG_H
24 #define SG_GUI_LOGGER_CONFIG_H
25 
26 
27 #ifdef HAVE_CONFIG_H
28 # include <config.h>
29 #endif
30 
31 
32 
33 #include <SgLogger.h>
34 
35 
36 #if QT_VERSION >= 0x050000
37 # include <QtWidgets/QWidget>
38 #else
39 # include <QtGui/QWidget>
40 #endif
41 
42 
43 class QCheckBox;
44 class QDialog;
45 class QLineEdit;
46 class QSpinBox;
47 
48 
49 /*=====================================================================================================*/
50 class SgGuiLoggerConfig : public QWidget
51 {
52  Q_OBJECT
53 
54 public:
55  SgGuiLoggerConfig(QWidget*, Qt::WindowFlags=Qt::Widget);
56  virtual inline ~SgGuiLoggerConfig(){};
57  inline QString className() const {return "SgGuiLoggerConfig";};
58 
59 //signals:
60 // void configIsModified();
61 
62  void acquireData();
63 
64 public slots:
65 
66 private slots:
67 
68 private:
69  QCheckBox *cbLogStoreInFile_;
70  QCheckBox *cbLogTimeLabel_;
71  QCheckBox *cbFullDate_;
72  QLineEdit *eLogFileName_;
73  QSpinBox *sLogCapacity_;
74  QCheckBox *cbLLevel_[4][32];
75 };
76 /*=====================================================================================================*/
77 
78 
79 
80 
81 /*=====================================================================================================*/
82 #endif // SG_GUI_LOGGER_CONFIG_H
SgGuiLoggerConfig(QWidget *, Qt::WindowFlags=Qt::Widget)
QLineEdit * eLogFileName_
QCheckBox * cbLogStoreInFile_
QCheckBox * cbLogTimeLabel_
QCheckBox * cbFullDate_
QString className() const
virtual ~SgGuiLoggerConfig()
QCheckBox * cbLLevel_[4][32]
QSpinBox * sLogCapacity_