The output of this example given with the distribution would do a perfect widget for my application.
How can I make it a widget ?
edit; Should I use a QTreeWidget ? getting harder
Or should there be a much clever approch ?
The output of this example given with the distribution would do a perfect widget for my application.
How can I make it a widget ?
edit; Should I use a QTreeWidget ? getting harder
Or should there be a much clever approch ?
Look in example src
a life without programming is like an empty bottle![]()
I look in the source code of the example and it is far from being understood how it does what it does so well. Forinstance once I can integrate it to a layout I want to detect the signal right click on an item and be able to start a special edit.Originally Posted by zlatko
I am unable from the source to understand how I can make it a widget and then used signals on it.
Then you should probably read a little more about model-view approach used by Qt. The topic is so big, our answers to your questions here without any knowledge about mechanisms used in this example won't tell you much and you certainly won't learn anything from it.
You should now read about Interview, try to analyse example code, try to implement something on your own and then ask detailed questions about issues which seem unclear to you and then we'll gladly answer them.
incapacitant (27th March 2006)
Bookmarks