Paulo Fernando Pimenta
1st March 2011, 01:08
Hi,
I used Qtdesigner and put a QtreeWidget with several items, each on containing its subitems, and a QStackedWidget with several pages. What i need is to connect the clicked () action on the QTreeWidgetItem and then, make the correct page appear on the QSTackWidget. I tried to read the QTreeWidget doc, but i couldnt figure out how.
There's also this post http://www.qtcentre.org/threads/37218-Sample-code-to-use-QTreeWidget-and-QStackWidget, but it doesnt say much.
Thanks in advance for any help.
I used Qtdesigner and put a QtreeWidget with several items, each on containing its subitems, and a QStackedWidget with several pages. What i need is to connect the clicked () action on the QTreeWidgetItem and then, make the correct page appear on the QSTackWidget. I tried to read the QTreeWidget doc, but i couldnt figure out how.
There's also this post http://www.qtcentre.org/threads/37218-Sample-code-to-use-QTreeWidget-and-QStackWidget, but it doesnt say much.
Thanks in advance for any help.