You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
44 lines
751 B
C++
44 lines
751 B
C++
#pragma once
|
|
|
|
#include "iDlgBase.h"
|
|
#include "mGuiSysManager_global.h"
|
|
|
|
class QNetworkReply;
|
|
class QHostInfo;
|
|
|
|
|
|
namespace Ui {
|
|
class iWxUrlLoader;
|
|
}
|
|
|
|
class QWebView;
|
|
class M_GUI_SYSMANAGER_EXPORT iWxUrlLoader : public iDlgBase
|
|
{
|
|
Q_OBJECT
|
|
|
|
public:
|
|
explicit iWxUrlLoader(QString sUrl, QWidget *parent = 0);
|
|
~iWxUrlLoader();
|
|
|
|
virtual void initUI();
|
|
|
|
void configWebProxy();
|
|
// void testDirectConnection();
|
|
|
|
private slots:
|
|
|
|
// void onLoadStarted();
|
|
// void onLoadProgress(int progress);
|
|
// void onLoadFinished(bool ok);
|
|
// void onReply(QNetworkReply *r);
|
|
//void onDns(const QHostInfo &hi);
|
|
|
|
void on_btnOK_clicked();
|
|
|
|
private:
|
|
|
|
Ui::iWxUrlLoader *ui;
|
|
QWebView* m_pWebView;
|
|
QString m_sUrl;
|
|
};
|