summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--examples/terminal/mainwindow.ui25
1 files changed, 20 insertions, 5 deletions
diff --git a/examples/terminal/mainwindow.ui b/examples/terminal/mainwindow.ui
index 7e65b41..fd0c080 100644
--- a/examples/terminal/mainwindow.ui
+++ b/examples/terminal/mainwindow.ui
@@ -65,11 +65,14 @@
<widget class="QStatusBar" name="statusBar"/>
<action name="actionAbout">
<property name="text">
- <string>About</string>
+ <string>&amp;About</string>
</property>
<property name="toolTip">
<string>About program</string>
</property>
+ <property name="shortcut">
+ <string>Alt+A</string>
+ </property>
</action>
<action name="actionAboutQt">
<property name="text">
@@ -82,11 +85,14 @@
<normaloff>:/images/connect.png</normaloff>:/images/connect.png</iconset>
</property>
<property name="text">
- <string>Connect</string>
+ <string>C&amp;onnect</string>
</property>
<property name="toolTip">
<string>Connect to serial port</string>
</property>
+ <property name="shortcut">
+ <string>Ctrl+O</string>
+ </property>
</action>
<action name="actionDisconnect">
<property name="icon">
@@ -94,11 +100,14 @@
<normaloff>:/images/disconnect.png</normaloff>:/images/disconnect.png</iconset>
</property>
<property name="text">
- <string>Disconnect</string>
+ <string>&amp;Disconnect</string>
</property>
<property name="toolTip">
<string>Disconnect from serial port</string>
</property>
+ <property name="shortcut">
+ <string>Ctrl+D</string>
+ </property>
</action>
<action name="actionConfigure">
<property name="icon">
@@ -106,11 +115,14 @@
<normaloff>:/images/settings.png</normaloff>:/images/settings.png</iconset>
</property>
<property name="text">
- <string>Configure</string>
+ <string>&amp;Configure</string>
</property>
<property name="toolTip">
<string>Configure serial port</string>
</property>
+ <property name="shortcut">
+ <string>Alt+C</string>
+ </property>
</action>
<action name="actionClear">
<property name="icon">
@@ -118,11 +130,14 @@
<normaloff>:/images/clear.png</normaloff>:/images/clear.png</iconset>
</property>
<property name="text">
- <string>Clear</string>
+ <string>C&amp;lear</string>
</property>
<property name="toolTip">
<string>Clear data</string>
</property>
+ <property name="shortcut">
+ <string>Alt+L</string>
+ </property>
</action>
</widget>
<layoutdefault spacing="6" margin="11"/>