?? setmacdhcp.h
字號(hào):
/****************************************************************************** Form interface generated from reading ui file 'setmacdhcp.ui'**** Created: Mon May 29 14:33:38 2006** by: The User Interface Compiler (uic)**** WARNING! All changes made in this file will be lost!****************************************************************************/#ifndef SETMAC_H#define SETMAC_H#include <qvariant.h>#include <qwidget.h>#include <qmessagebox.h>#include "macdhcp.h"//#include <qtimerevent.h>class QVBoxLayout; class QHBoxLayout; class QGridLayout; class QComboBox;class QLabel;class QLineEdit;class QPushButton;//class QTimerEvent;class setMac : public QWidget{ Q_OBJECTpublic: setMac( QWidget* parent = 0, const char* name = 0, WFlags fl = 0 ); ~setMac(); QComboBox* interfaceNumCombo; QLabel* IPAddressLabel; QLabel* interfaceNumLabel; QLabel* MACAddressLabel; QLabel* DNSLabel; QLineEdit* netMaskLineEdit; QLabel* netMask; QLabel* gatewayLabel; QLineEdit* IPAddressLineEdit; QLineEdit* MACAddressLineEdit; QLineEdit* gatewayLineEdit; QLineEdit* DNSLineEdit; QPushButton* dhcpPushButton; QPushButton* setupPushButton; int ifnum; QString tempString; macdhcp* MACDhcp; int timeCounter; int tid; void resetEthernet(); bool modifyEnable; bool dirty;private: FILE *fp; char tmpStr[128]; QString srhStr; QMessageBox *pMB; public slots: virtual void comboTextChange(int); virtual void dhcpClicked(); virtual void setupClicked(); virtual void timerEvent( QTimerEvent *e );protected: QVBoxLayout* Layout1; QVBoxLayout* Layout3;};#endif // SETMAC_H
?? 快捷鍵說明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號(hào)
Ctrl + =
減小字號(hào)
Ctrl + -