[SOLVED] Is there any way to use other standard pixmaps other than in QStyle class
-
-
If the images are not available through QStyle, I don't think they are available in another way as standard pixmaps, at least not via Qt. What OS are you targeting? On the Linux desktop, there are open desktop standards I believe that may help you find a standard icon.
-
Thanks for replying.
I use Ubuntu. Actually, Qt Assistant can replace almost all its icons with the system theme icons. Even icons for zooming get changed by changing icon theme. It is obvious Qt Assistant is written in Qt, so if Qt Assistant can do it , then most probably Qt should also. And if it doesn't plz throw some light on open desktop standards. How can these standards be integrated into Qt app. -
At the top of this site, you see a big header called "Downloads". You might be able to find, well, downloads there. There is a download there for the sources, and those sources include Assistant.
So, I guess the link would be: http://qt-project.org
-
-
I got it.
@QIcon rotate_c_icon = QIcon::fromTheme("object-rotate-right");@
The string name for icon should be used as mentioned in the following site:
http://standards.freedesktop.org/icon-naming-spec/icon-naming-spec-latest.html