Results 1 to 3 of 3

Thread: QMacStyle or QPlatinumStyle

  1. #1
    Join Date
    Jan 2006
    Posts
    19
    Thanked 1 Time in 1 Post
    Qt products
    Qt3 Qt4 Qt/Embedded
    Platforms
    MacOS X Unix/X11

    Question QMacStyle or QPlatinumStyle

    hello,
    Anybody tried either QPlatinumStyle or QMacStyle styles? I am searching for a sample code showing the differencs between these styles and those windows without any kind of style.
    firas

  2. #2
    Join Date
    May 2006
    Location
    Australia
    Posts
    53
    Thanks
    11
    Thanked 4 Times in 4 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11

    Default Re: QMacStyle or QPlatinumStyle

    i noticed that in your profile it says you are x11/linux....neither of these styles are available in linux because they rely on apple appearance manager....
    also i think platinum style is no longer available in Qt4....

  3. #3
    Join Date
    Mar 2006
    Location
    Mountain View, California
    Posts
    489
    Thanks
    3
    Thanked 74 Times in 54 Posts
    Qt products
    Qt3 Qt4 Qt/Embedded
    Platforms
    MacOS X Unix/X11 Windows

    Default Re: QMacStyle or QPlatinumStyle

    The Platinum style is no longer available with Qt4, but is still in Qt3. The Mac style is in both Qt3 and Qt4 (though considerably improved in Qt4).

    The differences between these styles would be huge. Platinum is uses QPainter drawing code, and is thus available on all platforms with Qt3 (including the current KDE under X11). The Mac style is for OSX only, as it uses native OSX drawing routines. It isn't Qt drawing the theme, but OSX itself. Because of this you can't compare the two styles.

    Also, there are no "windows without any kind of style". Every Qt application has a style. The common base style is QCommonStyle, but it is an abstract class that cannot be instantiated directly. It is a good starting point to make your own styles with. The Platinum style inherits from the Windows style, which in turn inherits from QCommonStyle.

Similar Threads

  1. About QMacStyle
    By santhoshv84 in forum Qt Programming
    Replies: 2
    Last Post: 3rd October 2008, 05:57
  2. Does StyleSheet support for QMacStyle?
    By axlgilby in forum Qt Programming
    Replies: 1
    Last Post: 8th October 2007, 09:42

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Qt is a trademark of The Qt Company.