Results 1 to 6 of 6

Thread: Stylesheet for ActionsContextMenu - how to?

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #5
    Join Date
    Jul 2007
    Posts
    121
    Thanks
    38
    Thanked 3 Times in 3 Posts
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: Stylesheet for ActionsContextMenu - how to?

    Perfect. The only change I made is that I set setStyleSheet against control where I am setting the actionContextMenu. Setting it against application instance changes the main menu but not actionContextMenu in the control that I am interersted in.
    I suspect that it does not change in my case because I am setting custom stylesheet for the control _after_ application receives stylesheet change. I'll check it later.

    No. Changing stylesheet on QApp level does not change the stylesheet for the control's menu. Has to be done explicitly for the control.
    Thanks again!
    Last edited by QPlace; 21st August 2009 at 14:34.

Similar Threads

  1. Replies: 7
    Last Post: 12th January 2011, 22:01
  2. stylesheet standard button names
    By h123 in forum Qt Programming
    Replies: 0
    Last Post: 14th April 2009, 12:42
  3. stylesheet loading issue - thread
    By talk2amulya in forum Qt Programming
    Replies: 8
    Last Post: 26th February 2009, 12:53
  4. StyleSheet components using Qt designer
    By Kostanev in forum Qt Tools
    Replies: 1
    Last Post: 21st April 2008, 08:28
  5. Replies: 8
    Last Post: 17th March 2008, 14: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.