Extend table widget and tree Widget designed in Qt Designer and developed in VS
-
How to extend the table widget and tree Widget designed in Qt Designer but developed in Visual Studio. I want to open a particular table on every click event happening on the tree widget item. What file to write my code in? I am unable to co-relate them.
Guide me through this.__
[edit: fixed title / chetankjain]
-
Hi,
I think you might want to change the name of the post as the use of Visual Studio doesn't affect the tree / table widgets you're using.
After that I would suggest you look through the help on Model/View programming in Qt. It's easy to find in QAssistant. This should show you how to link model data to different views etc.
Regards,
Steve -
Have a look at the various clicked/selected/current signals of the tree view/tree widget and connect them to an appropriate slot in your logic that opens the table.
-
BTW - could someone of the forum mods or the original poster change the topic please, it has nothing to do with the question. TIA.
-
[quote author="Volker" date="1289912273"]BTW - could someone of the forum mods or the original poster change the topic please, it has nothing to do with the question. TIA.[/quote]
done