?? httpclient.h
字號:
#ifndef HTTPCLIENT_H#define HTTPCLIENT_H#include <QtGui>#include <QtNetwork>class HttpClient : public QDialog{ Q_OBJECTpublic: HttpClient( QWidget *parent=0, Qt::WindowFlags f=0 ); ~HttpClient();public: QLabel* urlLabel; QLineEdit* urlLineEdit; QLabel* LabelUser; QProgressBar* progressBar; QPushButton* downloadPushButton; QPushButton* cancelPushButton; QPushButton* exitPushButton; QHttp* httpClient; QFile* file; int requestId; bool httpRequestAborted;public slots: void slotDownload(); void slotCancel(); void slotExit(); void httpRequestFinished(int, bool); void httpDataReadProgress(int, int); void httpResponseHeaderReceived(const QHttpResponseHeader &);};#endif
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -