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>
This commit is contained in:
parent
6b8d262b40
commit
e75b82fdf6
3 changed files with 107 additions and 3 deletions
51
tests/QtUiTools/customwidget.ui
Normal file
51
tests/QtUiTools/customwidget.ui
Normal file
|
|
@ -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>
|
||||
Loading…
Add table
Add a link
Reference in a new issue