[Qt-interest] QAction's icon

Ta-Cheng Lin tclin1998 at gmail.com
Tue Mar 22 08:37:24 CET 2011


Hi:
I do the following,
lef2oaX is in 'xpm' format
The icon does not appear in front of string "lef2oa".

Any comments will be appreciated.

-Todd

---
QAction *lef2oa = new QAction(QIcon(QPixmap(lef2oaX)), "&lef2oa", this);

_file->addAction(lef2oa);
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20110322/3bb3f182/attachment.html 


More information about the Qt-interest-old mailing list