mirror of
https://github.com/xiaoyifang/goldendict-ng.git
synced 2024-11-27 15:24:05 +00:00
Mac-specific: Interaction with Mac OS application menu (issue #255)
This commit is contained in:
parent
88fc0c3110
commit
0f041a5b80
|
@ -321,6 +321,9 @@
|
|||
<property name="shortcut">
|
||||
<string>F3</string>
|
||||
</property>
|
||||
<property name="menuRole">
|
||||
<enum>QAction::NoRole</enum>
|
||||
</property>
|
||||
</action>
|
||||
<action name="preferences">
|
||||
<property name="icon">
|
||||
|
@ -333,11 +336,17 @@
|
|||
<property name="shortcut">
|
||||
<string>F4</string>
|
||||
</property>
|
||||
<property name="menuRole">
|
||||
<enum>QAction::PreferencesRole</enum>
|
||||
</property>
|
||||
</action>
|
||||
<action name="visitHomepage">
|
||||
<property name="text">
|
||||
<string>&Homepage</string>
|
||||
</property>
|
||||
<property name="menuRole">
|
||||
<enum>QAction::NoRole</enum>
|
||||
</property>
|
||||
</action>
|
||||
<action name="about">
|
||||
<property name="text">
|
||||
|
@ -349,6 +358,9 @@
|
|||
<property name="shortcut">
|
||||
<string>F1</string>
|
||||
</property>
|
||||
<property name="menuRole">
|
||||
<enum>QAction::AboutRole</enum>
|
||||
</property>
|
||||
</action>
|
||||
<action name="quit">
|
||||
<property name="text">
|
||||
|
@ -360,11 +372,17 @@
|
|||
<property name="shortcut">
|
||||
<string>Ctrl+Q</string>
|
||||
</property>
|
||||
<property name="menuRole">
|
||||
<enum>QAction::QuitRole</enum>
|
||||
</property>
|
||||
</action>
|
||||
<action name="visitForum">
|
||||
<property name="text">
|
||||
<string>&Forum</string>
|
||||
</property>
|
||||
<property name="menuRole">
|
||||
<enum>QAction::NoRole</enum>
|
||||
</property>
|
||||
</action>
|
||||
<action name="actionCloseToTray">
|
||||
<property name="text">
|
||||
|
@ -376,6 +394,9 @@
|
|||
<property name="shortcut">
|
||||
<string>Ctrl+F4</string>
|
||||
</property>
|
||||
<property name="menuRole">
|
||||
<enum>QAction::NoRole</enum>
|
||||
</property>
|
||||
</action>
|
||||
<action name="saveArticle">
|
||||
<property name="icon">
|
||||
|
@ -391,6 +412,9 @@
|
|||
<property name="shortcut">
|
||||
<string>F2</string>
|
||||
</property>
|
||||
<property name="menuRole">
|
||||
<enum>QAction::NoRole</enum>
|
||||
</property>
|
||||
</action>
|
||||
<action name="print">
|
||||
<property name="icon">
|
||||
|
@ -403,16 +427,25 @@
|
|||
<property name="shortcut">
|
||||
<string>Ctrl+P</string>
|
||||
</property>
|
||||
<property name="menuRole">
|
||||
<enum>QAction::NoRole</enum>
|
||||
</property>
|
||||
</action>
|
||||
<action name="pageSetup">
|
||||
<property name="text">
|
||||
<string>Page Set&up</string>
|
||||
</property>
|
||||
<property name="menuRole">
|
||||
<enum>QAction::NoRole</enum>
|
||||
</property>
|
||||
</action>
|
||||
<action name="printPreview">
|
||||
<property name="text">
|
||||
<string>Print Pre&view</string>
|
||||
</property>
|
||||
<property name="menuRole">
|
||||
<enum>QAction::NoRole</enum>
|
||||
</property>
|
||||
</action>
|
||||
<action name="rescanFiles">
|
||||
<property name="text">
|
||||
|
@ -421,11 +454,17 @@
|
|||
<property name="shortcut">
|
||||
<string>Ctrl+F5</string>
|
||||
</property>
|
||||
<property name="menuRole">
|
||||
<enum>QAction::NoRole</enum>
|
||||
</property>
|
||||
</action>
|
||||
<action name="clearHistory">
|
||||
<property name="text">
|
||||
<string>&Clear</string>
|
||||
</property>
|
||||
<property name="menuRole">
|
||||
<enum>QAction::NoRole</enum>
|
||||
</property>
|
||||
</action>
|
||||
<action name="newTab">
|
||||
<property name="icon">
|
||||
|
@ -441,11 +480,17 @@
|
|||
<property name="shortcutContext">
|
||||
<enum>Qt::WidgetShortcut</enum>
|
||||
</property>
|
||||
<property name="menuRole">
|
||||
<enum>QAction::NoRole</enum>
|
||||
</property>
|
||||
</action>
|
||||
<action name="openConfigFolder">
|
||||
<property name="text">
|
||||
<string>&Configuration Folder</string>
|
||||
</property>
|
||||
<property name="menuRole">
|
||||
<enum>QAction::NoRole</enum>
|
||||
</property>
|
||||
</action>
|
||||
<action name="showHideHistory">
|
||||
<property name="text">
|
||||
|
@ -454,16 +499,25 @@
|
|||
<property name="shortcut">
|
||||
<string>Ctrl+H</string>
|
||||
</property>
|
||||
<property name="menuRole">
|
||||
<enum>QAction::NoRole</enum>
|
||||
</property>
|
||||
</action>
|
||||
<action name="exportHistory">
|
||||
<property name="text">
|
||||
<string>&Export</string>
|
||||
</property>
|
||||
<property name="menuRole">
|
||||
<enum>QAction::NoRole</enum>
|
||||
</property>
|
||||
</action>
|
||||
<action name="importHistory">
|
||||
<property name="text">
|
||||
<string>&Import</string>
|
||||
</property>
|
||||
<property name="menuRole">
|
||||
<enum>QAction::NoRole</enum>
|
||||
</property>
|
||||
</action>
|
||||
<action name="alwaysOnTop">
|
||||
<property name="checkable">
|
||||
|
|
Loading…
Reference in a new issue