[mythtv-commits] mythtv commit: r18192 - in trunk/mythtv by paulh
mythtv at cvs.mythtv.org
mythtv at cvs.mythtv.org
Sun Aug 24 17:55:09 UTC 2008
Author: paulh
Date: 2008-08-24 17:55:08 +0000 (Sun, 24 Aug 2008)
New Revision: 18192
Changeset: http://cvs.mythtv.org/trac/changeset/18192
Modified:
trunk/mythtv/libs/libmythui/mythdialogbox.cpp
trunk/mythtv/libs/libmythui/mythdialogbox.h
trunk/mythtv/themes/default/base.xml
Log:
Add a new MythUISearchDialog that provides a dialog to quickly choose an item
from a list.
You pass a QStringList containing the list you want to search. As the user
enters a text string in the edit the list of entries changes to show only
the entries that match the input string. You have the option to search
anywhere in the string or only the start.
When the user either clicks an entry in the list or presses the OK button
the dialog will either send a DialogCompletionEvent or an haveResult(QString)
signal will be generated. Both pass the selected string back to the caller.
I'll be using this in MythBrowser's edit bookmark screen.
More information about the mythtv-commits
mailing list