diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2017-05-06 13:34:41 +0200 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2017-05-10 11:19:22 +0200 |
commit | e7cdb5b6a0e0152297369d57774caae307e1be77 (patch) | |
tree | d65443cc0c3f6d358fe1e74346e3eab64d5193f5 /tracker-test/test.ui | |
parent | ba038ce052af5ada52a0117c9f13e44cf1c63f1c (diff) |
tracker/test: add a quick way to crash the application
Don't leave home without it.
Diffstat (limited to 'tracker-test/test.ui')
-rw-r--r-- | tracker-test/test.ui | 25 |
1 files changed, 22 insertions, 3 deletions
diff --git a/tracker-test/test.ui b/tracker-test/test.ui index 1141d584..556b19a3 100644 --- a/tracker-test/test.ui +++ b/tracker-test/test.ui @@ -9,8 +9,8 @@ <rect> <x>0</x> <y>0</y> - <width>184</width> - <height>39</height> + <width>278</width> + <height>58</height> </rect> </property> <property name="windowTitle"> @@ -28,9 +28,28 @@ </property> <layout class="QVBoxLayout" name="verticalLayout"> <item> + <widget class="QLabel" name="label"> + <property name="sizePolicy"> + <sizepolicy hsizetype="Minimum" vsizetype="Maximum"> + <horstretch>0</horstretch> + <verstretch>0</verstretch> + </sizepolicy> + </property> + <property name="text"> + <string>Pressing "Abort" will immediately crash the application.</string> + </property> + </widget> + </item> + <item> <widget class="QDialogButtonBox" name="buttonBox"> + <property name="sizePolicy"> + <sizepolicy hsizetype="Minimum" vsizetype="Maximum"> + <horstretch>0</horstretch> + <verstretch>0</verstretch> + </sizepolicy> + </property> <property name="standardButtons"> - <set>QDialogButtonBox::Cancel|QDialogButtonBox::Ok</set> + <set>QDialogButtonBox::Abort|QDialogButtonBox::Close</set> </property> </widget> </item> |