General Purpose Geodetic Library
NsSetupDialog.h
Go to the documentation of this file.
1 /*
2  *
3  * This file is a part of nuSolve. nuSolve is a part of CALC/SOLVE system
4  * and is designed to perform data analyis of a geodetic VLBI session.
5  * Copyright (C) 2010-2020 Sergei Bolotin.
6  *
7  * This program is free software: you can redistribute it and/or modify
8  * it under the terms of the GNU General Public License as published by
9  * the Free Software Foundation, either version 3 of the License, or
10  * (at your option) any later version.
11  *
12  * This program is distributed in the hope that it will be useful,
13  * but WITHOUT ANY WARRANTY; without even the implied warranty of
14  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15  * GNU General Public License for more details.
16  *
17  * You should have received a copy of the GNU General Public License
18  * along with this program. If not, see <http://www.gnu.org/licenses/>.
19  *
20  */
21 
22 #ifndef NS_SETUP_DIALOG_H
23 #define NS_SETUP_DIALOG_H
24 
25 
26 #ifdef HAVE_CONFIG_H
27 # include <config.h>
28 #endif
29 
30 
31 
32 
33 #include "NsSetup.h"
34 
35 
36 #if QT_VERSION >= 0x050000
37 # include <QtWidgets/QDialog>
38 #else
39 # include <QtGui/QDialog>
40 #endif
41 
42 
43 
44 class QCheckBox;
45 class QComboBox;
46 class QLineEdit;
47 class QTabWidget;
48 class SgGuiLoggerConfig;
49 
50 
51 
52 
53 
54 /***===================================================================================================*/
60 class NsSetupDialog : public QDialog
61 {
62  Q_OBJECT
63 
64 public:
65  //
66  // constructors/destructors:
67  //
70  NsSetupDialog(QWidget *parent=0, Qt::WindowFlags flags=0);
71 
75  virtual ~NsSetupDialog();
76 
77 
78 
79  //
80  // Interfaces:
81  //
82 
83 
84 
85  //
86  // Functions:
87  //
88  inline QString className() const {return "NsSetupDialog";};
89 
90 
91  //
92  // Friends:
93  //
94 
95 
96 
97  //
98  // I/O:
99  //
100  //
101 
102 private slots:
103  void apply();
104  void accept();
105  void reject();
106  void modifyPlotterOutputFormat(int);
107  void modifyAutosaveMode(int);
108 
109 
110 protected:
111  virtual void closeEvent(QCloseEvent *) {deleteLater();};
112  void acquireData();
113 
114 
115 
116 private:
117  // functions:
118  QWidget* tab4Pathes();
119  QWidget* tab4Options();
121 
122  QTabWidget *tabs;
124  QLineEdit *lePath2Home_;
125  QLineEdit *lePath2CatNu_;
126  QLineEdit *lePath2Dbh_;
127  QLineEdit *lePath2VgosDb_;
128  QLineEdit *lePath2VgosDa_;
129  QLineEdit *lePath2Apriori_;
131  QLineEdit *lePath2Spoolfiles_;
132  QLineEdit *lePath2NotUsedObs_;
133  QLineEdit *lePath2Reports_;
134  QLineEdit *lePath2NgsOutput_;
137  QLineEdit *lePath2AuxLogs_;
142  QCheckBox *cbIsShortScreen_;
144  QCheckBox *cbMakeAuxLog_;
145  QComboBox *cbAutosaveMode_;
146 
148  QLineEdit *leExternalCommand_;
149 
151 
152  // user identities:
153  QLineEdit *leUserName_;
154  QLineEdit *leUserEmail_;
155  QLineEdit *leUserInitials_;
156  QLineEdit *leAcFullName_;
157  QLineEdit *leAcAbbrevName_;
158  QLineEdit *leAcAbbName_;
159 
160 };
161 /*=====================================================================================================*/
162 
163 
164 
165 
166 
167 
168 
169 
170 
171 /*=====================================================================================================*/
172 #endif // NS_SETUP_DIALOG_H
virtual void closeEvent(QCloseEvent *)
QLineEdit * leAcAbbrevName_
QLineEdit * leExternalCommand_
QCheckBox * cbHave2UpdateCatalog_
QLineEdit * leAcFullName_
QLineEdit * lePath2AuxLogs_
QLineEdit * lePath2VgosDb_
QLineEdit * lePath2Masterfiles_
QCheckBox * cbMakeAuxLog_
QLineEdit * lePath2PlotterOutput_
QLineEdit * lePath2Spoolfiles_
QLineEdit * leUserName_
QLineEdit * lePath2VgosDa_
QLineEdit * lePath2CatNu_
QCheckBox * cbHave2AutoloadAllBands_
QLineEdit * lePath2Home_
SgGuiLoggerConfig * logConfigWidget_
QLineEdit * lePath2IntermediateResults_
QTabWidget * tabs
QLineEdit * leAcAbbName_
void modifyPlotterOutputFormat(int)
virtual ~NsSetupDialog()
void modifyAutosaveMode(int)
QCheckBox * cbHave2WarnCloseWindow_
QLineEdit * leUserEmail_
QLineEdit * leUserInitials_
QLineEdit * lePath2Reports_
QCheckBox * cbExecExternalCommand_
QWidget * tab4Pathes()
QLineEdit * lePath2NotUsedObs_
QCheckBox * cbIsBandPlotPerSrcView_
NsSetupDialog(QWidget *parent=0, Qt::WindowFlags flags=0)
QLineEdit * lePath2Dbh_
QLineEdit * lePath2Apriori_
QCheckBox * cbHave2MaskSessionCode_
QCheckBox * cbHave2KeepSpoolFileReports_
QString className() const
Definition: NsSetupDialog.h:88
QWidget * tab4Options()
QLineEdit * lePath2NgsOutput_
QWidget * tab4Identities()
QCheckBox * cbIsShortScreen_
QComboBox * cbAutosaveMode_