28,7 → 28,6 |
#include <QTcpServer> |
#include <QTcpSocket> |
|
|
#include <qwt_plot_curve.h> |
#include <qwt_plot_grid.h> |
#include <qwt_legend.h> |
41,13 → 40,6 |
|
#include "../Classes/cSettings.h" |
|
#include "../../Global/Kopter.h" |
#include "../../Global/Class_Input/Input.h" |
#include "../../Global/Class_Input/Input_TCP.h" |
#include "../../Global/Class_Input/Input_TTY.h" |
#include "../../Global/Class_HandlerIP/HandlerIP.h" |
#include "../../Global/Class_HandlerMK/HandlerMK.h" |
|
class dlg_Main : public QMainWindow, public Ui::dlg_Main_UI |
{ |
Q_OBJECT |
57,9 → 49,6 |
~dlg_Main(); |
|
private: |
// Input Device. |
Input *o_Input; |
|
// Settings-Object |
cSettings *o_Settings; |
|
69,12 → 58,12 |
QFont Font_1; |
|
// Info über die Hardware |
s_Hardware VersionInfo; |
s_Hardware gs_Version; |
|
// Datenspeicher zum Senden. |
char c_Data[150]; |
|
bool get_Analoglabels; |
s_MK_Debug gs_Debug; |
|
int Debug_Data[MAX_DebugData]; |
|
94,14 → 83,13 |
void update_Plotter(); |
void config_Plotter(); |
|
// Einkommende Datenpackete zerlegen. |
void parse_MK_Data(QString t_Data); |
void parse_IP_Data(QString t_Data); |
|
private slots: |
void slot_ac_About(); |
|
void slot_ac_Connect(); |
void slot_ConnectionStatus(int li_Status); |
void slot_MK_Version(s_Hardware ls_Version); |
void slot_MK_Debug(s_MK_Debug ls_Debug); |
void slot_MK_DebugLabels(s_MK_DebugLabels MK_DebugLabels); |
|
void slot_ac_Plotter(); |
void slot_ac_Debug(); |
111,18 → 99,8 |
|
void slot_btn_ChoseOK(); |
|
void slot_rb_Hardware(); |
|
void slot_Plotter_Start(); |
void slot_Plotter_Scroll(int Position); |
|
void slot_sb_Intervall(int t_Intervall); |
|
// Einkommende Datenpackete. |
void slot_Input_Data(QString t_Data); |
|
void slot_Input_Disconnected(int Error); |
void slot_Input_Connected(); |
}; |
|
#endif // DLG_MAIN_H |