[mythtv-commits] Ticket #10320: Allow widgets to 'depend' on other widgets

MythTV noreply at mythtv.org
Fri Feb 10 21:24:01 UTC 2012


#10320: Allow widgets to 'depend' on other widgets
-------------------------------------------------+-------------------------
     Reporter:  mythtv@…                         |      Owner:  stuartm
         Type:  Patch - Feature                  |     Status:  new
     Priority:  minor                            |  Milestone:  unknown
    Component:  MythTV - User Interface Library  |    Version:  Master Head
     Severity:  medium                           |   Keywords:
Ticket locked:  0                                |
-------------------------------------------------+-------------------------
 A widget will be hidden when the widget it depends on is set to its
 default value.

 e.g.

 <imagetype name="fanart" depends="title">
 ...
 </imagetype>

 <textarea name="title">
 <value>Blah</value
 </textarea>

 In this case, the fanart will only show if the title textarea has been set
 to something other than "Blah".

 An example of this in action: http://www.youtube.com/watch?v=vbqQVbtR3mA

 At present it is possible for widgets to depend on one of three other
 types of widget; textarea, imagetype and checkbox. In the case of
 checkbox, the widget will be hidden if the checkbox has a checkstate of
 'off'.

-- 
Ticket URL: <http://code.mythtv.org/trac/ticket/10320>
MythTV <http://code.mythtv.org/trac>
MythTV Media Center


More information about the mythtv-commits mailing list