Maemo: Add some keyboard shortcuts to dialog.

This commit is contained in:
Christian Kandeler
2010-12-06 14:19:02 +01:00
parent b477441ef9
commit addc149b57
5 changed files with 79 additions and 52 deletions

View File

@@ -24,7 +24,10 @@
<item row="0" column="0"> <item row="0" column="0">
<widget class="QLabel" name="configurationLabel"> <widget class="QLabel" name="configurationLabel">
<property name="text"> <property name="text">
<string>Configuration:</string> <string>&amp;Configuration:</string>
</property>
<property name="buddy">
<cstring>configurationComboBox</cstring>
</property> </property>
</widget> </widget>
</item> </item>
@@ -70,7 +73,10 @@
<item row="0" column="0"> <item row="0" column="0">
<widget class="QLabel" name="deviceNameLabel"> <widget class="QLabel" name="deviceNameLabel">
<property name="text"> <property name="text">
<string>Name</string> <string>&amp;Name</string>
</property>
<property name="buddy">
<cstring>nameLineEdit</cstring>
</property> </property>
</widget> </widget>
</item> </item>
@@ -100,7 +106,7 @@
<item> <item>
<widget class="QRadioButton" name="simulatorButton"> <widget class="QRadioButton" name="simulatorButton">
<property name="text"> <property name="text">
<string>Maemo emulator</string> <string>Maemo &amp;emulator</string>
</property> </property>
</widget> </widget>
</item> </item>
@@ -130,7 +136,7 @@
<item> <item>
<widget class="QRadioButton" name="keyButton"> <widget class="QRadioButton" name="keyButton">
<property name="text"> <property name="text">
<string>Key</string> <string>&amp;Key</string>
</property> </property>
</widget> </widget>
</item> </item>
@@ -140,7 +146,10 @@
<item row="3" column="0"> <item row="3" column="0">
<widget class="QLabel" name="hostNameLabel"> <widget class="QLabel" name="hostNameLabel">
<property name="text"> <property name="text">
<string>Host name:</string> <string>&amp;Host name:</string>
</property>
<property name="buddy">
<cstring>hostLineEdit</cstring>
</property> </property>
</widget> </widget>
</item> </item>
@@ -154,7 +163,10 @@
<item row="4" column="0"> <item row="4" column="0">
<widget class="QLabel" name="sshPortLabel"> <widget class="QLabel" name="sshPortLabel">
<property name="text"> <property name="text">
<string>SSH port:</string> <string>&amp;SSH port:</string>
</property>
<property name="buddy">
<cstring>sshPortSpinBox</cstring>
</property> </property>
</widget> </widget>
</item> </item>
@@ -193,6 +205,9 @@
<property name="text"> <property name="text">
<string>Free ports:</string> <string>Free ports:</string>
</property> </property>
<property name="buddy">
<cstring>portsLineEdit</cstring>
</property>
</widget> </widget>
</item> </item>
<item row="5" column="1"> <item row="5" column="1">
@@ -229,7 +244,10 @@
<item row="6" column="0"> <item row="6" column="0">
<widget class="QLabel" name="connectionTimeoutLabel"> <widget class="QLabel" name="connectionTimeoutLabel">
<property name="text"> <property name="text">
<string>Connection timeout:</string> <string>Connection time&amp;out:</string>
</property>
<property name="buddy">
<cstring>timeoutSpinBox</cstring>
</property> </property>
</widget> </widget>
</item> </item>
@@ -269,7 +287,10 @@
<item row="7" column="0"> <item row="7" column="0">
<widget class="QLabel" name="userNameLabel"> <widget class="QLabel" name="userNameLabel">
<property name="text"> <property name="text">
<string>Username:</string> <string>&amp;Username:</string>
</property>
<property name="buddy">
<cstring>userLineEdit</cstring>
</property> </property>
</widget> </widget>
</item> </item>
@@ -279,7 +300,10 @@
<item row="8" column="0"> <item row="8" column="0">
<widget class="QLabel" name="passwordLabel"> <widget class="QLabel" name="passwordLabel">
<property name="text"> <property name="text">
<string>Password:</string> <string>&amp;Password:</string>
</property>
<property name="buddy">
<cstring>pwdLineEdit</cstring>
</property> </property>
</widget> </widget>
</item> </item>
@@ -304,7 +328,7 @@
<item row="9" column="0"> <item row="9" column="0">
<widget class="QLabel" name="keyLabel"> <widget class="QLabel" name="keyLabel">
<property name="text"> <property name="text">
<string>Private key file:</string> <string>Private key &amp;file:</string>
</property> </property>
</widget> </widget>
</item> </item>
@@ -324,7 +348,7 @@
<item> <item>
<widget class="QPushButton" name="addConfigButton"> <widget class="QPushButton" name="addConfigButton">
<property name="text"> <property name="text">
<string>Add</string> <string>&amp;Add</string>
</property> </property>
</widget> </widget>
</item> </item>
@@ -334,7 +358,7 @@
<bool>false</bool> <bool>false</bool>
</property> </property>
<property name="text"> <property name="text">
<string>Remove</string> <string>&amp;Remove</string>
</property> </property>
</widget> </widget>
</item> </item>
@@ -344,7 +368,7 @@
<bool>false</bool> <bool>false</bool>
</property> </property>
<property name="text"> <property name="text">
<string>Test</string> <string>&amp;Test</string>
</property> </property>
</widget> </widget>
</item> </item>
@@ -354,7 +378,7 @@
<bool>false</bool> <bool>false</bool>
</property> </property>
<property name="text"> <property name="text">
<string>Generate SSH Key ...</string> <string>&amp;Generate SSH Key ...</string>
</property> </property>
</widget> </widget>
</item> </item>
@@ -364,7 +388,7 @@
<bool>false</bool> <bool>false</bool>
</property> </property>
<property name="text"> <property name="text">
<string>Deploy Public Key ...</string> <string>&amp;Deploy Public Key ...</string>
</property> </property>
</widget> </widget>
</item> </item>
@@ -445,8 +469,8 @@
<slot>userNameEditingFinished()</slot> <slot>userNameEditingFinished()</slot>
<hints> <hints>
<hint type="sourcelabel"> <hint type="sourcelabel">
<x>384</x> <x>430</x>
<y>302</y> <y>274</y>
</hint> </hint>
<hint type="destinationlabel"> <hint type="destinationlabel">
<x>422</x> <x>422</x>
@@ -461,8 +485,8 @@
<slot>passwordEditingFinished()</slot> <slot>passwordEditingFinished()</slot>
<hints> <hints>
<hint type="sourcelabel"> <hint type="sourcelabel">
<x>256</x> <x>306</x>
<y>334</y> <y>302</y>
</hint> </hint>
<hint type="destinationlabel"> <hint type="destinationlabel">
<x>423</x> <x>423</x>
@@ -541,8 +565,8 @@
<slot>keyFileEditingFinished()</slot> <slot>keyFileEditingFinished()</slot>
<hints> <hints>
<hint type="sourcelabel"> <hint type="sourcelabel">
<x>384</x> <x>430</x>
<y>356</y> <y>323</y>
</hint> </hint>
<hint type="destinationlabel"> <hint type="destinationlabel">
<x>257</x> <x>257</x>
@@ -557,8 +581,8 @@
<slot>keyFileEditingFinished()</slot> <slot>keyFileEditingFinished()</slot>
<hints> <hints>
<hint type="sourcelabel"> <hint type="sourcelabel">
<x>384</x> <x>430</x>
<y>356</y> <y>323</y>
</hint> </hint>
<hint type="destinationlabel"> <hint type="destinationlabel">
<x>257</x> <x>257</x>
@@ -653,8 +677,8 @@
<slot>timeoutEditingFinished()</slot> <slot>timeoutEditingFinished()</slot>
<hints> <hints>
<hint type="sourcelabel"> <hint type="sourcelabel">
<x>237</x> <x>217</x>
<y>270</y> <y>245</y>
</hint> </hint>
<hint type="destinationlabel"> <hint type="destinationlabel">
<x>6</x> <x>6</x>
@@ -669,8 +693,8 @@
<slot>timeoutEditingFinished()</slot> <slot>timeoutEditingFinished()</slot>
<hints> <hints>
<hint type="sourcelabel"> <hint type="sourcelabel">
<x>237</x> <x>217</x>
<y>270</y> <y>245</y>
</hint> </hint>
<hint type="destinationlabel"> <hint type="destinationlabel">
<x>0</x> <x>0</x>
@@ -685,8 +709,8 @@
<slot>sshPortEditingFinished()</slot> <slot>sshPortEditingFinished()</slot>
<hints> <hints>
<hint type="sourcelabel"> <hint type="sourcelabel">
<x>228</x> <x>210</x>
<y>200</y> <y>189</y>
</hint> </hint>
<hint type="destinationlabel"> <hint type="destinationlabel">
<x>4</x> <x>4</x>
@@ -701,8 +725,8 @@
<slot>sshPortEditingFinished()</slot> <slot>sshPortEditingFinished()</slot>
<hints> <hints>
<hint type="sourcelabel"> <hint type="sourcelabel">
<x>230</x> <x>210</x>
<y>204</y> <y>189</y>
</hint> </hint>
<hint type="destinationlabel"> <hint type="destinationlabel">
<x>3</x> <x>3</x>
@@ -717,8 +741,8 @@
<slot>showPassword(bool)</slot> <slot>showPassword(bool)</slot>
<hints> <hints>
<hint type="sourcelabel"> <hint type="sourcelabel">
<x>383</x> <x>429</x>
<y>332</y> <y>301</y>
</hint> </hint>
<hint type="destinationlabel"> <hint type="destinationlabel">
<x>3</x> <x>3</x>
@@ -733,8 +757,8 @@
<slot>handleFreePortsChanged()</slot> <slot>handleFreePortsChanged()</slot>
<hints> <hints>
<hint type="sourcelabel"> <hint type="sourcelabel">
<x>184</x> <x>259</x>
<y>225</y> <y>218</y>
</hint> </hint>
<hint type="destinationlabel"> <hint type="destinationlabel">
<x>0</x> <x>0</x>
@@ -749,8 +773,8 @@
<slot>showRemoteProcesses()</slot> <slot>showRemoteProcesses()</slot>
<hints> <hints>
<hint type="sourcelabel"> <hint type="sourcelabel">
<x>443</x> <x>591</x>
<y>183</y> <y>198</y>
</hint> </hint>
<hint type="destinationlabel"> <hint type="destinationlabel">
<x>598</x> <x>598</x>

