qipdialogbox.h
35 lines
| 809 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(); | |||
r28 | unsigned char getAddressPart1(); | |||
unsigned char getAddressPart2(); | ||||
unsigned char getAddressPart3(); | ||||
unsigned char getAddressPart4(); | ||||
r0 | ||||
private: | ||||
QSpinBox *addressPart1; | ||||
QSpinBox *addressPart2; | ||||
QSpinBox *addressPart3; | ||||
QSpinBox *addressPart4; | ||||
//QLabel * labelGRESBIP; | ||||
QString gresbIP; | ||||
}; | ||||
#endif // WIDGETADDRESS_H | ||||