[mythtv-users] How to change the mythtv source code so as to let choice item become checkbox type?

Michael T. Dean mtdean at thirdcontact.com
Tue Feb 13 15:05:41 UTC 2007


On 02/12/2007 09:15 PM, Xi Jiarong wrote:
>
> I want to change mythtv itme choice into checkbox type, for example:
> I add such choice as Political news, Entertainment news, Sports news;
> when user see those choice items, he/she can choose one or two or 
> three of them as checkbox type, and after then just those the user has 
> chosed would be shown on screen, and the user also can return to 
> choose once more.
> How to change the current type of choice item into checkbox type?
> I must modify the source code? if so, and where I need to modify for 
> the souce code?
>

Sounds like you're trying to allow selection of multiple recording 
groups/categories in the "Previously Recorded" screen.  If so, my advice 
is to dig into the source code and start to make changes.  To get 
started, make use of find and grep (or wcgrep (as in working copy grep) 
- 
http://svn.collab.net/viewvc/*checkout*/svn/trunk/contrib/client-side/wcgrep?revision=9119  
).  When you get stuck, check the documentation for QT ( 
http://doc.trolltech.com/3.3/ ) and possibly MySQL ( 
http://dev.mysql.com/doc/ ) or go to Google and find as much info as you 
can to help.  When you've been to Google--and everywhere else you could 
think of--and still get stuck, post a question about some very specific 
issue to the list, and someone will help you.

Answering this question--since it's so general--could require nearly as 
much effort as coding the change.  More specific questions, like 'Does 
Myth have a multi-select control?" could be answered very easily with 
something like, "See http://svn.mythtv.org/trac/ticket/2594 ."

Good luck and remember 90% of the fun is learning to make the change,
Mike


More information about the mythtv-users mailing list