entermode.h
67 lines
| 1.5 KiB
| text/x-c
|
CLexer
/ rmapplugin / entermode.h
r46 | #ifndef ENTERMODE_H | |||
#define ENTERMODE_H | ||||
#include <QWidget> | ||||
#include <QPushButton> | ||||
#include <QGridLayout> | ||||
#include <QGroupBox> | ||||
r50 | #include <QVBoxLayout> | |||
r46 | ||||
#include <TC_types.h> | ||||
#include <parameterdump.h> | ||||
r50 | #include <arbitrarytime.h> | |||
r46 | ||||
class EnterMode : public QWidget | ||||
{ | ||||
Q_OBJECT | ||||
public: | ||||
explicit EnterMode(QWidget *parent = 0); | ||||
void sendEnterMode(unsigned char mode); | ||||
QPushButton *button_enterModeStandby; | ||||
QPushButton *button_enterModeNormal; | ||||
QPushButton *button_enterModeBurst; | ||||
QPushButton *button_enterModeSBM1; | ||||
QPushButton *button_enterModeSBM2; | ||||
r50 | QPushButton *button_reset; | |||
QPushButton *button_updateInfo; | ||||
QPushButton *button_enableCalibration; | ||||
QPushButton *button_disableCalibration; | ||||
QPushButton *button_updateTime; | ||||
r46 | QGridLayout *mainLayout; | |||
QGridLayout *overallLayout; | ||||
r50 | QVBoxLayout *layout_updateTime; | |||
QVBoxLayout *layout_otherTC; | ||||
r46 | QGroupBox *groupBox; | |||
r50 | QGroupBox *groupBox_updateTime; | |||
QGroupBox *groupBox_otherTC; | ||||
r46 | ||||
ParameterDump *parameterDump; | ||||
r50 | ||||
ArbitraryTime *arbitraryTime; | ||||
r46 | ||||
signals: | ||||
unsigned int WriteSPWSig(char *Value, unsigned int count, char targetLogicalAddress, char userApplication); | ||||
public slots: | ||||
void enterModeStandby(); | ||||
void enterModeNormal(); | ||||
void enterModeBurst(); | ||||
void enterModeSBM1(); | ||||
void enterModeSBM2(); | ||||
r50 | ||||
void sendUpdateTime(); | ||||
void sendReset(); | ||||
void sendUpdateInfo(); | ||||
void sendEnableCalibration(); | ||||
void sendDisableCalibration(); | ||||
r46 | ||||
}; | ||||
#endif // ENTERMODE_H | ||||