View File

@@ -29,14 +29,14 @@
<item> <item>
<widget class="QPushButton" name="checkAllButton"> <widget class="QPushButton" name="checkAllButton">
<property name="text"> <property name="text">
<string>Check all</string> <string>&amp;Check all</string>
</property> </property>
</widget> </widget>
</item> </item>
<item> <item>
<widget class="QPushButton" name="uncheckAllButton"> <widget class="QPushButton" name="uncheckAllButton">
<property name="text"> <property name="text">
<string>Uncheck All</string> <string>&amp;Uncheck All</string>
</property> </property>
</widget> </widget>
</item> </item>

View File

@@ -23,21 +23,21 @@
<item> <item>
<widget class="QRadioButton" name="hardwareAccelerationButton"> <widget class="QRadioButton" name="hardwareAccelerationButton">
<property name="text"> <property name="text">
<string>Hardware Acceleration</string> <string>&amp;Hardware Acceleration</string>
</property> </property>
</widget> </widget>
</item> </item>
<item> <item>
<widget class="QRadioButton" name="softwareRenderingButton"> <widget class="QRadioButton" name="softwareRenderingButton">
<property name="text"> <property name="text">
<string>Software Rendering</string> <string>&amp;Software Rendering</string>
</property> </property>
</widget> </widget>
</item> </item>
<item> <item>
<widget class="QRadioButton" name="autoDetectButton"> <widget class="QRadioButton" name="autoDetectButton">
<property name="text"> <property name="text">
<string>Auto-detect</string> <string>&amp;Auto-detect</string>
</property> </property>
</widget> </widget>
</item> </item>

