[mythtv-commits] Ticket #12: Convert UI to use libmythui.

MythTV mythtv at cvs.mythtv.org
Wed Apr 26 02:50:36 UTC 2006

#12: Convert UI to use libmythui.
 Reporter:  ijr      |        Owner:  ijr     
     Type:  task     |       Status:  assigned
 Priority:  blocker  |    Milestone:  0.20    
Component:  mythtv   |      Version:  head    
 Severity:  high     |   Resolution:          
Comment (by awk at awkward.org):

 It would appear that you can't 'mix n match' the QWidget and QGLWidget
 code on Mac OS X. If you insantiate a QGLWidget (or subclass) you need to
 use the QGLPainter, a QPainter will not draw correctly to the screen.
 Given the Mac OS X OpenGL architecture this isn't surprising. Is the
 'grand plan' here to remove the QPainter approach entirely in the future ?
 Or to leave it in place for those systems without sufficient OpenGL
 performance ?

 If the plan is to allow both changes I think MythMainWindow will need some
 refactoring and changes in inheritance so that either there are two
 subclasses one for GL one for non-GL or an alternative approach with a
 single MythMainWindow with a  private class member to handle the different
 widgets. I'm happy to help with the work if I can - but I think this is
 probably beyond the realm of a straightforward patch 8-)

Ticket URL: <http://cvs.mythtv.org/trac/ticket/12>
MythTV <http://www.mythtv.org/>

More information about the mythtv-commits mailing list