mainwindow.ui Example File
webenginewidgets/cookiebrowser/mainwindow.ui<?xml version="1.0" encoding="UTF-8"?> <ui version="4.0"> <class>MainWindow</class> <widget class="QMainWindow" name="MainWindow"> <property name="geometry"> <rect> <x>0</x> <y>0</y> <width>1400</width> <height>650</height> </rect> </property> <property name="windowTitle"> <string>Cookie Manager</string> </property> <widget class="QWidget" name="centralWidget"> <layout class="QHBoxLayout" name="horizontalLayout_2"> <item> <widget class="QFrame" name="frame"> <property name="frameShape"> <enum>QFrame::StyledPanel</enum> </property> <property name="frameShadow"> <enum>QFrame::Raised</enum> </property> <layout class="QVBoxLayout" name="verticalLayout"> <item> <widget class="QWidget" name="widget" native="true"> <layout class="QHBoxLayout" name="horizontalLayout"> <property name="leftMargin"> <number>0</number> </property> <property name="topMargin"> <number>0</number> </property> <property name="rightMargin"> <number>0</number> </property> <property name="bottomMargin"> <number>0</number> </property> <item> <widget class="QLineEdit" name="m_urlLineEdit"/> </item> <item> <widget class="QPushButton" name="m_urlButton"> <property name="text"> <string/> </property> <property name="icon"> <iconset resource="cookiebrowser.qrc"> <normaloff>:/view-refresh.png</normaloff>:/view-refresh.png</iconset> </property> </widget> </item> </layout> </widget> </item> <item> <widget class="QWebEngineView" name="m_webview" native="true"> <property name="sizePolicy"> <sizepolicy hsizetype="Preferred" vsizetype="Expanding"> <horstretch>0</horstretch> <verstretch>0</verstretch> </sizepolicy> </property> <property name="minimumSize"> <size> <width>0</width> <height>0</height> </size> </property> </widget> </item> </layout> </widget> </item> <item> <widget class="QFrame" name="frame_2"> <property name="maximumSize"> <size> <width>336</width> <height>16777215</height> </size> </property> <property name="frameShape"> <enum>QFrame::StyledPanel</enum> </property> <property name="frameShadow"> <enum>QFrame::Raised</enum> </property> <layout class="QVBoxLayout" name="verticalLayout_2"> <item> <widget class="QWidget" name="widget_2" native="true"> <layout class="QHBoxLayout" name="horizontalLayout_3"> <property name="leftMargin"> <number>0</number> </property> <property name="topMargin"> <number>0</number> </property> <property name="rightMargin"> <number>0</number> </property> <property name="bottomMargin"> <number>0</number> </property> <item> <widget class="QLabel" name="label"> <property name="text"> <string>Cookies:</string> </property> </widget> </item> <item> <spacer name="horizontalSpacer"> <property name="orientation"> <enum>Qt::Horizontal</enum> </property> <property name="sizeHint" stdset="0"> <size> <width>87</width> <height>20</height> </size> </property> </spacer> </item> <item> <widget class="QPushButton" name="m_newButton"> <property name="text"> <string>New</string> </property> </widget> </item> <item> <widget class="QPushButton" name="m_deleteAllButton"> <property name="text"> <string>Delete All</string> </property> </widget> </item> </layout> </widget> </item> <item> <widget class="QScrollArea" name="m_scrollArea"> <property name="minimumSize"> <size> <width>320</width> <height>0</height> </size> </property> <property name="maximumSize"> <size> <width>320</width> <height>16777215</height> </size> </property> <property name="widgetResizable"> <bool>true</bool> </property> </widget> </item> </layout> </widget> </item> </layout> </widget> </widget> <layoutdefault spacing="6" margin="11"/> <customwidgets> <customwidget> <class>QWebEngineView</class> <extends>QWidget</extends> <header>qwebengineview.h</header> <container>1</container> </customwidget> </customwidgets> <resources> <include location="cookiebrowser.qrc"/> </resources> <connections> <connection> <sender>m_urlLineEdit</sender> <signal>returnPressed()</signal> <receiver>m_urlButton</receiver> <slot>click()</slot> <hints> <hint type="sourcelabel"> <x>509</x> <y>28</y> </hint> <hint type="destinationlabel"> <x>1024</x> <y>27</y> </hint> </hints> </connection> </connections> </ui>
© 2019 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.