diff options
Diffstat (limited to 'src/controls/Styles/Base/MenuStyle.qml')
-rw-r--r-- | src/controls/Styles/Base/MenuStyle.qml | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/controls/Styles/Base/MenuStyle.qml b/src/controls/Styles/Base/MenuStyle.qml index 6e9f8b0e..a2a3862f 100644 --- a/src/controls/Styles/Base/MenuStyle.qml +++ b/src/controls/Styles/Base/MenuStyle.qml @@ -93,7 +93,9 @@ Style { /*! The number of milliseconds to wait before opening a submenu. */ property int submenuPopupDelay: 200 - /*! Returns a rich-text string to render mnemonics for a given menu item. + /*! + \qmlmethod string MenuStyle::formatMnemonic(string text, bool underline = false) + Returns a rich-text string to render mnemonics for a given menu item. The mnemonic character is prefixed by an ampersand in the original string. |