Subversion Repositories Projects

Rev

Rev 674 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
674 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
 
28
#include "../Classes/cSettings.h"
29
 
30
#include "../../Global/Kopter.h"
31
#include "../../Global/Global.h"
32
#include "../../Global/MK_Datatypes.h"
33
#include "../../Global/Class_HandlerMK/HandlerMK.h"
34
 
35
class dlg_MotorMixer : public QDialog, public Ui::dlg_MotorMixer_UI
36
{
37
     Q_OBJECT
38
 
39
public:
40
    dlg_MotorMixer(QWidget *parent = 0);
750 KeyOz 41
    void set_Objects(cSettings *t_Settings, s_Directorys t_Dir);
674 KeyOz 42
    void set_MotorConfig(s_MK_Mixer t_Mixer);
43
    void read_Mixer();
44
private:
45
    cSettings *o_Settings;
46
 
47
    s_MK_Mixer MK_Mixer;
48
 
49
    s_Directorys s_Dir;
50
 
51
    char c_Data[150];
52
 
53
    void set_MotorData();
54
    void get_MotorData();
55
 
56
private slots:
57
    void slot_pb_READ();
58
    void slot_pb_WRITE();
59
    void slot_pb_LOAD();
60
    void slot_pb_SAVE();
61
    void slot_CheckValue(int Wert);
750 KeyOz 62
 
63
    signals:
64
        void sig_SendData(QString ,int);
65
 
674 KeyOz 66
};
67
 
68
#endif // DLG_MOTORMIXER_H