View Single Post
marxian's Avatar
Posts: 2,448 | Thanked: 9,523 times | Joined on Aug 2010 @ Wigan, UK
#28
Originally Posted by Frank Banul View Post
Ah, I get your point on the searches and I have a couple of ideas on how that might be done. Either saving a search as a preset or having a drop down list of recent searches seems like it would work.
I implemented a 'recent searches' feature in my application using a QMaemo5ListPickSelector: http://doc.qt.nokia.com/qt-maemo-4.6...kselector.html You can use this class to raise a dialog containing a list of items.

You can save and load the searches as a QStringList using QSettings: http://www.riverbankcomputing.co.uk/...qsettings.html
__________________
'Men of high position are allowed, by a special act of grace, to accomodate their reasoning to the answer they need. Logic is only required in those of lesser rank.' - J K Galbraith

My website

GitHub
 

The Following User Says Thank You to marxian For This Useful Post: