summaryrefslogtreecommitdiff
path: root/tests/applications/positioning_backend/widget.ui
diff options
context:
space:
mode:
authorOliver Wolff <oliver.wolff@qt.io>2019-01-03 13:43:43 +0100
committerOliver Wolff <oliver.wolff@qt.io>2019-01-24 06:08:02 +0000
commitc4aaa11d86d419d1aa216beaaf7424c713b78c8e (patch)
treeb805109e552115401ebaa950b1006ff267b0ffa9 /tests/applications/positioning_backend/widget.ui
parentb17c07dc0b947c979372fbaf558ce9acc07d1837 (diff)
downloadqtlocation-c4aaa11d86d419d1aa216beaaf7424c713b78c8e.tar.gz
test app: Improve status and error handling a bit
- Reset "running" check box if an error occurs - Add check box to manually reset position source's error code, as error is not emitted with NoError - There is no need to handle the "OK" case in errorChanged, as the corresponding signal will not be emitted for NoError Change-Id: I53d637c8efd807d6c3e8abff98963585fe74f220 Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
Diffstat (limited to 'tests/applications/positioning_backend/widget.ui')
-rw-r--r--tests/applications/positioning_backend/widget.ui23
1 files changed, 17 insertions, 6 deletions
diff --git a/tests/applications/positioning_backend/widget.ui b/tests/applications/positioning_backend/widget.ui
index a96a83f6..9cb1566d 100644
--- a/tests/applications/positioning_backend/widget.ui
+++ b/tests/applications/positioning_backend/widget.ui
@@ -135,11 +135,22 @@
</widget>
</item>
<item row="11" column="1">
- <widget class="QLabel" name="labelErrorState">
- <property name="text">
- <string>N/A</string>
- </property>
- </widget>
+ <layout class="QHBoxLayout" name="horizontalLayout_4">
+ <item>
+ <widget class="QLabel" name="labelErrorState">
+ <property name="text">
+ <string>N/A</string>
+ </property>
+ </widget>
+ </item>
+ <item>
+ <widget class="QPushButton" name="buttonResetError">
+ <property name="text">
+ <string>Reset</string>
+ </property>
+ </widget>
+ </item>
+ </layout>
</item>
<item row="10" column="1">
<layout class="QHBoxLayout" name="horizontalLayout_3">
@@ -199,7 +210,7 @@
<rect>
<x>43</x>
<y>21</y>
- <width>251</width>
+ <width>254</width>
<height>71</height>
</rect>
</property>