How to reset QPushButton's border-image through setStyleSheet?
Hi All,
at first ,i use setStyleSheet set button's border-image, now i want to clear and change the original border-image. so i use ‘ btn->setStyleSheet("QPushButton{border-image:url(:/images/backgound.png)}"’ , but original border-image have exited already.
and i tried used the below code, it cann't change alse.
btn->setStyleSheet("")};
btn->setStyleSheet("QPushButton{border-image:url(:/images/backgound.png)};
or
btn->setStyleSheet(NULL)};
btn->setStyleSheet("QPushButton{border-image:url(:/images/backgound.png)};
please give me any advice!
thanks.
ken
Re: How to reset QPushButton's border-image through setStyleSheet?
What is an "original border-image"? And what does it mean that it "exited"?