summaryrefslogtreecommitdiffstats
path: root/shemov.h
diff options
context:
space:
mode:
authorArno <am@disconnect.de>2010-12-28 13:32:12 +0100
committerArno <am@disconnect.de>2010-12-28 13:32:12 +0100
commited5de88d481c31fbad120332651eb746a0c03de3 (patch)
tree39c5aec18eca4ea29d8250b4f16ecfc4e934df46 /shemov.h
parent6a56c5d5541bd471d78b4797ffccd378c1e73550 (diff)
downloadSheMov-ed5de88d481c31fbad120332651eb746a0c03de3.tar.gz
SheMov-ed5de88d481c31fbad120332651eb746a0c03de3.tar.bz2
SheMov-ed5de88d481c31fbad120332651eb746a0c03de3.zip
Pimp my filters!
Enhanced the filter function in ArchiveTreeView. The prefixes are gone. The filter mode is now selectable by menu or toolbar. Created 7 new icons, also selectable in the configuration menu. As a bonus the filter QLineEdit now comes with a QCompleter. The QStringListModel of the completer is filled in a separate thread. The QThread is only used as a resource for control. The work is done in a QObject connected to the QThread's started() signal as described in http://labs.qt.nokia.com/2006/12/04/threading-without-the-headache/
Diffstat (limited to 'shemov.h')
-rw-r--r--shemov.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/shemov.h b/shemov.h
index 72bdedb..bb31035 100644
--- a/shemov.h
+++ b/shemov.h
@@ -123,6 +123,14 @@ class SheMov : public QMainWindow {
QAction *mHoverArchiveA;
QAction *mHoverMoviesA;
QActionGroup *mHoverTreeGroup;
+ QAction *mFilterBySeriesA;
+ QAction *mFilterByActorA;
+ QAction *mFilterByGenreA;
+ QAction *mFilterByQualityA;
+ QAction *mFilterByFilenameA;
+ QAction *mFilterByDvdNoA;
+ QAction *mFilterBySizeA;
+ QActionGroup *mFilterGroup;
//TreeView FileWidget Actions
QAction *mMoveToBurnA;
@@ -148,6 +156,7 @@ class SheMov : public QMainWindow {
QSignalMapper *mOpenWithMapperFS;
QSignalMapper *mOpenWithMapperAV;
QSignalMapper *mCleanupMapper;
+ QSignalMapper *mFilterMapper;
QMenu *mEditFSMenu;
QMenu *mEditAVMenu;
@@ -158,6 +167,7 @@ class SheMov : public QMainWindow {
QMenu *mFSViewMenu;
QMenu *mTreeHeaderMenu;
QMenu *mTreeHoverMenu;
+ QMenu *mTreeFilterMenu;
QMenu *mFSHoverMenu;
QAction *mEditFSMenuA;
QAction *mEditAVMenuA;