Results 1 to 2 of 2

Thread: problems on the QMenu hide

  1. #1
    Join Date
    May 2010
    Location
    China
    Posts
    66
    Thanks
    8
    Qt products
    Qt4
    Platforms
    Windows

    Wink problems on the QMenu hide

    i have a MainForm ,and have some MdiForms ,when the MdiForms' type changed ,some QMenu will be hide,but when i use the function
    Qt Code:
    1. editMenu->setVisible(false)
    To copy to clipboard, switch view to plain text mode 
    the QMenu are still on the mainform, what's happen?how can i solve this problem?

  2. #2
    Join Date
    Aug 2009
    Posts
    52
    Thanked 10 Times in 10 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: problems on the QMenu hide

    editMenu->menuAction () ->setVisible(false)

  3. The following user says thank you to dbzhang800 for this useful post:

    Henry Blue Heeler (22nd December 2015)

Similar Threads

  1. Qmenu
    By deeee in forum Qt Programming
    Replies: 3
    Last Post: 27th May 2010, 01:27
  2. Hide and Show QMenu
    By febil in forum Qt Programming
    Replies: 3
    Last Post: 25th March 2009, 09:31
  3. QMenu
    By khcbabu in forum Qt Programming
    Replies: 2
    Last Post: 22nd October 2008, 14:08
  4. QMenu
    By toki83 in forum Qt Programming
    Replies: 2
    Last Post: 22nd March 2008, 11:17
  5. QMenu Help pls
    By munna in forum Newbie
    Replies: 2
    Last Post: 19th March 2006, 15:36

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.