Mac-specific: Interaction with Mac OS application menu (issue #255)

This commit is contained in:
Abs62 2013-04-02 17:22:20 +04:00
parent 88fc0c3110
commit 0f041a5b80

View file

@ -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>&amp;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>&amp;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&amp;up</string>
</property>
<property name="menuRole">
<enum>QAction::NoRole</enum>
</property>
</action>
<action name="printPreview">
<property name="text">
<string>Print Pre&amp;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>&amp;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>&amp;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>&amp;Export</string>
</property>
<property name="menuRole">
<enum>QAction::NoRole</enum>
</property>
</action>
<action name="importHistory">
<property name="text">
<string>&amp;Import</string>
</property>
<property name="menuRole">
<enum>QAction::NoRole</enum>
</property>
</action>
<action name="alwaysOnTop">
<property name="checkable">