Icons from system theme
-
Is there any way to use icons from the system theme in a .ui file?
I know how to use QIcon::fromTheme() when I'm writing code in C++ but I need a way to do the same thing in a Qt Designer .ui file. I know I can manually edit the C++ header file that is generated from the .ui file but doing it that way means I'd have to edit the header file whenever I make a change to the .ui file in Qt Designer.
Anyone have any ideas how I can do this?
-
Why can't you do the necessary setup in the dialog's constructor, right after the UI was set up? @dialog->show()@ does work fine that way.
-
See "QTBUG-7777":http://bugreports.qt.nokia.com/browse/QTBUG-7777. It is planned for 4.8
[ Turned URL into a link, tobias ]