mirror of
https://gitee.com/spark-store-project/spark-store
synced 2025-12-15 05:12:04 +08:00
添加应用详情页下载量显示
This commit is contained in:
@@ -9,6 +9,12 @@ AppIntoPage::AppIntoPage(QWidget *parent) :
|
||||
ui->listWidget->setMovement(QListView::Static);
|
||||
ui->listWidget->setMaximumHeight(200);
|
||||
ui->listWidget->setFlow(QListView::TopToBottom);
|
||||
api1=new SparkAPI(this);
|
||||
connect(api1,&SparkAPI::finishedRAW,[=](QString download_times){
|
||||
download_times.remove(QRegExp("\\n"));
|
||||
ui->download_times->setText(download_times);
|
||||
qDebug()<<"Download Times:"+download_times;
|
||||
});
|
||||
clear();
|
||||
}
|
||||
|
||||
@@ -179,6 +185,7 @@ void AppIntoPage::openUrl(QUrl url)
|
||||
api->deleteLater();
|
||||
});
|
||||
api->getAppInfo(url);
|
||||
api1->getAppDownloadTimes(url);
|
||||
}
|
||||
|
||||
void AppIntoPage::isDownloading()
|
||||
|
||||
Reference in New Issue
Block a user