<?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE html> <html lang="en"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>mainwindow.ui Example File | Qt WebEngine 5.12.6</title> <link rel="stylesheet" type="text/css" href="style/offline-simple.css" /> <script type="text/javascript"> document.getElementsByTagName("link").item(0).setAttribute("href", "style/offline.css"); // loading style sheet breaks anchors that were jumped to before // so force jumping to anchor again setTimeout(function() { var anchor = location.hash; // need to jump to different anchor first (e.g. none) location.hash = "#"; setTimeout(function() { location.hash = anchor; }, 0); }, 0); </script> </head> <body> <div class="header" id="qtdocheader"> <div class="main"> <div class="main-rounded"> <div class="navigationbar"> <table><tr> <td >Qt 5.12</td><td ><a href="qtwebengine-index.html">Qt WebEngine</a></td><td ><a href="qtwebengine-webenginewidgets-cookiebrowser-example.html">WebEngine Cookie Browser Example</a></td><td >mainwindow.ui Example File</td></tr></table><table class="buildversion"><tr> <td id="buildversion" width="100%" align="right"><a href="qtwebengine-index.html">Qt 5.12.6 Reference Documentation</a></td> </tr></table> </div> </div> <div class="content"> <div class="line"> <div class="content mainContent"> <div class="sidebar"><div class="sidebar-content" id="sidebar-content"></div></div> <h1 class="title">mainwindow.ui Example File</h1> <span class="subtitle">webenginewidgets/cookiebrowser/mainwindow.ui</span> <!-- $$$webenginewidgets/cookiebrowser/mainwindow.ui-description --> <div class="descr"> <a name="details"></a> <pre class="cpp"> <?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> </pre> </div> <!-- @@@webenginewidgets/cookiebrowser/mainwindow.ui --> </div> </div> </div> </div> </div> <div class="footer"> <p> <acronym title="Copyright">©</acronym> 2019 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners.<br/> The documentation provided herein is licensed under the terms of the <a href="http://www.gnu.org/licenses/fdl.html">GNU Free Documentation License version 1.3</a> as published by the Free Software Foundation.<br/> 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. </p> </div> </body> </html>