Asked By
zenith keen
30 points
N/A
Posted on - 11/11/2012
Hello guys!!!!!!!!!!
I need help to view qt4 standard icons. I want to add a “warning” icons if it contains invalid data. I have tried this :(QStyle::standardIcon(QStyle::SP_MessageBoxWarning) . But it does not work always.
Can anybody help? Thanks in advance.
Need Help to view qt4 standard icons
This problem occurs due to cursor theme which is located in Qt4 application interface often changes because of the prior system settings/configuration settings. An easy way to get rid of this problem and to get the default Qt4 cursor back is the following method;
First create .icons/default folder; and this is mandatory
paste the following texts in index.theme
Qt Code:
Switch view
1. [Index Theme]
2. Name = Default
3. Inherits = crystalblue
[Index Theme]
Name = Default
Inherits = crystalblue
I expect this solution will be benefited you.
Need Help to view qt4 standard icons
Switch view
Hello Mr.Zenith.You are welcome.
There might be some problems in your configuration settings.It often happens so.
You just need to follow the below steps:-
1st of all,open it.
go to- 'Index Theme' make the 'Name' Default.
Then make- Inherits=crystalblue.
Completing all these,you can get your desierd icons.
Thank you for your question.Feel free on Techyv.