Results 1 to 11 of 11

Thread: QPushButton stylesheet problem

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    May 2006
    Posts
    23
    Thanks
    3
    Qt products
    Qt4
    Platforms
    Unix/X11

    Default QPushButton stylesheet problem

    Whenever I set a stylesheet on a QPushButton, the button's appearance changes unexpectedly when running the application. For example, using the following stylesheet:

    Qt Code:
    1. color: red;
    To copy to clipboard, switch view to plain text mode 

    Every looks fine in Qt Designer:



    But when I run the application I get the following result:



    This is using Qt 4.5.2. How do I fix this?
    Last edited by blukske; 24th August 2009 at 14:03.

Similar Threads

  1. Problem with QPrintPreviewWidget
    By nifei in forum Qt Programming
    Replies: 2
    Last Post: 25th March 2012, 01:18
  2. Replies: 1
    Last Post: 23rd April 2009, 09:05
  3. Replies: 19
    Last Post: 3rd April 2009, 23:17
  4. Replies: 1
    Last Post: 7th October 2007, 23:02
  5. Replies: 16
    Last Post: 7th March 2006, 15:57

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.