Results 1 to 5 of 5

Thread: QMenu indicator style sheet undesired behaviour

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #3
    Join Date
    Aug 2019
    Posts
    7
    Qt products
    Qt5
    Platforms
    Unix/X11 Windows

    Default Re: QMenu indicator style sheet undesired behaviour

    First of all, thank you for your answer.

    I agree with this for elaborated design, it is better to use something else than stylesheets.
    But, I think even for the style of a whole application, if we stay in the scope of stylesheets capabilities, I don't see a reason why it should be bad to use them.

    The problem here is that I don't have any elaborated effects that exceed the stylesheets capabilities and applying the stylesheet does not behave as it should do.
    So the problem is not about stylesheets capabilities but more about the way they are implemented in Qt (what Qt does when we apply a stylesheet with setStyleSheet()). And this is where I found the bug.

    In the bug report, I have added a minimal and complete example to reproduce the bug.

    Thanks for your advice anyway
    Last edited by Fareanor; 7th August 2019 at 09:53.

Similar Threads

  1. Strange behaviour of hovering in QMenu
    By CassandraD in forum Qt Programming
    Replies: 0
    Last Post: 12th May 2014, 16:49
  2. QProgress bar - Busy Indicator - Strange behaviour
    By johnnyturbo3 in forum Newbie
    Replies: 4
    Last Post: 27th April 2011, 13:56
  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. QMenu style sheet: works in dev env, breaks in release
    By JimDaniel in forum Qt Programming
    Replies: 1
    Last Post: 6th October 2008, 19:18
  5. [Style Sheet] QMenu::item:hover bug
    By spud in forum Qt Programming
    Replies: 3
    Last Post: 11th May 2007, 14:11

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
  •  
Qt is a trademark of The Qt Company.