diff options
author | Ken Moore <ken@ixsystems.com> | 2018-03-22 14:03:13 -0400 |
---|---|---|
committer | Ken Moore <ken@ixsystems.com> | 2018-03-22 14:06:39 -0400 |
commit | b0e4e608da9563cf0e01490cc3e8a0b8c05b5137 (patch) | |
tree | 26763511b60a468f4c98294817cb2cb59e2e4d4b /src-qt5/desktop-utils/lumina-fm/widgets/DDListWidgets.h | |
parent | Added a splitter for the bookmarks menu to be able to change size (diff) | |
download | lumina-b0e4e608da9563cf0e01490cc3e8a0b8c05b5137.tar.gz lumina-b0e4e608da9563cf0e01490cc3e8a0b8c05b5137.tar.bz2 lumina-b0e4e608da9563cf0e01490cc3e8a0b8c05b5137.zip |
Add a signal/slot path for detecting/setting the sort column for tree widgets.
Current problems:
1. Still need to detect when the sort column has changed in the DDTreeWidget subclass to emit the first signal.
2. Need to listed for the signal from the BrowserWidget in the MainUI and save that column into the settings.
3. As needed, the MainUI needs to run "setTreeWidgetSortColumn(int,bool)" on a new BrowserWidget based on the last-saved sorting column.
Diffstat (limited to 'src-qt5/desktop-utils/lumina-fm/widgets/DDListWidgets.h')
-rw-r--r-- | src-qt5/desktop-utils/lumina-fm/widgets/DDListWidgets.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src-qt5/desktop-utils/lumina-fm/widgets/DDListWidgets.h b/src-qt5/desktop-utils/lumina-fm/widgets/DDListWidgets.h index 7e4b1f22..ec7742c7 100644 --- a/src-qt5/desktop-utils/lumina-fm/widgets/DDListWidgets.h +++ b/src-qt5/desktop-utils/lumina-fm/widgets/DDListWidgets.h @@ -176,6 +176,7 @@ public: signals: void DataDropped(QString, QStringList); //Dir path, List of commands void GotFocus(); + void sortColumnChanged(int); protected: void focusInEvent(QFocusEvent *ev){ @@ -320,6 +321,7 @@ public: // In other cases, we trust base class implementation return QTreeWidgetItem::operator<(tmp); } + }; //Item override for sorting purposes of list widget items |