From ed5de88d481c31fbad120332651eb746a0c03de3 Mon Sep 17 00:00:00 2001 From: Arno Date: Tue, 28 Dec 2010 13:32:12 +0100 Subject: 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/ --- smglobals.cpp | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'smglobals.cpp') diff --git a/smglobals.cpp b/smglobals.cpp index f0906f1..e5b4df8 100644 --- a/smglobals.cpp +++ b/smglobals.cpp @@ -121,6 +121,14 @@ SmGlobals::SmGlobals() : mPictureViewer(0), mFrameCache(0){ mIcons.insert("High heels", ":/higheels.png"); mIcons.insert("Ball gag", ":/ball_gag.png"); mIcons.insert("French Maid Dress", ":/french_maid_dress.png"); + mIcons.insert("Shackles", ":/shackles.png"); + mIcons.insert("Steel collar", ":/steel_collar.png"); + mIcons.insert("Butt plug", ":/butt_plug.png"); + mIcons.insert("Hourglass figure", ":/hourglass_figure.png"); + mIcons.insert("Big ass", ":/big_ass.png"); + mIcons.insert("Big tit", ":/big_tit.png"); + mIcons.insert("Bizarre amputee", ":/bizarre_amputee.png"); + mIcons.insert("Spreading pants", ":/spreadingpants.png"); } //FrameCache -- cgit v1.2.3-70-g09d2