Rev 674 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 674 | Rev 750 | ||
---|---|---|---|
Line 18... | Line 18... | ||
18 | ***************************************************************************/ |
18 | ***************************************************************************/ |
19 | #ifndef DLG_MAIN_H |
19 | #ifndef DLG_MAIN_H |
20 | #define DLG_MAIN_H |
20 | #define DLG_MAIN_H |
Line 21... | Line 21... | ||
21 | 21 | ||
22 | #include <QtGui/QMainWindow> |
- | |
23 | //#include <QTcpServer> |
- | |
24 | //#include <QTcpSocket> |
22 | #include <QtGui/QMainWindow> |
Line 25... | Line 23... | ||
25 | #include <QFile> |
23 | #include <QFile> |
Line 26... | Line 24... | ||
26 | 24 | ||
27 | #include "ui_dlg_Main.h" |
25 | #include "ui_dlg_Main.h" |
Line 28... | Line 26... | ||
28 | 26 | ||
Line 29... | Line -... | ||
29 | #include "../Defines.h" |
- | |
30 | #include "../TypeDefs.h" |
- | |
31 | - | ||
32 | #include "../Classes/cSettings.h" |
27 | #include "../Defines.h" |
Line 33... | Line -... | ||
33 | - | ||
34 | #include "../../Global/Kopter.h" |
- | |
35 | #include "../../Global/MK_Datatypes.h" |
- | |
36 | - | ||
37 | #include "../../Global/Class_QMapControl.h" |
- | |
38 | 28 | #include "../TypeDefs.h" |
|
Line 39... | Line 29... | ||
39 | #include "../../Global/Class_Input/Input.h" |
29 | |
Line 40... | Line 30... | ||
40 | #include "../../Global/Class_Input/Input_TCP.h" |
30 | #include "../Classes/cSettings.h" |
Line 53... | Line 43... | ||
53 | dlg_Main(); |
43 | dlg_Main(); |
54 | ~dlg_Main(); |
44 | ~dlg_Main(); |
55 | void create_Map(); |
45 | void create_Map(); |
Line 56... | Line 46... | ||
56 | 46 | ||
57 | private: |
- | |
58 | // Input Device. |
- | |
Line 59... | Line 47... | ||
59 | Input *o_Input; |
47 | private: |
60 | 48 | ||
Line 61... | Line 49... | ||
61 | // Info über die Hardware |
49 | // Info über die Hardware |
62 | s_Hardware VersionInfo; |
50 | s_Hardware gs_Version; |
Line 63... | Line 51... | ||
63 | 51 | ||
Line 71... | Line 59... | ||
71 | void init_Connections(); |
59 | void init_Connections(); |
Line 72... | Line 60... | ||
72 | 60 | ||
73 | void init_Directorys(); |
61 | void init_Directorys(); |
Line 74... | Line -... | ||
74 | s_Directorys s_Dir; |
- | |
75 | - | ||
76 | // Einkommende Datenpackete zerlegen. |
- | |
77 | void parse_MK_Data(QString t_Data); |
- | |
78 | void parse_IP_Data(QString t_Data); |
62 | s_Directorys s_Dir; |
79 | 63 | ||
Line 80... | Line 64... | ||
80 | // QMK-Maps |
64 | // QMK-Maps |
Line 116... | Line 100... | ||
116 | void show_WayPoints(QList<sWayPoint> WayPoints); |
100 | void show_WayPoints(QList<sWayPoint> WayPoints); |
Line 117... | Line 101... | ||
117 | 101 | ||
Line 118... | Line 102... | ||
118 | void save_WayPointsMKW(QString s_File); |
102 | void save_WayPointsMKW(QString s_File); |
119 | 103 | ||
120 | void add_Position(s_MK_NaviData t_NaviData); |
104 | void add_Position(s_MK_NaviData t_NaviData); |
121 | void show_Data(s_MK_NaviData t_NaviData); |
105 | // void show_Data(s_MK_NaviData t_NaviData); |
Line 122... | Line 106... | ||
122 | void send_Target(Point *t_Target); |
106 | void send_Target(Point *t_Target); |
123 | void send_WayPoints(QList<sWayPoint> l_WayPoints, int t_Pos = 0); |
107 | void send_WayPoints(QList<sWayPoint> l_WayPoints, int t_Pos = 0); |
124 | 108 | ||
Line 125... | Line 109... | ||
125 | private slots: |
109 | private slots: |
126 | void slot_ac_About(); |
110 | void slot_ac_About(); |
127 | void slot_ac_Toolbar(); |
- | |
128 | - | ||
129 | void slot_ac_Connect(); |
111 | void slot_ac_Toolbar(); |
130 | void slot_sb_Intervall(int t_Intervall); |
112 | |
131 | - | ||
Line 132... | Line 113... | ||
132 | // Einkommende Datenpackete. |
113 | void slot_ConnectionStatus(int li_Status); |
133 | void slot_Input_Data(QString t_Data); |
114 | void slot_MK_Version(s_Hardware ls_Version); |
134 | void slot_Input_Disconnected(int Error); |
115 | void slot_MK_NaviData(s_MK_NaviData ps_MK_NaviData); |
135 | void slot_Input_Connected(); |
116 | void slot_MK_WayPoint(int pi_WayPointID); |
Line 147... | Line 128... | ||
147 | void slot_ac_RouteDelete(); |
128 | void slot_ac_RouteDelete(); |
Line 148... | Line 129... | ||
148 | 129 | ||
149 | void slot_ac_LoadMapPic(); |
130 | void slot_ac_LoadMapPic(); |
Line 150... | Line -... | ||
150 | void slot_ac_Record(); |
- | |
151 | - | ||
152 | // void slot_GotoTarget(); |
- | |
153 | // void slot_Close(); |
131 | void slot_ac_Record(); |
154 | 132 | ||
Line 155... | Line 133... | ||
155 | void slot_ac_LoadWayPoints(); |
133 | void slot_ac_LoadWayPoints(); |
156 | void slot_ac_SaveRoute(); |
134 | void slot_ac_SaveRoute(); |