From a8cf372fe539a3a1d9b32424f8e92eb72a0a921d Mon Sep 17 00:00:00 2001 From: q5sys Date: Thu, 29 Mar 2018 13:11:20 -0400 Subject: add sort by menu --- src-qt5/desktop-utils/lumina-fm/MainUI.h | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) (limited to 'src-qt5/desktop-utils/lumina-fm/MainUI.h') diff --git a/src-qt5/desktop-utils/lumina-fm/MainUI.h b/src-qt5/desktop-utils/lumina-fm/MainUI.h index 9eed250d..3aa0db78 100644 --- a/src-qt5/desktop-utils/lumina-fm/MainUI.h +++ b/src-qt5/desktop-utils/lumina-fm/MainUI.h @@ -81,9 +81,9 @@ private: //Internal non-ui widgets QTabBar *tabBar; //QFileSystemModel *fsmod; - QMenu *contextMenu; - QRadioButton *radio_view_details, *radio_view_list;//, *radio_view_tabs, *radio_view_cols; - QWidgetAction *detWA, *listWA;//, *tabsWA, *colsWA; + QMenu *contextMenu, * menuSort_Mode; + QRadioButton *radio_view_details, *radio_view_list, *radio_sort_name, *radio_sort_size, *radio_sort_type, *radio_sort_datemod, *radio_sort_datecre;//, *radio_view_tabs, *radio_view_cols; + QWidgetAction *detWA, *listWA, *sortnameA, *sortsizeA, *sorttypeA, *sortdateMA, *sortdateCA; //, *tabsWA, *colsWA; //UI Widgets QList DWLIST; @@ -137,6 +137,12 @@ private slots: void goToBookmark(QAction*); void goToDevice(QAction*); void viewModeChanged(bool); + void sortModeName(bool); + void sortModeSize(bool); + void sortModeType(bool); + void sortModeDateM(bool); + void sortModeDateC(bool); + //void groupModeChanged(bool); void on_actionLarger_Icons_triggered(); void on_actionSmaller_Icons_triggered(); -- cgit