QSS Solver GUI  4.5.3
settings.hpp
Go to the documentation of this file.
1 /*****************************************************************************
2 
3  This file is part of QSS Solver.
4 
5  QSS Solver is free software: you can redistribute it and/or modify
6  it under the terms of the GNU General Public License as published by
7  the Free Software Foundation, either version 3 of the License, or
8  (at your option) any later version.
9 
10  QSS Solver is distributed in the hope that it will be useful,
11  but WITHOUT ANY WARRANTY; without even the implied warranty of
12  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13  GNU General Public License for more details.
14 
15  You should have received a copy of the GNU General Public License
16  along with QSS Solver. If not, see <http://www.gnu.org/licenses/>.
17 
18  ******************************************************************************/
19 
20 #ifndef SETTINGS_H_
21 #define SETTINGS_H_
22 
23 #include <QtGui>
24 #include "./ui/ui_settings.h"
25 
26 #include "utils.hpp"
27 
28 class SettingsDlg : public QDialog, public Ui::Settings {
29  Q_OBJECT
30  public:
31  SettingsDlg(QWidget *parent = NULL);
32  ~SettingsDlg();
33  private slots:
34  void _save();
35  QString _getCheckBoxValue(QCheckBox *chkBox);
36  void _setCheckBoxValue(QCheckBox *chkBox, QString value);
37 
38  private:
39  Utils *_utils;
40 };
41 
42 #endif /* SETTINGS_H_ */
SettingsDlg::SettingsDlg
SettingsDlg(QWidget *parent=NULL)
Definition: settings.cpp:26
utils.hpp
SettingsDlg::_setCheckBoxValue
void _setCheckBoxValue(QCheckBox *chkBox, QString value)
Definition: settings.cpp:102
SettingsDlg
Definition: settings.hpp:28
SettingsDlg::~SettingsDlg
~SettingsDlg()
Definition: settings.cpp:60
Utils
Definition: utils.hpp:60
SettingsDlg::_save
void _save()
Definition: settings.cpp:62
SettingsDlg::_utils
Utils * _utils
Definition: settings.hpp:56
SettingsDlg::_getCheckBoxValue
QString _getCheckBoxValue(QCheckBox *chkBox)
Definition: settings.cpp:93