summaryrefslogtreecommitdiffstats
path: root/tests/QtUiTools/customwidget.ui
diff options
context:
space:
mode:
authorrenatofilho <renato.filho@openbossa.org>2010-10-06 18:53:39 -0300
committerrenatofilho <renato.filho@openbossa.org>2010-10-07 12:18:03 -0300
commite75b82fdf6e9903e7264a1bc962ab7ed42c53bcd (patch)
tree6dac5ce544dc244dae7939ed96aeb0954d22766a /tests/QtUiTools/customwidget.ui
parent6b8d262b4067bffd4e5a9611c07b862aa64d2538 (diff)
downloadpyside-e75b82fdf6e9903e7264a1bc962ab7ed42c53bcd.tar.gz
pyside-e75b82fdf6e9903e7264a1bc962ab7ed42c53bcd.tar.xz
pyside-e75b82fdf6e9903e7264a1bc962ab7ed42c53bcd.zip
Created unittest for widgets defined in Python and used during QUiLoader.loader function.
Reviewer: Hugo Parente Lima <hugo.pl@gmail.com> Luciano Wolf <luciano.wolf@openbossa.org>
Diffstat (limited to 'tests/QtUiTools/customwidget.ui')
-rw-r--r--tests/QtUiTools/customwidget.ui51
1 files changed, 51 insertions, 0 deletions
diff --git a/tests/QtUiTools/customwidget.ui b/tests/QtUiTools/customwidget.ui
new file mode 100644
index 0000000..181ee60
--- /dev/null
+++ b/tests/QtUiTools/customwidget.ui
@@ -0,0 +1,51 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<ui version="4.0">
+ <class>qwidget</class>
+ <widget class="QWidget" name="qwidget">
+ <property name="geometry">
+ <rect>
+ <x>0</x>
+ <y>0</y>
+ <width>303</width>
+ <height>350</height>
+ </rect>
+ </property>
+ <property name="windowTitle">
+ <string/>
+ </property>
+ <widget class="QDeclarativeView" name="declarativeView">
+ <property name="geometry">
+ <rect>
+ <x>0</x>
+ <y>150</y>
+ <width>300</width>
+ <height>200</height>
+ </rect>
+ </property>
+ </widget>
+ <widget class="WorldTimeClock" name="worldTimeClock">
+ <property name="geometry">
+ <rect>
+ <x>190</x>
+ <y>20</y>
+ <width>100</width>
+ <height>100</height>
+ </rect>
+ </property>
+ </widget>
+ </widget>
+ <customwidgets>
+ <customwidget>
+ <class>QDeclarativeView</class>
+ <extends>QGraphicsView</extends>
+ <header>QtDeclarative/QDeclarativeView</header>
+ </customwidget>
+ <customwidget>
+ <class>WorldTimeClock</class>
+ <extends>QWidget</extends>
+ <header>worldtimeclock.h</header>
+ </customwidget>
+</customwidgets>
+ <resources/>
+ <connections/>
+</ui>