summaryrefslogtreecommitdiffstats
path: root/ShemovCleaner.pro
diff options
context:
space:
mode:
authorArno <arno@disconnect.de>2018-02-02 18:13:27 +0100
committerArno <arno@disconnect.de>2018-02-02 18:13:27 +0100
commit2f1e930668c1a2205a09ee835908d28b2bdedcdd (patch)
tree7f9331fd80e45e27994a0a5ebc2e61e4dc69be23 /ShemovCleaner.pro
parent3a4b40917ba45e3dd34e14816d12ca8a6bd510f7 (diff)
downloadShemovCleaner-2f1e930668c1a2205a09ee835908d28b2bdedcdd.tar.gz
ShemovCleaner-2f1e930668c1a2205a09ee835908d28b2bdedcdd.tar.bz2
ShemovCleaner-2f1e930668c1a2205a09ee835908d28b2bdedcdd.zip
Implement context menu for search results
Subclass QTreeView to show a custom context menu. Since the depth of some items is > 1, add an option to expand and collapse a node recursively.
Diffstat (limited to 'ShemovCleaner.pro')
-rw-r--r--ShemovCleaner.pro6
1 files changed, 4 insertions, 2 deletions
diff --git a/ShemovCleaner.pro b/ShemovCleaner.pro
index e03b164..8f59657 100644
--- a/ShemovCleaner.pro
+++ b/ShemovCleaner.pro
@@ -37,7 +37,8 @@ HEADERS += \
viewer.h \
cachedfiledata.h \
itemselectionwidget.h \
- searchdialog.h
+ searchdialog.h \
+ searchview.h
SOURCES += \
configurationwidget.cpp \
filecopier.cpp \
@@ -56,5 +57,6 @@ SOURCES += \
viewer.cpp \
cachedfiledata.cpp \
itemselectionwidget.cpp \
- searchdialog.cpp
+ searchdialog.cpp \
+ searchview.cpp
RESOURCES += shemovcleaner.qrc