window.ui Example File
webkitwidgets/simpleselector/window.ui<?xml version="1.0" encoding="UTF-8"?> <ui version="4.0"> <class>Window</class> <widget class="QWidget" name="Window"> <property name="geometry"> <rect> <x>0</x> <y>0</y> <width>640</width> <height>480</height> </rect> </property> <property name="windowTitle"> <string>Web Element Selector</string> </property> <layout class="QVBoxLayout" name="verticalLayout"> <item> <widget class="QWebView" name="webView"> <property name="url"> <url> <string>http://webkit.org/</string> </url> </property> </widget> </item> <item> <layout class="QHBoxLayout" name="horizontalLayout"> <item> <layout class="QFormLayout" name="formLayout"> <property name="fieldGrowthPolicy"> <enum>QFormLayout::ExpandingFieldsGrow</enum> </property> <item row="0" column="0"> <widget class="QLabel" name="elementLabel"> <property name="text"> <string>&Element:</string> </property> <property name="buddy"> <cstring>elementLineEdit</cstring> </property> </widget> </item> <item row="0" column="1"> <widget class="QLineEdit" name="elementLineEdit"> <property name="text"> <string>li a</string> </property> </widget> </item> </layout> </item> <item> <widget class="QPushButton" name="highlightButton"> <property name="text"> <string>&Highlight</string> </property> </widget> </item> </layout> </item> </layout> </widget> <customwidgets> <customwidget> <class>QWebView</class> <extends>QWidget</extends> <header>QtWebKit/QWebView</header> </customwidget> </customwidgets> <resources/> <connections/> </ui>
© 2015 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.