mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
Dive d/l selection UI: Create a button to download the data from DC
Now, ok should close the dialog, and not download the dives from the DC, this way the user can choose what happens. Signed-off-by: Tomaz Canabrava <tomaz.canabrava@intel.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
acb5168254
commit
09d6d4f5de
2 changed files with 3 additions and 2 deletions
|
@ -54,6 +54,7 @@ DownloadFromDCWidget::DownloadFromDCWidget(QWidget *parent, Qt::WindowFlags f) :
|
|||
ui.progressBar->setMinimum(0);
|
||||
ui.progressBar->setMaximum(100);
|
||||
diveImportedModel = new DiveImportedModel(this);
|
||||
ui.downloadedView->setModel(diveImportedModel);
|
||||
|
||||
progress_bar_text = "";
|
||||
|
||||
|
@ -270,7 +271,7 @@ void DownloadFromDCWidget::on_cancel_clicked()
|
|||
updateState(CANCELLING);
|
||||
}
|
||||
|
||||
void DownloadFromDCWidget::on_ok_clicked()
|
||||
void DownloadFromDCWidget::on_startDownload_clicked()
|
||||
{
|
||||
updateState(DOWNLOADING);
|
||||
|
||||
|
|
|
@ -59,7 +59,7 @@ public:
|
|||
|
||||
public
|
||||
slots:
|
||||
void on_ok_clicked();
|
||||
void on_startDownload_clicked();
|
||||
void on_cancel_clicked();
|
||||
void on_search_clicked();
|
||||
void on_vendor_currentIndexChanged(const QString &vendor);
|
||||
|
|
Loading…
Add table
Reference in a new issue