mainwindowui.h
107 lines
| 2.5 KiB
| text/x-c
|
CLexer
/ gse_lesia / mainwindowui.h
r23 | #ifndef MAINWINDOWUI_H | |||
#define MAINWINDOWUI_H | ||||
#include <QWidget> | ||||
#include <qipdialogbox.h> | ||||
#include <QLabel> | ||||
#include <QPushButton> | ||||
#include <QGridLayout> | ||||
#include <QVBoxLayout> | ||||
#include <QGroupBox> | ||||
#include <QSpinBox> | ||||
#include <QTextEdit> | ||||
#include <QTabWidget> | ||||
r25 | ||||
admin@pc-p-leroy3.LAB-LPP.LOCAL
|
r34 | #include <wfdisplay.h> | ||
r45 | #include <pagespectra.h> | |||
r46 | #include <parameterdump.h> | |||
admin@pc-p-leroy3.LAB-LPP.LOCAL
|
r34 | |||
r23 | #include "tmstatistics.h" | |||
r24 | #include "hkdisplay.h" | |||
r25 | #include "lfrspectrogram.h" | |||
r23 | ||||
class MainWindowUI : public QWidget | ||||
{ | ||||
Q_OBJECT | ||||
public: | ||||
explicit MainWindowUI(QWidget *parent = 0); | ||||
void setTCTMServerAddressIP(QString address); | ||||
QString getTMEchoServerAddress(); | ||||
int getTMPort(); | ||||
int getTCPort(); | ||||
void displayOnConsole(QString message); | ||||
QTabWidget *spwTabWidget; | ||||
QWidget* spwTabWidgetPage0; | ||||
QWidget* spwTabWidgetPage1; | ||||
QWidget* spwTabWidgetPage2; | ||||
QWidget* spwTabWidgetPage3; | ||||
QWidget* spwTabWidgetPage4; | ||||
QWidget* spwTabWidgetPage5; | ||||
r27 | QWidget* spwTabWidgetPage6; | |||
QWidget* spwTabWidgetPage7; | ||||
r23 | ||||
TMStatistics* tmStatistics; | ||||
WFDisplay* wfDisplay; | ||||
r27 | WFPage* wfPageBurst; | |||
WFPage* wfPageSBM1; | ||||
WFPage* wfPageSBM2; | ||||
r45 | PageSpectra* pageSpectraNORM; | |||
r24 | HKDisplay* hkDisplay; | |||
r25 | LFRSpectrogram* lfrSpectrogam; | |||
QWidget* widget_spectrogram; | ||||
r23 | ||||
r45 | ParameterDump* parameterDump; | |||
r23 | QPushButton *button_openServerTCTM; | |||
QPushButton *button_testServerTCTM; | ||||
QPushButton *button_openSocketEchoServer; | ||||
QPushButton *button_TCAcknowledgement; | ||||
QPushButton *button_TCRejection; | ||||
QPushButton *button_GSEHK; | ||||
QPushButton *button_clearConsole; | ||||
r24 | QPushButton *button_resetStatistics; | |||
r23 | ||||
QIPDialogBox *serverTMEchoDialogBox; | ||||
QSpinBox *spinbox_serverTMEchoPort; | ||||
signals: | ||||
public slots: | ||||
void clearConsole(); | ||||
void totalOfBytesHasChanged(unsigned int nbBytes); | ||||
r24 | void totalOfPacketsHasChanged(unsigned int nbPackets); | |||
r23 | ||||
private: | ||||
QLabel *label_serverTMEcho; | ||||
QLabel *label_serverTMEchoPort; | ||||
QLabel *label_TMServerPort; | ||||
QLabel *label_TCServerPort; | ||||
QLabel *label_currentTCTMServer; | ||||
QLabel *label_currentTCTMServerIP; | ||||
QLabel *label_totalOfBytes; | ||||
r24 | QLabel *label_totalOfPackets; | |||
r23 | ||||
QTextEdit *console; | ||||
QSpinBox *spinbox_TMServerPort; | ||||
QSpinBox *spinbox_TCServerPort; | ||||
QGroupBox *groupbox_TMEcho; | ||||
QGroupBox *groupbox_ports; | ||||
QGroupBox *groupbox_TMToForeignGSETester; | ||||
QVBoxLayout *layout_TMEcho; | ||||
QVBoxLayout *layout_TMToForeignGSETester; | ||||
QVBoxLayout *layout_overallLayout; | ||||
QGridLayout *mainLayout; | ||||
QGridLayout *layout_ports; | ||||
}; | ||||
#endif // MAINWINDOWUI_H | ||||