From 3386ba378052c028cf34fd22f72101847365380a Mon Sep 17 00:00:00 2001 From: william Date: Sat, 21 Mar 2015 00:02:20 +0100 Subject: Add possibility to calculate the file size of the selected items. Refactoring of the procedure --- lumina-fm/MainUI.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'lumina-fm/MainUI.h') diff --git a/lumina-fm/MainUI.h b/lumina-fm/MainUI.h index 97cadf86..43607be0 100644 --- a/lumina-fm/MainUI.h +++ b/lumina-fm/MainUI.h @@ -114,6 +114,7 @@ private: //Common functions for browser info/usage QString getCurrentDir(); + QString ItemsInstatusBar(QFileInfoList fileList, QString message); void setCurrentDir(QString); QFileInfoList getSelectedItems(); //QModelIndexList getVisibleItems(); @@ -228,4 +229,4 @@ protected: }; -#endif \ No newline at end of file +#endif -- cgit From 553105d997c3a29e9983ef1f1995d9593273de55 Mon Sep 17 00:00:00 2001 From: william Date: Wed, 25 Mar 2015 22:57:32 +0100 Subject: display some filesystem's information on the statusbar in a thread safe manier --- lumina-fm/MainUI.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'lumina-fm/MainUI.h') diff --git a/lumina-fm/MainUI.h b/lumina-fm/MainUI.h index 43607be0..4744fe2a 100644 --- a/lumina-fm/MainUI.h +++ b/lumina-fm/MainUI.h @@ -220,9 +220,13 @@ private slots: void CopyItems(); void PasteItems(); void ChecksumItems(); + + //file info in status bar + void DisplayStatusBar(QString); signals: void DirChanged(QString path); + void Si_AdaptStatusBar(QFileInfoList fileList, QString path, QString message); protected: void resizeEvent(QResizeEvent*); -- cgit