Skip to content

Commit

Permalink
Populate native menu bar with existing actions.
Browse files Browse the repository at this point in the history
For HID and Accesibility compliancy #83.
  • Loading branch information
shinnok committed Jun 20, 2016
1 parent 9d6e007 commit 919c2de
Show file tree
Hide file tree
Showing 3 changed files with 175 additions and 60 deletions.
65 changes: 46 additions & 19 deletions forms/mainwindow.ui
Original file line number Diff line number Diff line change
Expand Up @@ -1226,7 +1226,7 @@ color: blue;
</size>
</property>
<property name="toolTip">
<string>Login to Tarsnap website to update credit and machine activity</string>
<string>Login to Tarsnap website to update credit and machine activity &lt;span style=&quot;color:gray;font-size:small&quot;&gt;%1&lt;/span&gt;</string>
</property>
<property name="text">
<string>update</string>
Expand Down Expand Up @@ -2147,7 +2147,7 @@ Jobs tab

Settings tab
------------
%1R - refresh Account Summary
%1U - update Account Summary
</string>
</property>
</widget>
Expand Down Expand Up @@ -2402,59 +2402,75 @@ border: none;
<normaloff>:/icons/magnifying-glass.png</normaloff>:/icons/magnifying-glass.png</iconset>
</property>
<property name="text">
<string>Browse for items</string>
<string>Open File Browser</string>
</property>
<property name="toolTip">
<string>Browse for files and directories</string>
<string>Set files and directories for the Backup tab</string>
</property>
<property name="shortcut">
<string>Ctrl+O</string>
</property>
</action>
<action name="actionGoBackup">
<property name="text">
<string>GoBackup</string>
<string>Go to Backup</string>
</property>
<property name="toolTip">
<string>Switch to Backup pane</string>
</property>
<property name="shortcut">
<string>Ctrl+1</string>
</property>
</action>
<action name="actionGoArchives">
<property name="text">
<string>GoArchives</string>
<string>Go to Archives</string>
</property>
<property name="toolTip">
<string>GoArchives</string>
<string>Switch to Archives pane</string>
</property>
<property name="shortcut">
<string>Ctrl+2</string>
</property>
</action>
<action name="actionGoJobs">
<property name="text">
<string>GoJobs</string>
<string>Go to Jobs</string>
</property>
<property name="toolTip">
<string>Switch to Jobs pane</string>
</property>
<property name="shortcut">
<string>Ctrl+3</string>
</property>
</action>
<action name="actionGoSettings">
<property name="text">
<string>GoSettings</string>
<string>Go to Settings</string>
</property>
<property name="toolTip">
<string>Switch to Settings pane</string>
</property>
<property name="shortcut">
<string>Ctrl+4</string>
</property>
</action>
<action name="actionGoHelp">
<property name="text">
<string>GoHelp</string>
<string>Go to Help</string>
</property>
<property name="toolTip">
<string>Switch to Help pane</string>
</property>
<property name="shortcut">
<string>Ctrl+5</string>
</property>
</action>
<action name="actionAddJob">
<property name="icon">
<iconset resource="../resources/resources.qrc">
<normaloff>:/icons/hard-drive.png</normaloff>:/icons/hard-drive.png</iconset>
</property>
<property name="text">
<string>Add Job</string>
</property>
Expand All @@ -2467,13 +2483,13 @@ border: none;
</action>
<action name="actionRefreshAccount">
<property name="text">
<string>Refresh account</string>
<string>Update account details</string>
</property>
<property name="toolTip">
<string>Refresh Tarsnap account details</string>
<string>Update Tarsnap account details from website</string>
</property>
<property name="shortcut">
<string>Ctrl+R</string>
<string>Ctrl+U</string>
</property>
</action>
<action name="actionBackupAllJobs">
Expand All @@ -2482,7 +2498,7 @@ border: none;
<normaloff>:/icons/tarsnap-icon.png</normaloff>:/icons/tarsnap-icon.png</iconset>
</property>
<property name="text">
<string>Backup all jobs</string>
<string>Backup all Jobs</string>
</property>
<property name="toolTip">
<string>Backup all jobs now</string>
Expand Down Expand Up @@ -2621,18 +2637,18 @@ border: none;
<normaloff>:/icons/hard-drive.png</normaloff>:/icons/hard-drive.png</iconset>
</property>
<property name="text">
<string>Create Job</string>
<string>Morph into Job</string>
</property>
<property name="toolTip">
<string>Create Job from current Backup list</string>
</property>
</action>
<action name="actionShowFilter">
<action name="actionFilterArchives">
<property name="text">
<string>showFilter</string>
<string>Filter and search</string>
</property>
<property name="toolTip">
<string>Show/hide filter</string>
<string>Filter and search Archives list</string>
</property>
<property name="shortcut">
<string>Ctrl+F</string>
Expand All @@ -2658,12 +2674,23 @@ border: none;
<string>Stop tasks</string>
</property>
<property name="toolTip">
<string>Stop running tasks or clear queued one</string>
<string>Stop, interrupt or clear queued tasks</string>
</property>
<property name="shortcut">
<string>Ctrl+K</string>
</property>
</action>
<action name="actionFilterJobs">
<property name="text">
<string>Filter and search</string>
</property>
<property name="toolTip">
<string>Filter and search Jobs list</string>
</property>
<property name="shortcut">
<string>Ctrl+F</string>
</property>
</action>
</widget>
<layoutdefault spacing="6" margin="11"/>
<customwidgets>
Expand Down
Loading

0 comments on commit 919c2de

Please sign in to comment.