comp • gb.qt4 • menu • proxy

Menu.Proxy (gb.qt4)

Property Proxy As Menu

Return or set the proxy of a menu.

When the menu will be selected, the proxy menu will popup as if its children were children of that menu.

In other words, it allows to plug the children of a menu into another menu without having to recreate them.

If the menu already had children, they are temporarily hidden. If you set back the proxy to NULL, they became available again.