How to implement border-image effect, in QWidget .
summerheart last edited by
border-image: url(:/images/button.png) 16;
padding: -16px 0px;
When I use the above code to implemented border-image effect, it can work properly in QPushButton. When I want it to work in QWidget,
how to implement border-image effect, in QWidget .
or other ?
QWidget does not have border. Try QFrame
tobias.hunger last edited by
A custom paint method will of course get you the required effect:-)
I doubt that QFrame is the way to go.