qipdialogbox.h
35 lines
| 813 B
| text/x-c
|
CLexer
r69 | #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); | ||||
void setIP(unsigned char address1, unsigned char address2, unsigned char address3, unsigned char address4); | ||||
signals: | ||||
public slots: | ||||
void valueChanged(); | ||||
QString getIP(); | ||||
unsigned char get_addressPart1(); | ||||
unsigned char get_addressPart2(); | ||||
unsigned char get_addressPart3(); | ||||
unsigned char get_addressPart4(); | ||||
private: | ||||
QSpinBox *addressPart1; | ||||
QSpinBox *addressPart2; | ||||
QSpinBox *addressPart3; | ||||
QSpinBox *addressPart4; | ||||
//QLabel * labelGRESBIP; | ||||
QString gresbIP; | ||||
}; | ||||
#endif // WIDGETADDRESS_H | ||||