Results 1 to 12 of 12

Thread: stylesheet

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #6
    Join Date
    Jan 2006
    Posts
    26
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11 Windows
    Thanked 1 Time in 1 Post

    Default Re: stylesheet

    Looks like you're out of luck in the sense that, by default, according to the docs:

    Since 4.3, setting a stylesheet on a QLabel automatically sets the QFrame::frameStyle property to QFrame::StyledPanel.
    Have you tried using a border? Something like:

    Qt Code:
    1. {
    2. border: 1px inset gray;
    3. }
    To copy to clipboard, switch view to plain text mode 

    Or something similar?
    Last edited by Shadowfiend; 25th April 2008 at 17:40. Reason: [code] does not, in fact, end with [/quote]

Similar Threads

  1. Styling QComoBox using CSS Stylesheet
    By bjoernbg in forum Qt Programming
    Replies: 1
    Last Post: 7th October 2010, 00:12
  2. StyleSheet components using Qt designer
    By Kostanev in forum Qt Tools
    Replies: 1
    Last Post: 21st April 2008, 09:28
  3. how to apply stylesheet to qtopia application using qss file
    By namita in forum Qt for Embedded and Mobile
    Replies: 2
    Last Post: 31st March 2008, 08:04
  4. Replies: 8
    Last Post: 17th March 2008, 15:04

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.