Additional Style for Qt application



  • Hi all,
    have you got some website where I can find some style to use in my application.

    In my application if I execute this:
    @
    qDebug() << QStyleFactory::keys();
    @
    I get something like this:
    @
    "motif", "cde", "plastique", "windowsxp", or "macintosh"
    @

    Is it possible to have some other style to use?


  • Moderators

    I think you'll have to subclass one of the styles yourself if you want more.

    Style sheets are an alternative. there is a nice example in Qt Demo :
    widgets > style sheets.

    I read somewhere motif and cde will be removed in the future Qt versions.



  • [quote author="Eddy" date="1307372255"]I think you'll have to subclass one of the styles yourself if you want more.

    Style sheets are an alternative. there is a nice example in Qt Demo :
    widgets > style sheets.

    I read somewhere motif and cde will be removed in the future Qt versions.[/quote]

    The problem is that I'm not a very good designer so for me it's better to use an existing one... :-)



  • I wrote something like that a few years back:
    http://labs.qt.nokia.com/2007/07/06/dotnet-style-with-office-flavor/

    Unfortunately I am not sure where this is hosted these days as it is no longer supported.
    You should be able to find the source code embedded within other projects by doing some google searches for qtdotnetstyle though.

    This might also be interesting:
    http://labs.qt.nokia.com/2009/09/15/using-blur-behind-on-windows/


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.