Results 1 to 3 of 3

Thread: 3d button stylesheet?

  1. #1
    Join Date
    Mar 2007
    Posts
    74
    Thanked 1 Time in 1 Post
    Qt products
    Qt4
    Platforms
    Windows

    Default 3d button stylesheet?

    Hi,
    Does anyone have a stylesheet that will generate a pushbutton with a 3d textured look?

    Thank you!

    Mark

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

    Default Re: 3d button stylesheet?

    What do you mean by "3d texture look"?

  3. #3
    Join Date
    Mar 2007
    Posts
    74
    Thanked 1 Time in 1 Post
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: 3d button stylesheet?

    For those interested this is what I am using:

    QLabel {
    border-width: 1px;
    padding: 1px;
    border-style: solid;
    border-radius: 5px;
    background: qlineargradient(x1:0, y1:0, x2:1, y2:1,
    stop:0 white, stop: 0.8 lawngreen, stop:1 black)
    }

Similar Threads

  1. How can I put a button onto the qLabel?
    By dwlnet in forum Qt Programming
    Replies: 3
    Last Post: 24th August 2007, 09:47
  2. How to ignore Button-Events in Qtopia?
    By Helmut Hönig in forum Qt for Embedded and Mobile
    Replies: 0
    Last Post: 5th July 2007, 13:24
  3. Disable Checkable Button Question
    By jbpvr in forum Qt Programming
    Replies: 9
    Last Post: 20th March 2007, 17:57
  4. Mouse Over event on button
    By vishal.chauhan in forum Qt Programming
    Replies: 9
    Last Post: 10th January 2007, 05:03
  5. Push button double click
    By curtisw in forum Qt Programming
    Replies: 3
    Last Post: 15th February 2006, 16:40

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
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.