[mythtv] How do I create a selectable tree widget?

Morten devel at mythtv.datascooter.com
Mon Aug 9 14:22:09 EDT 2004

Hi again!

Am I completely stoned, if I've once seen a functionality like this in
MythMusic (music selection)?

I think it would be a very user-friendly alternative to present large
amounts of structured information, and I would certainly be willing to do
the necessary foot work to make a widget with this functionality. Just
please tell me where to start..... Should my new widget just inherit UIType
and everything else made from scratch (i.e. through Qt's base classes) on
top of this, or do I have any specific 'libmyth' helper libraries/classes at
my disposal?


> Isaac Richards wrote:
> Morten wrote:
> >
> > Guess I didn't solve my question last week about how to create a 
> > selectable tree using the standard MythUI widgets...
> >
> > Here's what I want to do:
> >
> > I want to create a user interface with a tree. The tree 
> > hierarchy must be shown in one single rectangular drawing
> > area on the screen (i.e.  like the file tree in a standard
> > Windows File Explorer). 
> >
> > Before each node, I want to put a plus-sign or minus-sign
> > to indicate whether the node is expanded or not. (If the
> > node isn't expandable, no sign should be shown.)
> >
> > With poor man's ASCII drawing, it's something like this I 
> > want to draw in the UI:
> Can't do that.
> Isaac

More information about the mythtv-dev mailing list