Results 1 to 2 of 2

Thread: QMenu is not getting shown properly until any event occurs.

  1. #1
    Join Date
    Aug 2010
    Posts
    18
    Thanked 1 Time in 1 Post
    Qt products
    Qt4
    Platforms
    Windows

    Default QMenu is not getting shown properly until any event occurs.

    Hi,

    I have a problem with QMenu (customContextMenu which is visible when user click the right button of mouse).

    In my code I execu te Qmenu with menu->exec(QCursor:os()) method. but sometimes only outliine of the menu is visible until I press any button or move my mouse.

    Is any one provide me the solution for this?

    I am using Qt 4.6.2.

    Thanks in Advance,
    Sanket

  2. #2
    Join Date
    Jul 2009
    Location
    Enschede, Netherlands
    Posts
    462
    Thanked 69 Times in 67 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: QMenu is not getting shown properly until any event occurs.

    Horse sense is the thing that keeps horses from betting on people. --W.C. Fields

    Ask Smart Questions

Similar Threads

  1. QWidget Shown Event
    By perq in forum Qt Programming
    Replies: 1
    Last Post: 13th September 2010, 16:20
  2. Replies: 3
    Last Post: 12th August 2010, 14:20
  3. Replies: 0
    Last Post: 27th April 2010, 16:15
  4. Replies: 2
    Last Post: 9th December 2007, 06:45
  5. Scrool bar in treeWidget not properly shown?
    By vishal.chauhan in forum Qt Programming
    Replies: 1
    Last Post: 19th October 2007, 03:39

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.