qipdialogbox.h
35 lines
| 813 B
| text/x-c
|
CLexer
/ common_PLE / qipdialogbox.h
r0 | #ifndef WIDGETADDRESS_H | |||
#define WIDGETADDRESS_H | ||||
#include <QWidget> | ||||
#include <QSpinBox> | ||||
#include <QString> | ||||
#include <QLabel> | ||||
class QIPDialogBox : public QWidget | ||||
{ | ||||
Q_OBJECT | ||||
public: | ||||
explicit QIPDialogBox(QWidget *parent = 0); | ||||
r11 | void setIP(unsigned char address1, unsigned char address2, unsigned char address3, unsigned char address4); | |||
r0 | ||||
signals: | ||||
public slots: | ||||
void valueChanged(); | ||||
r11 | QString getIP(); | |||
admin@pc-p-leroy3.LAB-LPP.LOCAL
|
r33 | unsigned char get_addressPart1(); | ||
unsigned char get_addressPart2(); | ||||
unsigned char get_addressPart3(); | ||||
unsigned char get_addressPart4(); | ||||
r0 | ||||
private: | ||||
QSpinBox *addressPart1; | ||||
QSpinBox *addressPart2; | ||||
QSpinBox *addressPart3; | ||||
QSpinBox *addressPart4; | ||||
//QLabel * labelGRESBIP; | ||||
QString gresbIP; | ||||
}; | ||||
#endif // WIDGETADDRESS_H | ||||