<?xml version="1.0" encoding="UTF-8"?> <ui version="4.0"> <class>QgsNewOgrConnectionBase</class> <widget class="QDialog" name="QgsNewOgrConnectionBase"> <property name="geometry"> <rect> <x>0</x> <y>0</y> <width>706</width> <height>541</height> </rect> </property> <property name="sizePolicy"> <sizepolicy hsizetype="MinimumExpanding" vsizetype="MinimumExpanding"> <horstretch>0</horstretch> <verstretch>0</verstretch> </sizepolicy> </property> <property name="windowTitle"> <string>Create a New OGR Database connection</string> </property> <property name="sizeGripEnabled"> <bool>true</bool> </property> <property name="modal"> <bool>true</bool> </property> <layout class="QGridLayout"> <property name="margin"> <number>9</number> </property> <property name="spacing"> <number>6</number> </property> <item row="0" column="0"> <widget class="QGroupBox" name="GroupBox1"> <property name="title"> <string>Connection Information</string> </property> <layout class="QGridLayout"> <property name="margin"> <number>0</number> </property> <property name="spacing"> <number>5</number> </property> <item row="1" column="0"> <layout class="QHBoxLayout"> <property name="spacing"> <number>6</number> </property> <property name="margin"> <number>0</number> </property> <item> <widget class="QCheckBox" name="chkStorePassword"> <property name="text"> <string>Save Password</string> </property> </widget> </item> <item> <widget class="QPushButton" name="btnConnect"> <property name="text"> <string>&Test Connect</string> </property> </widget> </item> </layout> </item> <item row="0" column="0"> <layout class="QHBoxLayout"> <property name="spacing"> <number>6</number> </property> <property name="margin"> <number>0</number> </property> <item> <layout class="QVBoxLayout"> <property name="spacing"> <number>6</number> </property> <property name="margin"> <number>0</number> </property> <item> <widget class="QLabel" name="label"> <property name="text"> <string><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd"> <html><head><meta name="qrichtext" content="1" /><style type="text/css"> p, li { white-space: pre-wrap; } </style></head><body style=" font-family:'MS Shell Dlg 2'; font-size:8.25pt; font-weight:400; font-style:normal;"> <p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-size:8pt;">Type</span></p></body></html></string> </property> <property name="buddy"> <cstring>cmbDatabaseTypes</cstring> </property> </widget> </item> <item> <widget class="QLabel" name="TextLabel1_2"> <property name="text"> <string>Name</string> </property> <property name="buddy"> <cstring>txtName</cstring> </property> </widget> </item> <item> <widget class="QLabel" name="TextLabel1"> <property name="text"> <string>Host</string> </property> <property name="buddy"> <cstring>txtHost</cstring> </property> </widget> </item> <item> <widget class="QLabel" name="TextLabel2"> <property name="text"> <string>Database</string> </property> <property name="buddy"> <cstring>txtDatabase</cstring> </property> </widget> </item> <item> <widget class="QLabel" name="TextLabel2_2"> <property name="text"> <string>Port</string> </property> <property name="buddy"> <cstring>txtPort</cstring> </property> </widget> </item> <item> <widget class="QLabel" name="TextLabel3"> <property name="text"> <string>Username</string> </property> <property name="buddy"> <cstring>txtUsername</cstring> </property> </widget> </item> <item> <widget class="QLabel" name="TextLabel3_2"> <property name="text"> <string>Password</string> </property> <property name="buddy"> <cstring>txtPassword</cstring> </property> </widget> </item> </layout> </item> <item> <layout class="QVBoxLayout"> <property name="spacing"> <number>6</number> </property> <property name="margin"> <number>0</number> </property> <item> <widget class="QComboBox" name="cmbDatabaseTypes"/> </item> <item> <widget class="QLineEdit" name="txtName"> <property name="toolTip"> <string>Name of the new connection</string> </property> </widget> </item> <item> <widget class="QLineEdit" name="txtHost"/> </item> <item> <widget class="QLineEdit" name="txtDatabase"/> </item> <item> <widget class="QLineEdit" name="txtPort"> <property name="text"> <string/> </property> </widget> </item> <item> <widget class="QLineEdit" name="txtUsername"/> </item> <item> <widget class="QLineEdit" name="txtPassword"> <property name="echoMode"> <enum>QLineEdit::Password</enum> </property> </widget> </item> </layout> </item> </layout> </item> </layout> </widget> </item> <item row="1" column="0"> <widget class="QDialogButtonBox" name="buttonBox"> <property name="standardButtons"> <set>QDialogButtonBox::Cancel|QDialogButtonBox::Help|QDialogButtonBox::Ok</set> </property> </widget> </item> </layout> </widget> <layoutdefault spacing="6" margin="11"/> <tabstops> <tabstop>cmbDatabaseTypes</tabstop> <tabstop>txtName</tabstop> <tabstop>txtHost</tabstop> <tabstop>txtDatabase</tabstop> <tabstop>txtPort</tabstop> <tabstop>txtUsername</tabstop> <tabstop>txtPassword</tabstop> <tabstop>chkStorePassword</tabstop> <tabstop>btnConnect</tabstop> <tabstop>buttonBox</tabstop> </tabstops> <resources/> <connections> <connection> <sender>buttonBox</sender> <signal>accepted()</signal> <receiver>QgsNewOgrConnectionBase</receiver> <slot>accept()</slot> <hints> <hint type="sourcelabel"> <x>246</x> <y>531</y> </hint> <hint type="destinationlabel"> <x>283</x> <y>278</y> </hint> </hints> </connection> <connection> <sender>buttonBox</sender> <signal>rejected()</signal> <receiver>QgsNewOgrConnectionBase</receiver> <slot>reject()</slot> <hints> <hint type="sourcelabel"> <x>155</x> <y>531</y> </hint> <hint type="destinationlabel"> <x>283</x> <y>250</y> </hint> </hints> </connection> </connections> </ui>