From c034fce78687a7d65c61aa0348d09b4afea3648c Mon Sep 17 00:00:00 2001 From: Arno Date: Sun, 27 Nov 2016 04:43:53 +0100 Subject: Add free space widget to status bar Red is used, green is free, obviously... --- shemovcleaner.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'shemovcleaner.h') diff --git a/shemovcleaner.h b/shemovcleaner.h index 32fafba..9cd7f76 100644 --- a/shemovcleaner.h +++ b/shemovcleaner.h @@ -21,6 +21,7 @@ class ShemovCleaner : public QMainWindow { void statusBarMessage(const QString &msg); void setSelectionCount(const QString &msg); void setDuration(const QString &msg); + void updateFreeSpace(const QString &path); void configure(); void tabChanged(int idx); void aboutThisProgram(); @@ -37,6 +38,8 @@ class ShemovCleaner : public QMainWindow { QAction *createSeparator(); QLabel *mSelected; QLabel *mDuration; + QLabel *mDrive; + QLabel *mFree; QProgressBar *mProgressBar; QTabWidget *mTab; TorrentWidget *mTorrentTab; -- cgit v1.2.3-70-g09d2