Vuo  0.6.1
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Public Member Functions | List of all members
VuoMenu Class Reference

Description

Disgusting hack.

Necessary to work around a bug in Qt 5, wherein QMenu context menus indefinitely retain focus, preventing the window's QMenu from reappearing after the context menu has been dismissed.

Todo:
Revert once Qt fixes this bug. https://b33p.net/kosada/node/5130 https://b33p.net/kosada/node/5096

Public Member Functions

 VuoMenu (QWidget *parent=0)
 If the menu is shown with its normal window flags, it never releases focus.
 

Constructor & Destructor Documentation

VuoMenu::VuoMenu ( QWidget *  parent = 0)

If the menu is shown with its normal window flags, it never releases focus.

Giving it these alternate window flags avoids that.


The documentation for this class was generated from the following files: