Results 1 to 3 of 3

Thread: QToolButton How to close/dismiss the menu?

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Jan 2006
    Location
    Graz, Austria
    Posts
    8,416
    Qt products
    Qt3 Qt4 Qt5
    Platforms
    Unix/X11 Windows
    Thanks
    37
    Thanked 1,544 Times in 1,494 Posts

    Default Re: QToolButton How to close/dismiss the menu?

    It is probably enough to just call "close()" on the menu.

    Cheers,
    _

  2. #2
    Join Date
    Feb 2016
    Location
    Venice, California
    Posts
    87
    Qt products
    Qt4
    Platforms
    Windows
    Thanks
    7

    Default Re: QToolButton How to close/dismiss the menu?

    Thanks for your reply.

    I tried close() earlier while looking for a solution. Unfortunately, it seems like the button, in it's open state won't allow anything else to update. (graphics wise).
    Is there a way to find the 'Slot', or trigger the 'Signal' that it sends without opening the menu? It sends a "fetch all cameras in scene" , but I don't know the name.

    Thanks,

    Nick

Similar Threads

  1. qtoolbutton and not visible popup menu
    By _Jack_ in forum Qt Programming
    Replies: 1
    Last Post: 26th January 2019, 23:15
  2. Replies: 2
    Last Post: 11th May 2012, 10:38
  3. qtoolbutton popup menu
    By anoar in forum Qt Programming
    Replies: 1
    Last Post: 6th December 2008, 05:20
  4. Replies: 12
    Last Post: 21st November 2008, 04:42
  5. QToolButton icon not updated in overflow menu
    By pabakertx in forum Qt Programming
    Replies: 2
    Last Post: 26th September 2007, 13:48

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.