That first is documented thusly: > `void qt_set_sequence_auto_mnemonic(bool b)` > > Specifies wheth

That first is documented thusly:
void qt_set_sequence_auto_mnemonic(bool b)

Specifies whether mnemonics for menu items, labels, etc., should be honored or not. On Windows and X11, this feature is on by default; on macOS, it is off. When this feature is off (that is, when b is false), QKeySequence::mnemonic() always returns an empty string.

Note: This function is not declared in any of Qt's header files. To use it in your application, declare the function prototype before calling it.

See also QShortcut.
Was this page helpful?