Results 1 to 2 of 2

Thread: Using StyleSheet Without Losing 3D Effects

  1. #1
    Join Date
    Jul 2009
    Posts
    39
    Qt products
    Qt4
    Platforms
    Windows
    Thanks
    5

    Default Using StyleSheet Without Losing 3D Effects

    When I changed visualization of a QT objects like checkbox or pushbutton via StyleSheet, I lose 3D effects?
    Is there any way to prevent losing 3D effects while changing color etc.

    Thanks.

  2. #2
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,373
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Thanks
    4
    Thanked 5,019 Times in 4,795 Posts
    Wiki edits
    10

    Default Re: Using StyleSheet Without Losing 3D Effects

    You have to use the "border" css tag with "outset" or "inset" values.
    Your biological and technological distinctiveness will be added to our own. Resistance is futile.

    Please ask Qt related questions on the forum and not using private messages or visitor messages.


Similar Threads

  1. Replies: 7
    Last Post: 12th January 2011, 23:01
  2. stylesheet standard button names
    By h123 in forum Qt Programming
    Replies: 0
    Last Post: 14th April 2009, 13:42
  3. stylesheet loading issue - thread
    By talk2amulya in forum Qt Programming
    Replies: 8
    Last Post: 26th February 2009, 13:53

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.