28,6 → 28,7 |
#include <QTcpServer> |
#include <QTcpSocket> |
|
|
#include <qwt_plot_curve.h> |
#include <qwt_plot_grid.h> |
#include <qwt_legend.h> |
40,6 → 41,13 |
|
#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 |
49,6 → 57,9 |
~dlg_Main(); |
|
private: |
// Input Device. |
Input *o_Input; |
|
// Settings-Object |
cSettings *o_Settings; |
|
58,12 → 69,12 |
QFont Font_1; |
|
// Info über die Hardware |
s_Hardware gs_Version; |
s_Hardware VersionInfo; |
|
// Datenspeicher zum Senden. |
char c_Data[150]; |
|
s_MK_Debug gs_Debug; |
bool get_Analoglabels; |
|
int Debug_Data[MAX_DebugData]; |
|
83,13 → 94,14 |
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_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_Connect(); |
|
void slot_ac_Plotter(); |
void slot_ac_Debug(); |
99,8 → 111,18 |
|
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 |