Rev 158 | Go to most recent revision | Only display areas with differences | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 158 | Rev 162 | ||
---|---|---|---|
1 | /*************************************************************************** |
1 | /*************************************************************************** |
2 | * Copyright (C) 2008 by Manuel Schrape * |
2 | * Copyright (C) 2008 by Manuel Schrape * |
3 | * manuel.schrape@gmx.de * |
3 | * manuel.schrape@gmx.de * |
4 | * * |
4 | * * |
5 | * This program is free software; you can redistribute it and/or modify * |
5 | * This program is free software; you can redistribute it and/or modify * |
6 | * it under the terms of the GNU General Public License as published by * |
6 | * it under the terms of the GNU General Public License as published by * |
7 | * the Free Software Foundation; either version 2 of the License. * |
7 | * the Free Software Foundation; either version 2 of the License. * |
8 | * * |
8 | * * |
9 | * This program is distributed in the hope that it will be useful, * |
9 | * This program is distributed in the hope that it will be useful, * |
10 | * but WITHOUT ANY WARRANTY; without even the implied warranty of * |
10 | * but WITHOUT ANY WARRANTY; without even the implied warranty of * |
11 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * |
11 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * |
12 | * GNU General Public License for more details. * |
12 | * GNU General Public License for more details. * |
13 | * * |
13 | * * |
14 | * You should have received a copy of the GNU General Public License * |
14 | * You should have received a copy of the GNU General Public License * |
15 | * along with this program; if not, write to the * |
15 | * along with this program; if not, write to the * |
16 | * Free Software Foundation, Inc., * |
16 | * Free Software Foundation, Inc., * |
17 | * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. * |
17 | * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. * |
18 | ***************************************************************************/ |
18 | ***************************************************************************/ |
19 | #ifndef DLG_CONFIG_H |
19 | #ifndef DLG_CONFIG_H |
20 | #define DLG_CONFIG_H |
20 | #define DLG_CONFIG_H |
21 | 21 | ||
22 | #include <QCheckBox> |
22 | #include <QCheckBox> |
23 | 23 | ||
24 | #include "ui_dlg_Config.h" |
24 | #include "ui_dlg_Config.h" |
25 | #include "../cSettings.h" |
25 | #include "../cSettings.h" |
26 | #include "../global.h" |
26 | #include "../global.h" |
27 | 27 | ||
28 | class dlg_Config : public QDialog, public Ui::dlg_Config_UI |
28 | class dlg_Config : public QDialog, public Ui::dlg_Config_UI |
29 | { |
29 | { |
30 | public: |
30 | public: |
31 | dlg_Config(QWidget *parent = 0); |
31 | dlg_Config(QWidget *parent = 0); |
32 | 32 | ||
33 | ~dlg_Config(); |
33 | ~dlg_Config(); |
34 | 34 | ||
35 | cSettings *Settings; |
35 | cSettings *Settings; |
36 | QCheckBox *cb_Plot[MaxAnalog]; |
36 | QCheckBox *cb_Plot[MaxAnalog]; |
37 | QCheckBox *cb_Log[MaxAnalog]; |
37 | QCheckBox *cb_Log[MaxAnalog]; |
38 | 38 | ||
39 | 39 | ||
40 | void set_Settings(cSettings *Set); |
40 | void set_Settings(cSettings *Set, int ID = 0); |
41 | cSettings *get_Settings(); |
41 | cSettings *get_Settings(); |
42 | }; |
42 | }; |
43 | 43 | ||
44 | #endif |
44 | #endif |
45 | 45 |