Obsolete Members for QMenu
The following members of class QMenu are obsolete. They are provided to keep old source code working. We strongly advise against using them in new code.
相关非成员
(obsolete) void | qt_mac_set_dock_menu(QMenu *menu) |
相关非成员
void qt_mac_set_dock_menu(QMenu *menu)
Sets this menu to be the dock menu available by option-clicking on the application dock icon. Available on macOS only.
Deprecated; use QMenu::setAsDockMenu() instead.