[Qt-interest] Emulating Qt-widget Box kind of layout

Friedemann Kleint Friedemann.Kleint at nokia.com
Thu May 28 11:50:41 CEST 2009


 Hi,

this what I wrote in response to a similar query a few weeks ago:
>The sources are in tools/designer/src/components/widgetbox.
>The widget box is special as it can be switched from (classical) tree view 
>mode to icon mode via context menu. It therefore consists of a QTreeWidget 
>with a nested QListView set a as a widget (setItemWidget).

>To achieve the optical effect, a special delegate is used
>(tools/designer/src/lib/shared/sheet_delegate).

Does this answer your question?

Regards,
Friedemann
-- 
Friedemann Kleint
Nokia, Qt Software

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20090528/d62eaff1/attachment.html 


More information about the Qt-interest-old mailing list