[Qt-interest] How to add icons to toolbar via Qt Designer?
Friedemann Kleint
Friedemann.Kleint at nokia.com
Tue Jul 7 08:18:26 CEST 2009
Hi,
> Can anyone please tell me how to add self made icons to a MainWindow form
> with the help of Qt Designer?
This is done via instances of the class "QAction" (see
http://doc.qtsoftware.com/4.5/qaction.html ,
http://doc.qtsoftware.com/4.5/designer-creating-mainwindows.html).
Add an action in the "Action Editor" tab of Qt Designer, assign text and icon
and drag-and-drop it onto the toolbar.
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/20090707/502a018f/attachment.html
More information about the Qt-interest-old
mailing list