[Qt-interest] How the Qt-designer "Widget-Box" is developed. - Can I see the source code for the same!
Friedemann Kleint
Friedemann.Kleint at nokia.com
Tue May 19 16:03:21 CEST 2009
Hi,
> Is the source code for developing Qt-designer is available?
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).
I hope this helps,
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/20090519/d25c2cd9/attachment.html
More information about the Qt-interest-old
mailing list