Keep me logged in for two weeks
Login using OpenID
Forgot your password?
What are you waiting for? Just register and start collecting points. It's fun!
How can I set on a widget( lets say QToolButton ) a text having different fonts? Thanks!
There are only 10 types of people in the world: Those who understand binary, and those who don’t
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 :)
or use styles
For example I want to put this [img687.imageshack.us] 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
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 [bugreports.qt.nokia.com] but I was closed without being evaluated
You must log in to post a reply. Not a member yet? Register here!
© 2013 Qt Project Hosting. Qt® and the Qt logo is a registered trade mark of Digia plc and/or its subsidiaries and is used pursuant to a license from Digia plc and/or its subsidiaries.
This site is hosted by Gitorious AS. Your use of this web site is governed by these terms of service.
Qt Project Hosting, P.O. Box 4332 Nydalen, 0402 Oslo, Norway. Org. Nr. 997 447 913
You are about to flag this item as unappropriate.