tests/auto/uic3/baseline/pixmapfunction.ui.4
changeset 0 1918ee327afb
child 4 3b1da2848fc7
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/tests/auto/uic3/baseline/pixmapfunction.ui.4	Mon Jan 11 14:00:40 2010 +0000
@@ -0,0 +1,881 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<ui version="4.0" stdsetdef="1">
+  <author></author>
+  <comment>*********************************************************************
+**
+** Copyright (C) 2009 Nokia Corporation and/or its subsidiary(-ies).
+** All rights reserved.
+** Contact: Nokia Corporation (qt-info@nokia.com)
+**
+** This file is part of the autotests of the Qt Toolkit.
+**
+** $QT_BEGIN_LICENSE:LGPL$
+** No Commercial Usage
+** This file contains pre-release code and may not be distributed.
+** You may use this file in accordance with the terms and conditions
+** contained in the Technology Preview License Agreement accompanying
+** this package.
+**
+** GNU Lesser General Public License Usage
+** Alternatively, this file may be used under the terms of the GNU Lesser
+** General Public License version 2.1 as published by the Free Software
+** Foundation and appearing in the file LICENSE.LGPL included in the
+** packaging of this file.  Please review the following information to
+** ensure the GNU Lesser General Public License version 2.1 requirements
+** will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
+**
+** In addition, as a special exception, Nokia gives you certain additional
+** rights.  These rights are described in the Nokia Qt LGPL Exception
+** version 1.1, included in the file LGPL_EXCEPTION.txt in this package.
+**
+** If you have questions regarding the use of this file, please contact
+** Nokia at qt-info@nokia.com.
+**
+**
+**
+**
+**
+**
+**
+**
+** $QT_END_LICENSE$
+**
+*********************************************************************</comment>
+  <exportmacro></exportmacro>
+  <class>PixmapFunction</class>
+  <widget class="QDialog" name="PixmapFunction">
+    <property name="geometry">
+      <rect>
+        <x>0</x>
+        <y>0</y>
+        <width>300</width>
+        <height>108</height>
+      </rect>
+    </property>
+    <property name="windowTitle">
+      <string>Choose Pixmap</string>
+    </property>
+    <property name="sizeGripEnabled">
+      <bool>true</bool>
+    </property>
+    <layout class="QVBoxLayout">
+      <property name="margin">
+        <number>11</number>
+      </property>
+      <property name="spacing">
+        <number>6</number>
+      </property>
+      <item>
+        <widget class="QLabel" name="TextLabel3">
+          <property name="text">
+            <string>&amp;Enter arguments for loading the pixmap</string>
+          </property>
+          <property name="buddy">
+            <cstring>editArguments</cstring>
+          </property>
+          <property name="wordWrap">
+            <bool>false</bool>
+          </property>
+        </widget>
+      </item>
+      <item>
+        <widget class="Q3Frame" name="Frame9">
+          <property name="frameShadow">
+            <enum>QFrame::Sunken</enum>
+          </property>
+          <property name="frameShape">
+            <enum>QFrame::StyledPanel</enum>
+          </property>
+          <property name="lineWidth">
+            <number>2</number>
+          </property>
+          <layout class="QHBoxLayout">
+            <property name="margin">
+              <number>2</number>
+            </property>
+            <property name="spacing">
+              <number>0</number>
+            </property>
+            <item>
+              <widget class="QLabel" name="labelFunction">
+                <property name="text">
+                  <string>QPixmap(</string>
+                </property>
+                <property name="palette">
+                  <palette>
+                    <active>
+                      <color>
+                        <red>0</red>
+                        <green>0</green>
+                        <blue>0</blue>
+                      </color>
+                      <color>
+                        <red>211</red>
+                        <green>211</green>
+                        <blue>211</blue>
+                      </color>
+                      <color>
+                        <red>255</red>
+                        <green>255</green>
+                        <blue>255</blue>
+                      </color>
+                      <color>
+                        <red>233</red>
+                        <green>233</green>
+                        <blue>233</blue>
+                      </color>
+                      <color>
+                        <red>105</red>
+                        <green>105</green>
+                        <blue>105</blue>
+                      </color>
+                      <color>
+                        <red>140</red>
+                        <green>140</green>
+                        <blue>140</blue>
+                      </color>
+                      <color>
+                        <red>0</red>
+                        <green>0</green>
+                        <blue>0</blue>
+                      </color>
+                      <color>
+                        <red>255</red>
+                        <green>255</green>
+                        <blue>255</blue>
+                      </color>
+                      <color>
+                        <red>0</red>
+                        <green>0</green>
+                        <blue>0</blue>
+                      </color>
+                      <color>
+                        <red>255</red>
+                        <green>255</green>
+                        <blue>255</blue>
+                      </color>
+                      <color>
+                        <red>255</red>
+                        <green>255</green>
+                        <blue>255</blue>
+                      </color>
+                      <color>
+                        <red>0</red>
+                        <green>0</green>
+                        <blue>0</blue>
+                      </color>
+                      <color>
+                        <red>0</red>
+                        <green>0</green>
+                        <blue>128</blue>
+                      </color>
+                      <color>
+                        <red>255</red>
+                        <green>255</green>
+                        <blue>255</blue>
+                      </color>
+                    </active>
+                    <inactive>
+                      <color>
+                        <red>0</red>
+                        <green>0</green>
+                        <blue>0</blue>
+                      </color>
+                      <color>
+                        <red>211</red>
+                        <green>211</green>
+                        <blue>211</blue>
+                      </color>
+                      <color>
+                        <red>255</red>
+                        <green>255</green>
+                        <blue>255</blue>
+                      </color>
+                      <color>
+                        <red>242</red>
+                        <green>242</green>
+                        <blue>242</blue>
+                      </color>
+                      <color>
+                        <red>105</red>
+                        <green>105</green>
+                        <blue>105</blue>
+                      </color>
+                      <color>
+                        <red>140</red>
+                        <green>140</green>
+                        <blue>140</blue>
+                      </color>
+                      <color>
+                        <red>0</red>
+                        <green>0</green>
+                        <blue>0</blue>
+                      </color>
+                      <color>
+                        <red>255</red>
+                        <green>255</green>
+                        <blue>255</blue>
+                      </color>
+                      <color>
+                        <red>0</red>
+                        <green>0</green>
+                        <blue>0</blue>
+                      </color>
+                      <color>
+                        <red>255</red>
+                        <green>255</green>
+                        <blue>255</blue>
+                      </color>
+                      <color>
+                        <red>255</red>
+                        <green>255</green>
+                        <blue>255</blue>
+                      </color>
+                      <color>
+                        <red>0</red>
+                        <green>0</green>
+                        <blue>0</blue>
+                      </color>
+                      <color>
+                        <red>0</red>
+                        <green>0</green>
+                        <blue>128</blue>
+                      </color>
+                      <color>
+                        <red>255</red>
+                        <green>255</green>
+                        <blue>255</blue>
+                      </color>
+                    </inactive>
+                    <disabled>
+                      <color>
+                        <red>128</red>
+                        <green>128</green>
+                        <blue>128</blue>
+                      </color>
+                      <color>
+                        <red>211</red>
+                        <green>211</green>
+                        <blue>211</blue>
+                      </color>
+                      <color>
+                        <red>255</red>
+                        <green>255</green>
+                        <blue>255</blue>
+                      </color>
+                      <color>
+                        <red>242</red>
+                        <green>242</green>
+                        <blue>242</blue>
+                      </color>
+                      <color>
+                        <red>105</red>
+                        <green>105</green>
+                        <blue>105</blue>
+                      </color>
+                      <color>
+                        <red>140</red>
+                        <green>140</green>
+                        <blue>140</blue>
+                      </color>
+                      <color>
+                        <red>0</red>
+                        <green>0</green>
+                        <blue>0</blue>
+                      </color>
+                      <color>
+                        <red>255</red>
+                        <green>255</green>
+                        <blue>255</blue>
+                      </color>
+                      <color>
+                        <red>128</red>
+                        <green>128</green>
+                        <blue>128</blue>
+                      </color>
+                      <color>
+                        <red>255</red>
+                        <green>255</green>
+                        <blue>255</blue>
+                      </color>
+                      <color>
+                        <red>255</red>
+                        <green>255</green>
+                        <blue>255</blue>
+                      </color>
+                      <color>
+                        <red>0</red>
+                        <green>0</green>
+                        <blue>0</blue>
+                      </color>
+                      <color>
+                        <red>0</red>
+                        <green>0</green>
+                        <blue>128</blue>
+                      </color>
+                      <color>
+                        <red>255</red>
+                        <green>255</green>
+                        <blue>255</blue>
+                      </color>
+                    </disabled>
+                  </palette>
+                </property>
+                <property name="wordWrap">
+                  <bool>false</bool>
+                </property>
+              </widget>
+            </item>
+            <item>
+              <widget class="QLineEdit" name="editArguments">
+                <property name="frame">
+                  <bool>false</bool>
+                </property>
+                <property name="palette">
+                  <palette>
+                    <active>
+                      <color>
+                        <red>0</red>
+                        <green>0</green>
+                        <blue>0</blue>
+                      </color>
+                      <color>
+                        <red>211</red>
+                        <green>211</green>
+                        <blue>211</blue>
+                      </color>
+                      <color>
+                        <red>255</red>
+                        <green>255</green>
+                        <blue>255</blue>
+                      </color>
+                      <color>
+                        <red>233</red>
+                        <green>233</green>
+                        <blue>233</blue>
+                      </color>
+                      <color>
+                        <red>105</red>
+                        <green>105</green>
+                        <blue>105</blue>
+                      </color>
+                      <color>
+                        <red>140</red>
+                        <green>140</green>
+                        <blue>140</blue>
+                      </color>
+                      <color>
+                        <red>0</red>
+                        <green>170</green>
+                        <blue>0</blue>
+                      </color>
+                      <color>
+                        <red>255</red>
+                        <green>255</green>
+                        <blue>255</blue>
+                      </color>
+                      <color>
+                        <red>0</red>
+                        <green>0</green>
+                        <blue>0</blue>
+                      </color>
+                      <color>
+                        <red>255</red>
+                        <green>255</green>
+                        <blue>255</blue>
+                      </color>
+                      <color>
+                        <red>211</red>
+                        <green>211</green>
+                        <blue>211</blue>
+                      </color>
+                      <color>
+                        <red>0</red>
+                        <green>0</green>
+                        <blue>0</blue>
+                      </color>
+                      <color>
+                        <red>0</red>
+                        <green>0</green>
+                        <blue>128</blue>
+                      </color>
+                      <color>
+                        <red>255</red>
+                        <green>255</green>
+                        <blue>255</blue>
+                      </color>
+                    </active>
+                    <inactive>
+                      <color>
+                        <red>0</red>
+                        <green>0</green>
+                        <blue>0</blue>
+                      </color>
+                      <color>
+                        <red>211</red>
+                        <green>211</green>
+                        <blue>211</blue>
+                      </color>
+                      <color>
+                        <red>255</red>
+                        <green>255</green>
+                        <blue>255</blue>
+                      </color>
+                      <color>
+                        <red>242</red>
+                        <green>242</green>
+                        <blue>242</blue>
+                      </color>
+                      <color>
+                        <red>105</red>
+                        <green>105</green>
+                        <blue>105</blue>
+                      </color>
+                      <color>
+                        <red>140</red>
+                        <green>140</green>
+                        <blue>140</blue>
+                      </color>
+                      <color>
+                        <red>0</red>
+                        <green>170</green>
+                        <blue>0</blue>
+                      </color>
+                      <color>
+                        <red>255</red>
+                        <green>255</green>
+                        <blue>255</blue>
+                      </color>
+                      <color>
+                        <red>0</red>
+                        <green>0</green>
+                        <blue>0</blue>
+                      </color>
+                      <color>
+                        <red>255</red>
+                        <green>255</green>
+                        <blue>255</blue>
+                      </color>
+                      <color>
+                        <red>211</red>
+                        <green>211</green>
+                        <blue>211</blue>
+                      </color>
+                      <color>
+                        <red>0</red>
+                        <green>0</green>
+                        <blue>0</blue>
+                      </color>
+                      <color>
+                        <red>0</red>
+                        <green>0</green>
+                        <blue>128</blue>
+                      </color>
+                      <color>
+                        <red>255</red>
+                        <green>255</green>
+                        <blue>255</blue>
+                      </color>
+                    </inactive>
+                    <disabled>
+                      <color>
+                        <red>128</red>
+                        <green>128</green>
+                        <blue>128</blue>
+                      </color>
+                      <color>
+                        <red>211</red>
+                        <green>211</green>
+                        <blue>211</blue>
+                      </color>
+                      <color>
+                        <red>255</red>
+                        <green>255</green>
+                        <blue>255</blue>
+                      </color>
+                      <color>
+                        <red>242</red>
+                        <green>242</green>
+                        <blue>242</blue>
+                      </color>
+                      <color>
+                        <red>105</red>
+                        <green>105</green>
+                        <blue>105</blue>
+                      </color>
+                      <color>
+                        <red>140</red>
+                        <green>140</green>
+                        <blue>140</blue>
+                      </color>
+                      <color>
+                        <red>0</red>
+                        <green>170</green>
+                        <blue>0</blue>
+                      </color>
+                      <color>
+                        <red>255</red>
+                        <green>255</green>
+                        <blue>255</blue>
+                      </color>
+                      <color>
+                        <red>128</red>
+                        <green>128</green>
+                        <blue>128</blue>
+                      </color>
+                      <color>
+                        <red>255</red>
+                        <green>255</green>
+                        <blue>255</blue>
+                      </color>
+                      <color>
+                        <red>211</red>
+                        <green>211</green>
+                        <blue>211</blue>
+                      </color>
+                      <color>
+                        <red>0</red>
+                        <green>0</green>
+                        <blue>0</blue>
+                      </color>
+                      <color>
+                        <red>0</red>
+                        <green>0</green>
+                        <blue>128</blue>
+                      </color>
+                      <color>
+                        <red>255</red>
+                        <green>255</green>
+                        <blue>255</blue>
+                      </color>
+                    </disabled>
+                  </palette>
+                </property>
+              </widget>
+            </item>
+            <item>
+              <widget class="QLabel" name="TextLabel5">
+                <property name="text">
+                  <string>)</string>
+                </property>
+                <property name="palette">
+                  <palette>
+                    <active>
+                      <color>
+                        <red>0</red>
+                        <green>0</green>
+                        <blue>0</blue>
+                      </color>
+                      <color>
+                        <red>211</red>
+                        <green>211</green>
+                        <blue>211</blue>
+                      </color>
+                      <color>
+                        <red>255</red>
+                        <green>255</green>
+                        <blue>255</blue>
+                      </color>
+                      <color>
+                        <red>233</red>
+                        <green>233</green>
+                        <blue>233</blue>
+                      </color>
+                      <color>
+                        <red>105</red>
+                        <green>105</green>
+                        <blue>105</blue>
+                      </color>
+                      <color>
+                        <red>140</red>
+                        <green>140</green>
+                        <blue>140</blue>
+                      </color>
+                      <color>
+                        <red>0</red>
+                        <green>0</green>
+                        <blue>0</blue>
+                      </color>
+                      <color>
+                        <red>255</red>
+                        <green>255</green>
+                        <blue>255</blue>
+                      </color>
+                      <color>
+                        <red>0</red>
+                        <green>0</green>
+                        <blue>0</blue>
+                      </color>
+                      <color>
+                        <red>255</red>
+                        <green>255</green>
+                        <blue>255</blue>
+                      </color>
+                      <color>
+                        <red>255</red>
+                        <green>255</green>
+                        <blue>255</blue>
+                      </color>
+                      <color>
+                        <red>0</red>
+                        <green>0</green>
+                        <blue>0</blue>
+                      </color>
+                      <color>
+                        <red>0</red>
+                        <green>0</green>
+                        <blue>128</blue>
+                      </color>
+                      <color>
+                        <red>255</red>
+                        <green>255</green>
+                        <blue>255</blue>
+                      </color>
+                    </active>
+                    <inactive>
+                      <color>
+                        <red>0</red>
+                        <green>0</green>
+                        <blue>0</blue>
+                      </color>
+                      <color>
+                        <red>211</red>
+                        <green>211</green>
+                        <blue>211</blue>
+                      </color>
+                      <color>
+                        <red>255</red>
+                        <green>255</green>
+                        <blue>255</blue>
+                      </color>
+                      <color>
+                        <red>242</red>
+                        <green>242</green>
+                        <blue>242</blue>
+                      </color>
+                      <color>
+                        <red>105</red>
+                        <green>105</green>
+                        <blue>105</blue>
+                      </color>
+                      <color>
+                        <red>140</red>
+                        <green>140</green>
+                        <blue>140</blue>
+                      </color>
+                      <color>
+                        <red>0</red>
+                        <green>0</green>
+                        <blue>0</blue>
+                      </color>
+                      <color>
+                        <red>255</red>
+                        <green>255</green>
+                        <blue>255</blue>
+                      </color>
+                      <color>
+                        <red>0</red>
+                        <green>0</green>
+                        <blue>0</blue>
+                      </color>
+                      <color>
+                        <red>255</red>
+                        <green>255</green>
+                        <blue>255</blue>
+                      </color>
+                      <color>
+                        <red>255</red>
+                        <green>255</green>
+                        <blue>255</blue>
+                      </color>
+                      <color>
+                        <red>0</red>
+                        <green>0</green>
+                        <blue>0</blue>
+                      </color>
+                      <color>
+                        <red>0</red>
+                        <green>0</green>
+                        <blue>128</blue>
+                      </color>
+                      <color>
+                        <red>255</red>
+                        <green>255</green>
+                        <blue>255</blue>
+                      </color>
+                    </inactive>
+                    <disabled>
+                      <color>
+                        <red>128</red>
+                        <green>128</green>
+                        <blue>128</blue>
+                      </color>
+                      <color>
+                        <red>211</red>
+                        <green>211</green>
+                        <blue>211</blue>
+                      </color>
+                      <color>
+                        <red>255</red>
+                        <green>255</green>
+                        <blue>255</blue>
+                      </color>
+                      <color>
+                        <red>242</red>
+                        <green>242</green>
+                        <blue>242</blue>
+                      </color>
+                      <color>
+                        <red>105</red>
+                        <green>105</green>
+                        <blue>105</blue>
+                      </color>
+                      <color>
+                        <red>140</red>
+                        <green>140</green>
+                        <blue>140</blue>
+                      </color>
+                      <color>
+                        <red>0</red>
+                        <green>0</green>
+                        <blue>0</blue>
+                      </color>
+                      <color>
+                        <red>255</red>
+                        <green>255</green>
+                        <blue>255</blue>
+                      </color>
+                      <color>
+                        <red>128</red>
+                        <green>128</green>
+                        <blue>128</blue>
+                      </color>
+                      <color>
+                        <red>255</red>
+                        <green>255</green>
+                        <blue>255</blue>
+                      </color>
+                      <color>
+                        <red>255</red>
+                        <green>255</green>
+                        <blue>255</blue>
+                      </color>
+                      <color>
+                        <red>0</red>
+                        <green>0</green>
+                        <blue>0</blue>
+                      </color>
+                      <color>
+                        <red>0</red>
+                        <green>0</green>
+                        <blue>128</blue>
+                      </color>
+                      <color>
+                        <red>255</red>
+                        <green>255</green>
+                        <blue>255</blue>
+                      </color>
+                    </disabled>
+                  </palette>
+                </property>
+                <property name="wordWrap">
+                  <bool>false</bool>
+                </property>
+              </widget>
+            </item>
+          </layout>
+        </widget>
+      </item>
+      <item>
+        <spacer name="Spacer1">
+          <property name="sizeHint">
+            <size>
+              <width>20</width>
+              <height>20</height>
+            </size>
+          </property>
+          <property name="sizeType">
+            <enum>QSizePolicy::Expanding</enum>
+          </property>
+          <property name="orientation">
+            <enum>Qt::Vertical</enum>
+          </property>
+        </spacer>
+      </item>
+      <item>
+        <layout class="QHBoxLayout">
+          <property name="margin">
+            <number>0</number>
+          </property>
+          <property name="spacing">
+            <number>6</number>
+          </property>
+          <item>
+            <widget class="QPushButton" name="helpButton">
+              <property name="text">
+                <string>&amp;Help</string>
+              </property>
+              <property name="autoDefault">
+                <bool>true</bool>
+              </property>
+            </widget>
+          </item>
+          <item>
+            <spacer name="Horizontal Spacing2">
+              <property name="sizeHint">
+                <size>
+                  <width>20</width>
+                  <height>20</height>
+                </size>
+              </property>
+              <property name="sizeType">
+                <enum>QSizePolicy::Expanding</enum>
+              </property>
+              <property name="orientation">
+                <enum>Qt::Horizontal</enum>
+              </property>
+            </spacer>
+          </item>
+          <item>
+            <widget class="QPushButton" name="buttonOk">
+              <property name="text">
+                <string>&amp;OK</string>
+              </property>
+              <property name="autoDefault">
+                <bool>true</bool>
+              </property>
+              <property name="default">
+                <bool>true</bool>
+              </property>
+            </widget>
+          </item>
+          <item>
+            <widget class="QPushButton" name="buttonCancel">
+              <property name="text">
+                <string>&amp;Cancel</string>
+              </property>
+              <property name="autoDefault">
+                <bool>true</bool>
+              </property>
+            </widget>
+          </item>
+        </layout>
+      </item>
+    </layout>
+  </widget>
+  <pixmapfunction>qPixmapFromMimeSource</pixmapfunction>
+  <connections>
+    <connection>
+      <sender>buttonOk</sender>
+      <signal>clicked()</signal>
+      <receiver>PixmapFunction</receiver>
+      <slot>accept()</slot>
+    </connection>
+    <connection>
+      <sender>buttonCancel</sender>
+      <signal>clicked()</signal>
+      <receiver>PixmapFunction</receiver>
+      <slot>reject()</slot>
+    </connection>
+  </connections>
+</ui>