PDA

View Full Version : Which widget i should use ?



vajindarladdad
2nd January 2009, 07:10
Hi all intelligent guys ,
I am beginner to Qt. I am developing an application in which i have to design something similar like QToolBox.
But QToolBox doesn't show all the widgets in it at once.
It shows items in the current tab , but in my case i have to show all the items.

I have attached the images , the same kind of application i have to design.

spirit
2nd January 2009, 07:30
take a look on this article Delegates (http://doc.trolltech.com/qq/qq24-delegates.html).

wysota
2nd January 2009, 10:55
There is QwwTaskPanel (http://www.wysota.eu.org/wwwidgets/doc/html/qwwtaskpanel.html) widget in wwWidgets (http://www.wysota.eu.org/wwwidgets) which does what you want.

It looks like this:
http://www.wysota.eu.org/wwwidgets/screenshots/qwwtaskpanel.png

You can style it with stylesheets and place any widget set you want in any of the panels.

There is also QwwNavigationBar if that suits you better but it's more similar to QToolBox - it shows one panel at a time.

http://www.wysota.eu.org/wwwidgets/screenshots/qwwnavigationbar.png

vajindarladdad
5th January 2009, 13:50
Hi ,
I am using 4.4.3 version , and i guess this version doesn't support QwwTaskPanel.

rexi
5th January 2009, 19:56
I am using 4.4.3 version , and i guess this version doesn't support QwwTaskPanel.

It is not part of the Qt library itself, but of the wwWidgets (http://www.wysota.eu.org/wwwidgets/) library, like wysota said. Have look at the site, you can download the library from there.

wysota
5th January 2009, 20:29
Sure it does, why not?