[Qt5.2] Linking treewidget to tablewidget, need advice on events to use
General and Desktop
2
Posts
2
Posters
714
Views
1
Watching
-
Hi,
I'm trying to link signal and slot from a treewidget to tablewidget. I have a list of items in my treewidget let's say: Name, Address, Work. And I want to link the selection from treewidget to tablewidget. For example if i select Name from treewidget, the tablewidget will display columns such as FirstName, LastName. And if i select Address from treewidget, the tablewidget will populate StreetName, BlockNo, Postcode etc on the columns.
When I tried to configure the connection from tree to table, let's say ItemClicked on treewidget, I did not see any event on tablewidget I could select to populate the columns I want.
Can anyone advise on this?
Thanks.