networkinformation.h

来自「Linux窗口程序设计,Qt4精彩实例分析,以循序渐进的方式介绍Qt4开发及其实」· C头文件 代码 · 共 27 行

H
27
字号
#ifndef NETWORKINFORMATION_H#define NETWORKINFORMATION_H#include <QtGui>#include <QtNetwork>class NetworkInformation : public QDialog		// network information dialogs widget{    Q_OBJECTpublic:    NetworkInformation( QWidget *parent=0, Qt::WindowFlags  f=0 );    ~NetworkInformation();public:	QLabel* LabelLocalHostName;	QLineEdit* LineEditLocalHostName;	QLabel* LabelAddress;	QLineEdit* LineEditAddress;    QPushButton* PushButtonDetail;public:	void getHostInformation();public slots:    void slotDetail();};#endif // NETWORKINFORMATION_H

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?