Hi all,
http://img59.imageshack.us/img59/363/65641611.jpg
I get screen shot like this
As follows:How can I do?
http://img8.imageshack.us/img8/1346/28350543.jpg
Printable View
Hi all,
http://img59.imageshack.us/img59/363/65641611.jpg
I get screen shot like this
As follows:How can I do?
http://img8.imageshack.us/img8/1346/28350543.jpg
You can use style sheet.
Quote:
QPushButton{
background-image: url(:/images/ImageNamepng)
background-position: top center;
}
what you want to achieve.. the first one or the 2nd or both?
have a look at QToolButton::setToolButtonStyle.
sorry form my bat english
I write the name of the button config file
buttonsNames = stringToList(std::string("buttonsname"));
looks like this is the first image.
I like the image to obtain the second picture.
How should I follow a method?
Hi i don't edit my message and i must write this message as so sory
I want to showing picture and text in QPushButton. But text is showing right the picture. How can i show picture is top and text is buttom?
P.S: @spirit i don't used QToolButtonStyle. must i be include to library?