Rev 305 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 305 | Rev 306 | ||
---|---|---|---|
Line 42... | Line 42... | ||
42 | #include "dlg_LCD.h" |
42 | #include "dlg_LCD.h" |
43 | #include "dlg_Map.h" |
43 | #include "dlg_Map.h" |
Line 44... | Line 44... | ||
44 | 44 | ||
45 | #include "../Classes/cConnection.h" |
45 | #include "../Classes/cConnection.h" |
46 | #include "../Classes/cSettings.h" |
46 | #include "../Classes/cSettings.h" |
47 | #include "../Classes/cServer.h" |
47 | #include "../Classes/cKML_Server.h" |
48 | #include "../Classes/cQMK_Server.h" |
48 | #include "../Classes/cQMK_Server.h" |
49 | #include "../Classes/cAttitude.h" |
49 | #include "../Classes/cAttitude.h" |
50 | #include "../Classes/cSpeedMeter.h" |
50 | #include "../Classes/cSpeedMeter.h" |
51 | #include "../Logger/Logger.h" |
51 | #include "../Logger/Logger.h" |
Line 52... | Line -... | ||
52 | #include "../typedefs.h" |
- | |
53 | - | ||
54 | #include "../qmapcontrol.h" |
- | |
55 | - | ||
56 | using namespace qmapcontrol; |
52 | #include "../typedefs.h" |
Line 57... | Line 53... | ||
57 | 53 | ||
58 | class QextSerialPort; |
54 | class QextSerialPort; |
59 | 55 | ||
Line 64... | Line 60... | ||
64 | public: |
60 | public: |
65 | MKTool(); |
61 | MKTool(); |
66 | ~MKTool(); |
62 | ~MKTool(); |
Line 67... | Line 63... | ||
67 | 63 | ||
68 | private: |
- | |
69 | - | ||
70 | MapControl* mc; |
- | |
71 | MapAdapter* mapadapter; |
- | |
72 | Layer* mainlayer; |
- | |
73 | 64 | private: |
|
74 | // Object für Kopter-Verbindung |
65 | // Object für Kopter-Verbindung |
Line 75... | Line 66... | ||
75 | cConnection *Conn; |
66 | cConnection *o_Connection; |
76 | 67 | ||
Line 77... | Line 68... | ||
77 | // Settings-Object (Programmeinstellungen) |
68 | // Settings-Object (Programmeinstellungen) |
78 | cSettings *Settings; |
69 | cSettings *Settings; |
Line 79... | Line 70... | ||
79 | 70 | ||
80 | // Settings-Widget (FC-Settings) |
71 | // Settings-Widget (FC-Settings) |
Line 81... | Line 72... | ||
81 | wdg_Settings *f_Settings; |
72 | wdg_Settings *f_Settings; |
82 | 73 | ||
Line 83... | Line 74... | ||
83 | // HTTP-Server-Object für Google Earth |
74 | // HTTP-Server-Object für KML-Files |
84 | cServer *GE_Server; |
75 | cKML_Server *KML_Server; |
Line 85... | Line 76... | ||
85 | 76 | ||
86 | // QMK-Serverobjekt |
77 | // QMK-Serverobjekt |
Line 87... | Line 78... | ||
87 | cQMK_Server *QMK_Server; |
78 | cQMK_Server *QMK_Server; |
88 | 79 | ||
Line 149... | Line 140... | ||
149 | void init_GUI(); |
140 | void init_GUI(); |
150 | void init_Objects(); |
141 | void init_Objects(); |
151 | void init_Connections(); |
142 | void init_Connections(); |
152 | void init_Arrays(); |
143 | void init_Arrays(); |
153 | void init_Plot(); |
144 | void init_Plot(); |
- | 145 | void init_Cockpit(); |
|
Line 154... | Line 146... | ||
154 | 146 | ||
155 | // Daten-Plotter |
147 | // Daten-Plotter |
156 | void update_Plot(); |
148 | void update_Plot(); |
Line 169... | Line 161... | ||
169 | private slots: |
161 | private slots: |
170 | void slot_QMKS_Connect(); |
162 | void slot_QMKS_Connect(); |
171 | void slot_QMKS_Connected(); |
163 | void slot_QMKS_Connected(); |
172 | void slot_QMKS_Disconnected(int Error); |
164 | void slot_QMKS_Disconnected(int Error); |
Line -... | Line 165... | ||
- | 165 | ||
- | 166 | void slot_set_Settings(cSettings *t_Settings); |
|
- | 167 | ||
- | 168 | void slot_MAP_SetTarget(sWayPoint Target); |
|
173 | 169 | ||
Line 174... | Line 170... | ||
174 | void slot_showTerminal(int Typ, QString Text); |
170 | void slot_showTerminal(int Typ, QString Text); |
175 | 171 |