diff options
author | Arno <arno@disconnect.de> | 2015-06-06 12:10:02 +0200 |
---|---|---|
committer | Arno <arno@disconnect.de> | 2015-06-06 12:10:02 +0200 |
commit | e6fca86d22dcae7a3aec664c89efda80a1ee8aad (patch) | |
tree | df7244ebca041b8dbbc897868717b758d5077f6a /newpicsdialog.cpp | |
parent | 9d5f54e04b70b2b7a882c9c8c66b28494ab8e598 (diff) | |
download | SheMov-e6fca86d22dcae7a3aec664c89efda80a1ee8aad.tar.gz SheMov-e6fca86d22dcae7a3aec664c89efda80a1ee8aad.tar.bz2 SheMov-e6fca86d22dcae7a3aec664c89efda80a1ee8aad.zip |
Fixes for NewPicsDialog
* Position progress bar in the center of the dialog instead of
PictureViewer
* Set title for progress bar
* set appropriate windowTitle for NewPicsDialog
Diffstat (limited to 'newpicsdialog.cpp')
-rw-r--r-- | newpicsdialog.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/newpicsdialog.cpp b/newpicsdialog.cpp index 2325f42..d1b6d92 100644 --- a/newpicsdialog.cpp +++ b/newpicsdialog.cpp @@ -61,6 +61,7 @@ void NewPicsDialog::setupDlg(){ filesLayout->addLayout(fileButtonLayout); mFilesWidget->setLayout(filesLayout); mPosL = new QLabel("(0000x0000"); + setWindowTitle(tr("SheMov - Archive pictures")); //mapping widget mMappingEditWidget = new MappingEditWidget; @@ -128,8 +129,9 @@ void NewPicsDialog::addFiles(const QStringList &files){ show(); mFilesV->setSortingEnabled(false); QProgressDialog progress(tr("Preparing..."), QString(), 0, files.size(), this); + progress.setMinimumWidth(400); + progress.setWindowTitle(tr("Gathering data...")); progress.show(); - Helper::centerWidget(&progress); int pgctr = 0; foreach(QString f, files){ mFilesModel->addFile(f); |