1 Attachment(s)
Group or Set widget (image provided)
Hi
I would like to create a "group or set" widget, which will allow a user to group/ungroup layers as seen in the attached picture.
I have done the layers using a custom tableview (in a test project), but I'm not sure how to do the grouping widget.
Could somebody guide me as to how grouping/ungrouping can be achieved?
(Image attached)
Many thanks
Jean
Attachment 6747
Re: Group or Set widget (image provided)
I would go for a tree model. To group items make them children of an item.
Re: Group or Set widget (image provided) [solved]
Haha, it's funny, I completely forgot about tree containers!
QTreeWidget is exactly what I needed :-)
Thank you very much Lykurg.
It's solved.