summaryrefslogtreecommitdiffstats
path: root/tests/auto/guiapplauncher/test.ui
diff options
context:
space:
mode:
authorFriedemann Kleint <Friedemann.Kleint@nokia.com>2009-11-12 14:26:03 (GMT)
committerFriedemann Kleint <Friedemann.Kleint@nokia.com>2009-11-12 14:26:03 (GMT)
commit58dbae4f9bed45b5657546898f8d0bca5a3d4c56 (patch)
tree98e032439bfa4db03f5fd1a5260c98e28024613d /tests/auto/guiapplauncher/test.ui
parentc976e02286eafe9deaa59fdd98d9bb5b35451d44 (diff)
downloadQt-58dbae4f9bed45b5657546898f8d0bca5a3d4c56.zip
Qt-58dbae4f9bed45b5657546898f8d0bca5a3d4c56.tar.gz
Qt-58dbae4f9bed45b5657546898f8d0bca5a3d4c56.tar.bz2
Autotests: Add gui application launcher test.
X11/Windows: Launch gui application and stop them via Windows manager, check stderr, exit codes, etc. Currently tests Qt Designer, Qt Linguist, Qt Demo and prominent examples/demos. Rubber-stamped-by: Jason McDonald <jason.mcdonald@nokia.com>
Diffstat (limited to 'tests/auto/guiapplauncher/test.ui')
-rw-r--r--tests/auto/guiapplauncher/test.ui66
1 files changed, 66 insertions, 0 deletions
diff --git a/tests/auto/guiapplauncher/test.ui b/tests/auto/guiapplauncher/test.ui
new file mode 100644
index 0000000..02efcd4
--- /dev/null
+++ b/tests/auto/guiapplauncher/test.ui
@@ -0,0 +1,66 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<ui version="4.0">
+ <class>MainWindow</class>
+ <widget class="QMainWindow" name="MainWindow">
+ <property name="geometry">
+ <rect>
+ <x>0</x>
+ <y>0</y>
+ <width>800</width>
+ <height>600</height>
+ </rect>
+ </property>
+ <property name="windowTitle">
+ <string>MainWindow</string>
+ </property>
+ <widget class="QWidget" name="centralwidget">
+ <layout class="QVBoxLayout" name="verticalLayout">
+ <item>
+ <widget class="QPlainTextEdit" name="plainTextEdit"/>
+ </item>
+ </layout>
+ </widget>
+ <widget class="QMenuBar" name="menubar">
+ <property name="geometry">
+ <rect>
+ <x>0</x>
+ <y>0</y>
+ <width>800</width>
+ <height>23</height>
+ </rect>
+ </property>
+ <widget class="QMenu" name="menuFile">
+ <property name="title">
+ <string>File</string>
+ </property>
+ <addaction name="actionExit"/>
+ </widget>
+ <addaction name="menuFile"/>
+ </widget>
+ <widget class="QStatusBar" name="statusbar"/>
+ <action name="actionExit">
+ <property name="text">
+ <string>Exit</string>
+ </property>
+ </action>
+ </widget>
+ <resources/>
+ <connections>
+ <connection>
+ <sender>actionExit</sender>
+ <signal>triggered()</signal>
+ <receiver>MainWindow</receiver>
+ <slot>close()</slot>
+ <hints>
+ <hint type="sourcelabel">
+ <x>-1</x>
+ <y>-1</y>
+ </hint>
+ <hint type="destinationlabel">
+ <x>399</x>
+ <y>299</y>
+ </hint>
+ </hints>
+ </connection>
+ </connections>
+</ui>