Results 1 to 5 of 5

Thread: Tray context menu display issues

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #4
    Join Date
    Jul 2008
    Posts
    5
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows

    Default Re: Tray context menu display issues

    Okay I thoutgh I could work around the issue by adding the following code every time the tray icon is activated. But I'm pretty sure I should not have to do this And still I got the issue... but it seems to happen less frequently.

    Qt Code:
    1. qreal opacity = trayIconMenu->windowOpacity();
    2. if(opacity != 1.0) { // The menu is transparent let's force him to opaque
    3. trayIconMenu->setWindowOpacity(1.0);
    4. }
    To copy to clipboard, switch view to plain text mode 

    BTW I never change the opacity anywhere else...
    Last edited by r2hubert; 7th July 2008 at 22:58.

Similar Threads

  1. Context Menu on QTableWidget
    By ankurjain in forum Qt Programming
    Replies: 9
    Last Post: 17th December 2009, 09:52
  2. context menu problem
    By dreamer in forum Qt Programming
    Replies: 1
    Last Post: 25th May 2008, 13:18
  3. Replies: 4
    Last Post: 25th June 2007, 20:40

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.