1 <?xml version="1.0" encoding="UTF-8"?> 2 <ui version="4.0"> 3 <class>Widget</class> 4 <widget class="QWidget" name="Widget"> 5 <property name="geometry"> 6 <rect> 7 <x>0</x> 8 <y>0</y> 9 <width>600</width> 10 <height>400</height> 11 </rect> 12 </property> 13 <property name="windowTitle"> 14 <string notr="true">Widget</string> 15 </property> 16 <layout class="QVBoxLayout" name="verticalLayout"> 17 <item> 18 <widget class="WebView" name="webView" native="true"> 19 <property name="url" stdset="0"> 20 <url> 21 <string notr="true">about:blank</string> 22 </url> 23 </property> 24 </widget> 25 </item> 26 <item> 27 <layout class="QHBoxLayout" name="horizontalLayout"> 28 <item> 29 <widget class="QLabel" name="lbl1"> 30 <property name="text"> 31 <string notr="true"/> 32 </property> 33 </widget> 34 </item> 35 <item> 36 <widget class="QLabel" name="lbl2"> 37 <property name="minimumSize"> 38 <size> 39 <width>120</width> 40 <height>30</height> 41 </size> 42 </property> 43 <property name="maximumSize"> 44 <size> 45 <width>120</width> 46 <height>30</height> 47 </size> 48 </property> 49 <property name="text"> 50 <string notr="true">Image from Qt to HTML</string> 51 </property> 52 </widget> 53 </item> 54 <item> 55 <widget class="QLabel" name="lbl3"> 56 <property name="text"> 57 <string notr="true">Pixmap from Qt to HTML</string> 58 </property> 59 </widget> 60 </item> 61 <item> 62 <widget class="QLabel" name="lbl4"> 63 <property name="text"> 64 <string notr="true"/> 65 </property> 66 </widget> 67 </item> 68 <item> 69 <spacer name="horizontalSpacer"> 70 <property name="orientation"> 71 <enum>Qt::Horizontal</enum> 72 </property> 73 <property name="sizeHint" stdset="0"> 74 <size> 75 <width>40</width> 76 <height>20</height> 77 </size> 78 </property> 79 </spacer> 80 </item> 81 </layout> 82 </item> 83 </layout> 84 </widget> 85 <layoutdefault spacing="6" margin="11"/> 86 <customwidgets> 87 <customwidget> 88 <class>WebView</class> 89 <extends>QWidget</extends> 90 <header>widget.h</header> 91 </customwidget> 92 </customwidgets> 93 <resources/> 94 <connections/> 95 </ui> 96