Rev 674 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 674 | Rev 750 | ||
---|---|---|---|
Line 26... | Line 26... | ||
26 | #include <QtGui/QFont> |
26 | #include <QtGui/QFont> |
Line 27... | Line 27... | ||
27 | 27 | ||
28 | #include <QTcpServer> |
28 | #include <QTcpServer> |
Line 29... | Line -... | ||
29 | #include <QTcpSocket> |
- | |
30 | 29 | #include <QTcpSocket> |
|
31 | 30 | ||
32 | #include <qwt_plot_curve.h> |
31 | #include <qwt_plot_curve.h> |
33 | #include <qwt_plot_grid.h> |
32 | #include <qwt_plot_grid.h> |
Line 39... | Line 38... | ||
39 | #include "../Defines.h" |
38 | #include "../Defines.h" |
40 | #include "../TypeDefs.h" |
39 | #include "../TypeDefs.h" |
Line 41... | Line 40... | ||
41 | 40 | ||
Line 42... | Line -... | ||
42 | #include "../Classes/cSettings.h" |
- | |
43 | - | ||
44 | #include "../../Global/Kopter.h" |
- | |
45 | #include "../../Global/Class_Input/Input.h" |
- | |
46 | #include "../../Global/Class_Input/Input_TCP.h" |
- | |
47 | #include "../../Global/Class_Input/Input_TTY.h" |
- | |
48 | #include "../../Global/Class_HandlerIP/HandlerIP.h" |
- | |
49 | #include "../../Global/Class_HandlerMK/HandlerMK.h" |
41 | #include "../Classes/cSettings.h" |
50 | 42 | ||
51 | class dlg_Main : public QMainWindow, public Ui::dlg_Main_UI |
43 | class dlg_Main : public QMainWindow, public Ui::dlg_Main_UI |
Line 52... | Line 44... | ||
52 | { |
44 | { |
53 | Q_OBJECT |
45 | Q_OBJECT |
54 | 46 | ||
Line 55... | Line 47... | ||
55 | public: |
47 | public: |
56 | dlg_Main(); |
- | |
57 | ~dlg_Main(); |
- | |
58 | - | ||
59 | private: |
48 | dlg_Main(); |
60 | // Input Device. |
49 | ~dlg_Main(); |
Line 61... | Line 50... | ||
61 | Input *o_Input; |
50 | |
62 | 51 | private: |
|
63 | // Settings-Object |
52 | // Settings-Object |
64 | cSettings *o_Settings; |
53 | cSettings *o_Settings; |
Line 65... | Line 54... | ||
65 | 54 | ||
66 | QLabel *lb_Debug[MAX_DebugData]; |
55 | QLabel *lb_Debug[MAX_DebugData]; |
Line 67... | Line 56... | ||
67 | QLineEdit *le_Debug[MAX_DebugData]; |
56 | QLineEdit *le_Debug[MAX_DebugData]; |
68 | QCheckBox *cb_Debug[MAX_DebugData]; |
57 | QCheckBox *cb_Debug[MAX_DebugData]; |
Line 69... | Line 58... | ||
69 | QFont Font_1; |
58 | QFont Font_1; |
Line 70... | Line 59... | ||
70 | 59 | ||
Line 71... | Line 60... | ||
71 | // Info über die Hardware |
60 | // Info über die Hardware |
72 | s_Hardware VersionInfo; |
61 | s_Hardware gs_Version; |
Line 92... | Line 81... | ||
92 | void init_Plotter(); |
81 | void init_Plotter(); |
Line 93... | Line 82... | ||
93 | 82 | ||
94 | void update_Plotter(); |
83 | void update_Plotter(); |
Line 95... | Line -... | ||
95 | void config_Plotter(); |
- | |
96 | - | ||
97 | // Einkommende Datenpackete zerlegen. |
- | |
98 | void parse_MK_Data(QString t_Data); |
- | |
99 | void parse_IP_Data(QString t_Data); |
84 | void config_Plotter(); |
100 | 85 | ||
Line 101... | Line 86... | ||
101 | private slots: |
86 | private slots: |
- | 87 | void slot_ac_About(); |
|
- | 88 | ||
- | 89 | void slot_ConnectionStatus(int li_Status); |
|
Line 102... | Line 90... | ||
102 | void slot_ac_About(); |
90 | void slot_MK_Version(s_Hardware ls_Version); |
103 | 91 | void slot_MK_Debug(s_MK_Debug ls_Debug); |
|
104 | void slot_ac_Connect(); |
92 | void slot_MK_DebugLabels(s_MK_DebugLabels MK_DebugLabels); |
Line 105... | Line 93... | ||
105 | 93 | ||
Line 106... | Line 94... | ||
106 | void slot_ac_Plotter(); |
94 | void slot_ac_Plotter(); |
Line 107... | Line -... | ||
107 | void slot_ac_Debug(); |
- | |
108 | void slot_ac_Chose(); |
- | |
109 | 95 | void slot_ac_Debug(); |
|
110 | void slot_ac_ReadLabels(); |
96 | void slot_ac_Chose(); |
111 | - | ||
112 | void slot_btn_ChoseOK(); |
- | |
113 | - | ||
114 | void slot_rb_Hardware(); |
- | |
115 | - | ||
116 | void slot_Plotter_Start(); |
- | |
117 | void slot_Plotter_Scroll(int Position); |
- | |
118 | - | ||
119 | void slot_sb_Intervall(int t_Intervall); |
97 | |
Line 120... | Line 98... | ||
120 | 98 | void slot_ac_ReadLabels(); |