Quote Originally Posted by paulb View Post
My question is how can I determine the item selected and display the corresponding custom widget. Do I need to use 'switch'?
http://doc.qt.nokia.com/4.6/qtreewid...ml#itemClicked

And what is switch? Do you mean a switch statement?
Why is a stacked widget not possible? You can also try using a stacked layout and create your own stacked widget.