[mythtv-commits] mythtv commit: r23597 by markk

mythtv at cvs.mythtv.org mythtv at cvs.mythtv.org
Thu Feb 25 11:13:50 UTC 2010


      Author: markk
        Date: 2010-02-25 11:13:50 +0000 (Thu, 25 Feb 2010)
New Revision: 23597
   Changeset: http://svn.mythtv.org/trac/changeset/23597

Modified:

   branches/libmythui-osd/libs/libmythtv/tv_play.cpp
   branches/libmythui-osd/libs/libmythtv/tv_play.h
   branches/libmythui-osd/libs/libmythtv/tvosdmenuentry.cpp

Log:

Branch libmythui-osd: Convert the OSD Menu, exit dialog and delete
dialog to use MythDialogBox.

The exit and delete conversion is relatively straightforward, although
with most themes the existing text is too long.

The OSD menu change is fairly extensive and while it appears to work as
intended, there may well be issues that I've missed. As MythDialogBox
does not have a tree structure, the TV object manages navigation by way
of the event text which is intentionally limited to 1 level of menu
nesting. This should cover the majority of use cases and prevents trying
to build large menus that are slow enough to effect playback. For more
complicated menus, currently only Jump to Recording, we just move
(seemlessly) to a new dialog.

There are still some general behaviour issues that I will tidy up once
all of the dialogs are converted.

N.B. Qt complains intermittently about creating QObjects in the wrong
thread and this is probably the cause of some occasional segmentation
faults in the Qt event loop. Another reason to move video playback into
the main thread.

Refs #7650.





More information about the mythtv-commits mailing list