[PySide] QPushButton with text under icon

Frank Rueter | OHUfx frank at ohufx.com
Tue May 15 10:35:20 CEST 2012


Hi all,

I thought this onw was going to be simple but I guess I was wrong:

All Im' trying to do is draw the text of a QPushButton underneath it's 
icon. Is this possible? I can't find the answer and ended up using  
QToolButton instead, but that doesn't render the button as "pushed" when 
it's - well - pushed.

This is what I'm after (not sure if the image will come through on the 
list):


Any pointers would be great!

Thanks,
frank

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/pyside/attachments/20120515/1f72785e/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/jpeg
Size: 15379 bytes
Desc: not available
URL: <http://lists.qt-project.org/pipermail/pyside/attachments/20120515/1f72785e/attachment.jpe>


More information about the PySide mailing list