Rev 396 | Rev 442 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
307 | KeyOz | 1 | /*************************************************************************** |
2 | * Copyright (C) 2009 by Manuel Schrape * |
||
3 | * manuel.schrape@gmx.de * |
||
4 | * * |
||
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 * |
||
7 | * the Free Software Foundation; either version 2 of the License. * |
||
8 | * * |
||
9 | * This program is distributed in the hope that it will be useful, * |
||
10 | * but WITHOUT ANY WARRANTY; without even the implied warranty of * |
||
11 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * |
||
12 | * GNU General Public License for more details. * |
||
13 | * * |
||
14 | * You should have received a copy of the GNU General Public License * |
||
15 | * along with this program; if not, write to the * |
||
16 | * Free Software Foundation, Inc., * |
||
17 | * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. * |
||
18 | ***************************************************************************/ |
||
19 | #ifndef DLG_MOTORMIXER_H |
||
20 | #define DLG_MOTORMIXER_H |
||
21 | |||
22 | #include <QObject> |
||
23 | #include <QFileDialog> |
||
24 | #include <QSettings> |
||
25 | |||
26 | #include "ui_dlg_MotorMixer.h" |
||
27 | #include "../Classes/cSettings.h" |
||
28 | #include "../Classes/cConnection.h" |
||
29 | #include "../typedefs.h" |
||
391 | Brean | 30 | //#include "../Classes/ToolBox.h" |
307 | KeyOz | 31 | #include "../global.h" |
440 | Brean | 32 | #include "../libMK/Handler.h" |
307 | KeyOz | 33 | |
34 | class dlg_MotorMixer : public QDialog, public Ui::dlg_MotorMixer_UI |
||
35 | { |
||
36 | Q_OBJECT |
||
37 | |||
38 | public: |
||
39 | dlg_MotorMixer(QWidget *parent = 0); |
||
396 | Brean | 40 | void set_Objects(Handler *handler, cSettings *t_Settings); |
307 | KeyOz | 41 | void set_MotorConfig(sRxData RX); |
42 | void read_Mixer(); |
||
43 | |||
44 | private: |
||
396 | Brean | 45 | //Handler for MK-Communication |
46 | Handler *handler; |
||
307 | KeyOz | 47 | |
48 | cSettings *o_Settings; |
||
49 | |||
50 | void set_MotorData(); |
||
51 | void get_MotorData(); |
||
52 | |||
53 | private slots: |
||
54 | void slot_pb_READ(); |
||
55 | void slot_pb_WRITE(); |
||
56 | void slot_pb_LOAD(); |
||
57 | void slot_pb_SAVE(); |
||
58 | void slot_CheckValue(int Wert); |
||
59 | }; |
||
60 | |||
61 | #endif // DLG_MOTORMIXER_H |