Subversion Repositories Projects

Rev

Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
750 KeyOz 1
/***************************************************************************
2
 *   Copyright (C) 2008 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_MOTORTEST_H
20
#define DLG_MOTORTEST_H
21
 
22
#include <QObject>
23
#include <QTimer>
24
 
25
#include "ui_dlg_MotorTest.h"
26
 
27
#include "../../Global/Kopter.h"
28
#include "../../Global/Global.h"
29
#include "../../Global/MK_Datatypes.h"
30
#include "../../Global/Class_HandlerMK/HandlerMK.h"
31
 
32
 
33
class dlg_MotorTest : public QDialog, public Ui::dlg_MotorTest_UI
34
{
35
     Q_OBJECT
36
 
37
public:
38
    dlg_MotorTest(QWidget *parent = 0);
39
 
40
    void Stop();
41
 
42
    ~dlg_MotorTest();
43
 
44
private:
45
    QTimer *Timer;
46
    unsigned char Motor[16];
47
    char c_Data[150];
48
 
49
private slots:
50
    void slot_MotorTest(int Wert);
51
    void slot_Timer();
52
 
53
signals:
54
    void sig_SendData(QString ,int);
55
};
56
 
57
#endif