Commit d5b2954d authored by Christian Kandeler's avatar Christian Kandeler
Browse files

Maemo: Force focus change on button click in device dialog.

Not very nice, because it overrides platform behaviour.
The alternatives seem uglier, though.

Task-number: QTCREATORBUG-2860
parent 49f7b1dc
...@@ -355,6 +355,9 @@ ...@@ -355,6 +355,9 @@
<layout class="QVBoxLayout" name="verticalLayout"> <layout class="QVBoxLayout" name="verticalLayout">
<item> <item>
<widget class="QPushButton" name="addConfigButton"> <widget class="QPushButton" name="addConfigButton">
<property name="focusPolicy">
<enum>Qt::StrongFocus</enum>
</property>
<property name="text"> <property name="text">
<string>&amp;Add</string> <string>&amp;Add</string>
</property> </property>
...@@ -365,6 +368,9 @@ ...@@ -365,6 +368,9 @@
<property name="enabled"> <property name="enabled">
<bool>false</bool> <bool>false</bool>
</property> </property>
<property name="focusPolicy">
<enum>Qt::StrongFocus</enum>
</property>
<property name="text"> <property name="text">
<string>&amp;Remove</string> <string>&amp;Remove</string>
</property> </property>
...@@ -375,6 +381,9 @@ ...@@ -375,6 +381,9 @@
<property name="enabled"> <property name="enabled">
<bool>false</bool> <bool>false</bool>
</property> </property>
<property name="focusPolicy">
<enum>Qt::StrongFocus</enum>
</property>
<property name="toolTip"> <property name="toolTip">
<string>Click here to check whether this device is properly set up to run Maemo projects.</string> <string>Click here to check whether this device is properly set up to run Maemo projects.</string>
</property> </property>
...@@ -388,6 +397,9 @@ ...@@ -388,6 +397,9 @@
<property name="enabled"> <property name="enabled">
<bool>false</bool> <bool>false</bool>
</property> </property>
<property name="focusPolicy">
<enum>Qt::StrongFocus</enum>
</property>
<property name="toolTip"> <property name="toolTip">
<string>Click here if you don't have an SSH key yet.</string> <string>Click here if you don't have an SSH key yet.</string>
</property> </property>
...@@ -401,6 +413,9 @@ ...@@ -401,6 +413,9 @@
<property name="enabled"> <property name="enabled">
<bool>false</bool> <bool>false</bool>
</property> </property>
<property name="focusPolicy">
<enum>Qt::StrongFocus</enum>
</property>
<property name="toolTip"> <property name="toolTip">
<string>This will enable you to log into the device without a password.</string> <string>This will enable you to log into the device without a password.</string>
</property> </property>
...@@ -414,6 +429,9 @@ ...@@ -414,6 +429,9 @@
<property name="enabled"> <property name="enabled">
<bool>false</bool> <bool>false</bool>
</property> </property>
<property name="focusPolicy">
<enum>Qt::StrongFocus</enum>
</property>
<property name="toolTip"> <property name="toolTip">
<string>Click here to see which processes are running on the device.</string> <string>Click here to see which processes are running on the device.</string>
</property> </property>
...@@ -427,6 +445,9 @@ ...@@ -427,6 +445,9 @@
<property name="enabled"> <property name="enabled">
<bool>false</bool> <bool>false</bool>
</property> </property>
<property name="focusPolicy">
<enum>Qt::StrongFocus</enum>
</property>
<property name="text"> <property name="text">
<string>Set As Default</string> <string>Set As Default</string>
</property> </property>
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment