Widget - multiple fonts
How can I set on a widget( lets say QToolButton ) a text having different fonts? Thanks!
tony last edited by
if you mean "change text font" on a widget, you have setFont method. But I guess that's not what you're asking about, so please clarify it better :)
alexander last edited by
or use styles
For example I want to put "this":http://img687.imageshack.us/img687/2752/stringh.jpg string on my control
Till now the only solution I found is to add a QLabel with a diferent font as a child of my QToolButton control
tobias.hunger last edited by
Sorin: Qt allows to use rich text in most places, which can have embedded font settings. Does that work for you?
what I need is a QToolButton to display his text in rich text format, I saw that a bug was posted for "this":http://bugreports.qt.nokia.com/browse/QTBUG-3535 but I was closed without being evaluated