(Solved)How to disable the background-image in runtime?
Hello, everyone.
Now I face the problem.
I set a default image as the background-image of a QToolbutton by using setStyleSheet funtion;
- toolButton->setStyleSheet("background-image:url(:/gfx/sy_101.png)");
Now I want to the “turn off “ the image when I click the button. what should I do?
any suggestions?
best regards.
hisong
5 replies
You must log in to post a reply. Not a member yet? Register here!




