<?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>qsqlconnectiondialog.ui Example File | Qt SQL 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="qtsql-index.html">Qt SQL</a></td><td ><a href="qtsql-sqlbrowser-example.html">SQL Browser</a></td><td >qsqlconnectiondialog.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.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">qsqlconnectiondialog.ui Example File</h1> <span class="subtitle">sqlbrowser/qsqlconnectiondialog.ui</span> <!-- $$$sqlbrowser/qsqlconnectiondialog.ui-description --> <div class="descr"> <a name="details"></a> <pre class="cpp"> <ui version="4.0" > <author></author> <comment></comment> <exportmacro></exportmacro> <class>QSqlConnectionDialogUi</class> <widget class="QDialog" name="QSqlConnectionDialogUi" > <property name="geometry" > <rect> <x>0</x> <y>0</y> <width>315</width> <height>302</height> </rect> </property> <property name="windowTitle" > <string>Connect...</string> </property> <layout class="QVBoxLayout" > <property name="margin" > <number>8</number> </property> <property name="spacing" > <number>6</number> </property> <item> <widget class="QGroupBox" name="connGroupBox" > <property name="title" > <string>Connection settings</string> </property> <layout class="QGridLayout" > <property name="margin" > <number>8</number> </property> <property name="spacing" > <number>6</number> </property> <item row="0" column="1" > <widget class="QComboBox" name="comboDriver" /> </item> <item row="2" column="0" > <widget class="QLabel" name="textLabel4" > <property name="text" > <string>&amp;Username:</string> </property> <property name="buddy" > <cstring>editUsername</cstring> </property> </widget> </item> <item row="0" column="0" > <widget class="QLabel" name="textLabel2" > <property name="text" > <string>D&amp;river</string> </property> <property name="buddy" > <cstring>comboDriver</cstring> </property> </widget> </item> <item row="1" column="1" > <widget class="QLineEdit" name="editDatabase" /> </item> <item row="5" column="1" > <widget class="QSpinBox" name="portSpinBox" > <property name="specialValueText" > <string>Default</string> </property> <property name="maximum" > <number>65535</number> </property> <property name="minimum" > <number>-1</number> </property> <property name="value" > <number>-1</number> </property> </widget> </item> <item row="1" column="0" > <widget class="QLabel" name="textLabel3" > <property name="text" > <string>Database Name:</string> </property> <property name="buddy" > <cstring>editDatabase</cstring> </property> </widget> </item> <item row="3" column="1" > <widget class="QLineEdit" name="editPassword" > <property name="echoMode" > <enum>QLineEdit::Password</enum> </property> </widget> </item> <item row="2" column="1" > <widget class="QLineEdit" name="editUsername" /> </item> <item row="4" column="1" > <widget class="QLineEdit" name="editHostname" /> </item> <item row="4" column="0" > <widget class="QLabel" name="textLabel5" > <property name="text" > <string>&amp;Hostname:</string> </property> <property name="buddy" > <cstring>editHostname</cstring> </property> </widget> </item> <item row="5" column="0" > <widget class="QLabel" name="textLabel5_2" > <property name="text" > <string>P&amp;ort:</string> </property> <property name="buddy" > <cstring>portSpinBox</cstring> </property> </widget> </item> <item row="3" column="0" > <widget class="QLabel" name="textLabel4_2" > <property name="text" > <string>&amp;Password:</string> </property> <property name="buddy" > <cstring>editPassword</cstring> </property> </widget> </item> </layout> </widget> </item> <item> <layout class="QHBoxLayout" > <property name="margin" > <number>0</number> </property> <property name="spacing" > <number>6</number> </property> <item> <spacer> <property name="orientation" > <enum>Qt::Horizontal</enum> </property> <property name="sizeHint" > <size> <width>40</width> <height>20</height> </size> </property> </spacer> </item> <item> <widget class="QCheckBox" name="dbCheckBox" > <property name="text" > <string>Us&amp;e predefined in-memory database</string> </property> </widget> </item> </layout> </item> <item> <layout class="QHBoxLayout" > <property name="margin" > <number>0</number> </property> <property name="spacing" > <number>6</number> </property> <item> <spacer> <property name="orientation" > <enum>Qt::Horizontal</enum> </property> <property name="sizeType" > <enum>QSizePolicy::Expanding</enum> </property> <property name="sizeHint" > <size> <width>20</width> <height>20</height> </size> </property> </spacer> </item> <item> <widget class="QPushButton" name="okButton" > <property name="text" > <string>&amp;OK</string> </property> <property name="default" > <bool>true</bool> </property> </widget> </item> <item> <widget class="QPushButton" name="cancelButton" > <property name="text" > <string>&amp;Cancel</string> </property> </widget> </item> </layout> </item> </layout> </widget> <pixmapfunction></pixmapfunction> <tabstops> <tabstop>comboDriver</tabstop> <tabstop>editDatabase</tabstop> <tabstop>editUsername</tabstop> <tabstop>editPassword</tabstop> <tabstop>editHostname</tabstop> <tabstop>portSpinBox</tabstop> <tabstop>dbCheckBox</tabstop> <tabstop>okButton</tabstop> <tabstop>cancelButton</tabstop> </tabstops> <resources/> <connections/> </ui> </pre> </div> <!-- @@@sqlbrowser/qsqlconnectiondialog.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>