Results 1 to 1 of 1

Thread: QSplitter doesn't propagate style sheet on QPushButton

  1. #1
    Join Date
    Jul 2006
    Posts
    37
    Thanks
    6
    Qt products
    Qt3 Qt4
    Platforms
    Windows

    Default QSplitter doesn't propagate style sheet on QPushButton

    Hi,

    I'm experiencing a strange behaviour with style sheet and QSplitter. In the following attachment, you can find a full project containing different QPushButton at different place. All of them have a dynamic property ("toto"). The CSS file just styles all "toto" properties. For QPushButton outside the QSplitter, it works. But for those installed in QGroupBox and then on QSplitter, they are not styled at all.
    This can be reproducible with Qt 4.8.6 and Qt 5.4.
    So, what's the problem? a bug, something I did wrong ...

    Thanks a lot for your help.

    David
    Attached Files Attached Files

Similar Threads

  1. Style sheet for QGraphicsItem?
    By lni in forum Qt Programming
    Replies: 1
    Last Post: 21st August 2013, 11:10
  2. [Qt 4.6.3 Linux] style sheet focus on QPushButton
    By snooker9 in forum Qt Programming
    Replies: 0
    Last Post: 5th March 2012, 13:27
  3. Problems with Gradient style used through Style sheet on ARM platform
    By puneet.narsapur in forum Qt for Embedded and Mobile
    Replies: 0
    Last Post: 25th January 2010, 12:48
  4. Coloring checkable QPushbutton with style sheet
    By RThaden in forum Qt Programming
    Replies: 1
    Last Post: 25th July 2008, 18:11
  5. How to use style sheet
    By safknw in forum Qt Programming
    Replies: 1
    Last Post: 20th November 2006, 13:05

Tags for this Thread

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.