thanks for reply ...
i have attached my QTreeWidgets screenshot with this thread ...
here if the user selects CIM_ComputerSystems or first child of CIM_System and clicked some pushButton .. how can i identify it in my pushButton slot xx() the item selected ... by its index number or some other way ...
i tried like this
cout<<_treeView->currentIndex().row()<<endl;
it all showing 0 as constant...
but i am manage to get the string of the QTreeWidget Item..
please help ...
Bookmarks