From 2f1e930668c1a2205a09ee835908d28b2bdedcdd Mon Sep 17 00:00:00 2001 From: Arno Date: Fri, 2 Feb 2018 18:13:27 +0100 Subject: 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. --- ShemovCleaner.pro | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'ShemovCleaner.pro') 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 -- cgit v1.2.3-70-g09d2