Hi,
Is there any possibility of adding a text box and a combo box inside a tree widget as child of the root...
If so please tell me how can i achieve that?
Hi,
Is there any possibility of adding a text box and a combo box inside a tree widget as child of the root...
If so please tell me how can i achieve that?
Do you want just one such set or one for every item?
for every node in the tree....as a child..
AND IT SHOULD BE SOMETHING LIKE THIS..
COMBO.jpg
Last edited by aurora; 2nd January 2012 at 12:58.
Qt doesn't cope well with such designs. It is best to use QScrollArea, put checkable widgets (like buttons) inside and make them show or hide the boxes you want depending on their check state. Technically what you want is possible to be done directly by using persistent editors but it will be very bad performance wise.
I think delegate will help you. But you should use QTreeView + custome model
ok....can i get any example?
Bookmarks