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
Bookmarks