View File

@@ -19,7 +19,7 @@
<item> <item>
<widget class="QLabel" name="filterLabel"> <widget class="QLabel" name="filterLabel">
<property name="text"> <property name="text">
<string>Filter by process name:</string> <string>&amp;Filter by process name:</string>
</property> </property>
</widget> </widget>
</item> </item>
@@ -67,14 +67,14 @@
<item> <item>
<widget class="QPushButton" name="updateListButton"> <widget class="QPushButton" name="updateListButton">
<property name="text"> <property name="text">
<string>Update List</string> <string>&amp;Update List</string>
</property> </property>
</widget> </widget>
</item> </item>
<item> <item>
<widget class="QPushButton" name="killProcessButton"> <widget class="QPushButton" name="killProcessButton">
<property name="text"> <property name="text">
<string>Kill Selected Process</string> <string>&amp;Kill Selected Process</string>
</property> </property>
</widget> </widget>
</item> </item>

View File

@@ -44,7 +44,10 @@
</sizepolicy> </sizepolicy>
</property> </property>
<property name="text"> <property name="text">
<string>Key size:</string> <string>Key &amp;size:</string>
</property>
<property name="buddy">
<cstring>comboBox</cstring>
</property> </property>
</widget> </widget>
</item> </item>
@@ -98,7 +101,7 @@
</sizepolicy> </sizepolicy>
</property> </property>
<property name="text"> <property name="text">
<string>RSA</string> <string>&amp;RSA</string>
</property> </property>
<property name="checked"> <property name="checked">
<bool>true</bool> <bool>true</bool>
@@ -114,7 +117,7 @@
</sizepolicy> </sizepolicy>
</property> </property>
<property name="text"> <property name="text">
<string>DSA</string> <string>&amp;DSA</string>
</property> </property>
</widget> </widget>
</item> </item>
@@ -175,7 +178,7 @@
<item> <item>
<widget class="QPushButton" name="generateButton"> <widget class="QPushButton" name="generateButton">
<property name="text"> <property name="text">
<string>Generate SSH Key</string> <string>&amp;Generate SSH Key</string>
</property> </property>
</widget> </widget>
</item> </item>
@@ -198,7 +201,7 @@
<bool>false</bool> <bool>false</bool>
</property> </property>
<property name="text"> <property name="text">
<string>Save Public Key...</string> <string>Save P&amp;ublic Key...</string>
</property> </property>
</widget> </widget>
</item> </item>
@@ -208,7 +211,7 @@
<bool>false</bool> <bool>false</bool>
</property> </property>
<property name="text"> <property name="text">
<string>Save Private Key...</string> <string>Save Pr&amp;ivate Key...</string>
</property> </property>
</widget> </widget>
</item> </item>
@@ -235,7 +238,7 @@
<item> <item>
<widget class="QPushButton" name="closeButton"> <widget class="QPushButton" name="closeButton">
<property name="text"> <property name="text">
<string>Close</string> <string>&amp;Close</string>
</property> </property>
</widget> </widget>
</item> </item>