修改 web控件

This commit is contained in:
Maicss
2020-08-26 09:26:59 +08:00
parent 18c3965742
commit 4e4f55995e
9 changed files with 209 additions and 352 deletions

View File

@@ -19,6 +19,7 @@
#include <QLabel>
#include <DTitlebar>
#include <DSearchEdit>
#include <progressload.h>
#define LIST_MAX 99 //一次最多下载数量
#define TMP_PATH "/tmp/spark-store"
@@ -53,15 +54,12 @@ private slots:
void updateDataReadProgress(qint64,qint64);
void on_pushButton_download_clicked();
void on_pushButton_return_clicked();
void on_webView_loadStarted();
void on_comboBox_server_currentIndexChanged(const QString &arg1);
void on_pushButton_updateServer_clicked();
void on_pushButton_updateApt_clicked();
void on_pushButton_uninstall_clicked();
void on_pushButton_clear_clicked();
void on_pushButton_website_clicked();
void on_webView_loadFinished(bool arg1);
void on_webView_loadProgress(int progress);
void on_pushButton_clicked();
@@ -69,6 +67,14 @@ private slots:
void on_stackedWidget_currentChanged(int arg1);
void on_webEngineView_urlChanged(const QUrl &arg1);
void on_webEngineView_loadStarted();
void on_webEngineView_loadProgress(int progress);
void on_webEngineView_loadFinished(bool arg1);
public:
QUrl url;
@@ -101,7 +107,7 @@ private:
private:
QPushButton * left_list[15];
QUrl menuUrl[13];
DWaterProgress *m_loadweb=new DWaterProgress;
ProgressLoad *m_loadweb;
QLabel *m_loaderror=new QLabel;
QString serverUrl;
bool configCanSave=false;