<?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>browserwidget.ui Example File | Qt SQL 5.12.2</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="qtsql-index.html">Qt SQL</a></td><td ><a href="qtsql-sqlbrowser-example.html">SQL Browser</a></td><td >browserwidget.ui Example File</td></tr></table><table class="buildversion"><tr> <td id="buildversion" width="100%" align="right"><a href="qtsql-index.html">Qt 5.12.2 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">browserwidget.ui Example File</h1> <span class="subtitle">sqlbrowser/browserwidget.ui</span> <!-- $$$sqlbrowser/browserwidget.ui-description --> <div class="descr"> <a name="details"></a> <pre class="cpp"> <?xml version="1.0" encoding="UTF-8"?> <ui version="4.0"> <class>Browser</class> <widget class="QWidget" name="Browser"> <property name="geometry"> <rect> <x>0</x> <y>0</y> <width>765</width> <height>515</height> </rect> </property> <property name="windowTitle"> <string>Qt SQL Browser</string> </property> <layout class="QVBoxLayout"> <property name="spacing"> <number>6</number> </property> <property name="margin"> <number>8</number> </property> <item> <widget class="QSplitter" name="splitter_2"> <property name="sizePolicy"> <sizepolicy hsizetype="Expanding" vsizetype="Expanding"> <horstretch>0</horstretch> <verstretch>0</verstretch> </sizepolicy> </property> <property name="orientation"> <enum>Qt::Horizontal</enum> </property> <widget class="ConnectionWidget" name="connectionWidget"> <property name="sizePolicy"> <sizepolicy hsizetype="Ignored" vsizetype="Expanding"> <horstretch>1</horstretch> <verstretch>0</verstretch> </sizepolicy> </property> </widget> <widget class="QTableView" name="table"> <property name="sizePolicy"> <sizepolicy hsizetype="Expanding" vsizetype="Expanding"> <horstretch>2</horstretch> <verstretch>0</verstretch> </sizepolicy> </property> <property name="contextMenuPolicy"> <enum>Qt::ActionsContextMenu</enum> </property> <property name="selectionBehavior"> <enum>QAbstractItemView::SelectRows</enum> </property> </widget> </widget> </item> <item> <widget class="QGroupBox" name="groupBox"> <property name="sizePolicy"> <sizepolicy hsizetype="Preferred" vsizetype="MinimumExpanding"> <horstretch>0</horstretch> <verstretch>0</verstretch> </sizepolicy> </property> <property name="maximumSize"> <size> <width>16777215</width> <height>180</height> </size> </property> <property name="title"> <string>SQL Query</string> </property> <layout class="QVBoxLayout"> <property name="spacing"> <number>6</number> </property> <property name="margin"> <number>9</number> </property> <item> <widget class="QTextEdit" name="sqlEdit"> <property name="sizePolicy"> <sizepolicy hsizetype="Expanding" vsizetype="MinimumExpanding"> <horstretch>0</horstretch> <verstretch>0</verstretch> </sizepolicy> </property> <property name="minimumSize"> <size> <width>0</width> <height>18</height> </size> </property> <property name="baseSize"> <size> <width>0</width> <height>120</height> </size> </property> </widget> </item> <item> <layout class="QHBoxLayout"> <property name="spacing"> <number>6</number> </property> <property name="margin"> <number>1</number> </property> <item> <spacer> <property name="orientation"> <enum>Qt::Horizontal</enum> </property> <property name="sizeHint" stdset="0"> <size> <width>40</width> <height>20</height> </size> </property> </spacer> </item> <item> <widget class="QPushButton" name="clearButton"> <property name="text"> <string>&amp;Clear</string> </property> </widget> </item> <item> <widget class="QPushButton" name="submitButton"> <property name="text"> <string>&amp;Submit</string> </property> </widget> </item> </layout> </item> </layout> </widget> </item> </layout> <action name="insertRowAction"> <property name="enabled"> <bool>false</bool> </property> <property name="text"> <string>&amp;Insert Row</string> </property> <property name="statusTip"> <string>Inserts a new Row</string> </property> </action> <action name="deleteRowAction"> <property name="enabled"> <bool>false</bool> </property> <property name="text"> <string>&amp;Delete Row</string> </property> <property name="statusTip"> <string>Deletes the current Row</string> </property> </action> <action name="fieldStrategyAction"> <property name="checkable"> <bool>true</bool> </property> <property name="text"> <string>Submit on &amp;Field Change</string> </property> <property name="toolTip"> <string>Commit on Field Change</string> </property> </action> <action name="rowStrategyAction"> <property name="checkable"> <bool>true</bool> </property> <property name="text"> <string>Submit on &amp;Row Change</string> </property> <property name="toolTip"> <string>Commit on Row Change</string> </property> </action> <action name="manualStrategyAction"> <property name="checkable"> <bool>true</bool> </property> <property name="text"> <string>Submit &amp;Manually</string> </property> <property name="toolTip"> <string>Commit Manually</string> </property> </action> <action name="submitAction"> <property name="text"> <string>&amp;Submit All</string> </property> <property name="toolTip"> <string>Submit Changes</string> </property> </action> <action name="revertAction"> <property name="text"> <string>&amp;Revert All</string> </property> <property name="toolTip"> <string>Revert</string> </property> </action> <action name="selectAction"> <property name="text"> <string>S&amp;elect</string> </property> <property name="toolTip"> <string>Refresh Data from Database</string> </property> </action> </widget> <customwidgets> <customwidget> <class>ConnectionWidget</class> <extends>QTreeView</extends> <header>connectionwidget.h</header> </customwidget> </customwidgets> <tabstops> <tabstop>sqlEdit</tabstop> <tabstop>clearButton</tabstop> <tabstop>submitButton</tabstop> <tabstop>connectionWidget</tabstop> <tabstop>table</tabstop> </tabstops> <resources/> <connections/> </ui> </pre> </div> <!-- @@@sqlbrowser/browserwidget.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>