From 00084a82f08ea72bafc6c002422c8f49bdeb1742 Mon Sep 17 00:00:00 2001 From: Arno Date: Wed, 28 Aug 2013 10:31:29 +0200 Subject: Add a progress dialog to FilesystemWidget Show a progress dialog when gathering data from the filesystem. --- filesystemwidget.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'filesystemwidget.h') diff --git a/filesystemwidget.h b/filesystemwidget.h index c8f7931..b9f082d 100644 --- a/filesystemwidget.h +++ b/filesystemwidget.h @@ -18,6 +18,7 @@ class FilesystemDirProxy; class FileView; class FilesystemFileProxy; class QLineEdit; +class QProgressDialog; class PictureViewer2; class FileSystemModel; class SheMovIconProvider; @@ -59,6 +60,8 @@ class FilesystemWidget : public QWidget { void moveToArchive(); void selectAllPV(); void setWindowTitle(); + void setupProgressDlg(int max); + void progress(); private slots: void dirExpanded(const QModelIndex &idx); @@ -83,6 +86,7 @@ class FilesystemWidget : public QWidget { FilesystemDirProxy *mDirProxy; FilesystemFileProxy *mFileProxy; QLineEdit *mDirEdit; + QProgressDialog *mProgressDlg; QString mWindowTitle; QString mTemplate; qint64 mSize; -- cgit v1.2.3-70-g09d2