diff options
author | Bradley T. Hughes <bradley.hughes@nokia.com> | 2012-03-27 12:05:41 +0200 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2012-03-27 19:26:45 +0200 |
commit | aea0b24d69253285e23bbc2eeaac29b5d19cd868 (patch) | |
tree | 6bece1b4573c7618f36de675c0a5f34ef1763ab0 /tests/manual/windowmodality/widget.ui | |
parent | 798ccb30cfdbdd4b9d6febe3d66ade54dd36112f (diff) |
Add manual test for window modality
This test allows us to recreate any modal scenario. Multiple top-level
windows with any depth of window and application modal dialogs is
possible.
Change-Id: Ieef2c557d2f9ad2d2b2d2b598e9415f4c1e2dcb5
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@nokia.com>
Diffstat (limited to 'tests/manual/windowmodality/widget.ui')
-rw-r--r-- | tests/manual/windowmodality/widget.ui | 115 |
1 files changed, 115 insertions, 0 deletions
diff --git a/tests/manual/windowmodality/widget.ui b/tests/manual/windowmodality/widget.ui new file mode 100644 index 0000000000..cc3bf854ec --- /dev/null +++ b/tests/manual/windowmodality/widget.ui @@ -0,0 +1,115 @@ +<ui version="4.0" > + <author></author> + <comment></comment> + <exportmacro></exportmacro> + <class>Widget</class> + <widget class="QWidget" name="Widget" > + <property name="geometry" > + <rect> + <x>0</x> + <y>0</y> + <width>568</width> + <height>473</height> + </rect> + </property> + <property name="windowTitle" > + <string>Form</string> + </property> + <layout class="QVBoxLayout" > + <property name="margin" > + <number>40</number> + </property> + <property name="spacing" > + <number>6</number> + </property> + <item> + <widget class="QGroupBox" name="groupBox" > + <property name="title" > + <string>New Window Type</string> + </property> + <layout class="QVBoxLayout" > + <property name="margin" > + <number>8</number> + </property> + <property name="spacing" > + <number>6</number> + </property> + <item> + <widget class="QPushButton" name="windowButton" > + <property name="text" > + <string>Window</string> + </property> + </widget> + </item> + <item> + <widget class="QPushButton" name="groupLeaderButton" > + <property name="text" > + <string>Window (Group Leader)</string> + </property> + </widget> + </item> + <item> + <widget class="QPushButton" name="modelessButton" > + <property name="text" > + <string>Modeless Dialog</string> + </property> + </widget> + </item> + <item> + <widget class="QPushButton" name="modelessNoParentButton" > + <property name="text" > + <string>Modeless Dialog w/ no parent</string> + </property> + </widget> + </item> + <item> + <widget class="QPushButton" name="windowModalButton" > + <property name="text" > + <string>Window Modal Dialog</string> + </property> + </widget> + </item> + <item> + <widget class="QPushButton" name="windowModalNoParentButton" > + <property name="text" > + <string>Window Modal Dialog w/ no parent</string> + </property> + </widget> + </item> + <item> + <widget class="QPushButton" name="windowModalChildButton" > + <property name="text" > + <string>Window Modal Child Widget (hidden after 5 seconds)</string> + </property> + </widget> + </item> + <item> + <widget class="QPushButton" name="applicationModalButton" > + <property name="text" > + <string>Application Modal Dialog</string> + </property> + </widget> + </item> + <item> + <widget class="QPushButton" name="applicationModalNoParentButton" > + <property name="text" > + <string>Application Modal Dialog w/ no parent</string> + </property> + </widget> + </item> + <item> + <widget class="QPushButton" name="applicationModalChildButton" > + <property name="text" > + <string>Application Modal Child Widget (hidden after 5 seconds)</string> + </property> + </widget> + </item> + </layout> + </widget> + </item> + </layout> + </widget> + <pixmapfunction></pixmapfunction> + <resources/> + <connections/> +</ui> |