mirror of
https://github.com/qgis/QGIS.git
synced 2025-02-24 00:47:57 -05:00
379 lines
16 KiB
XML
379 lines
16 KiB
XML
<!DOCTYPE UI><UI version="3.2" stdsetdef="1">
|
|
<class>QgsConnectionDialogBase</class>
|
|
<widget class="QDialog">
|
|
<property name="name">
|
|
<cstring>QgsConnectionDialogBase</cstring>
|
|
</property>
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>0</x>
|
|
<y>0</y>
|
|
<width>394</width>
|
|
<height>251</height>
|
|
</rect>
|
|
</property>
|
|
<property name="caption">
|
|
<string>Create a New PostGIS connection</string>
|
|
</property>
|
|
<property name="sizeGripEnabled">
|
|
<bool>true</bool>
|
|
</property>
|
|
<grid>
|
|
<property name="name">
|
|
<cstring>unnamed</cstring>
|
|
</property>
|
|
<property name="margin">
|
|
<number>11</number>
|
|
</property>
|
|
<property name="spacing">
|
|
<number>6</number>
|
|
</property>
|
|
<widget class="QLayoutWidget" row="0" column="1">
|
|
<property name="name">
|
|
<cstring>Layout5</cstring>
|
|
</property>
|
|
<vbox>
|
|
<property name="name">
|
|
<cstring>unnamed</cstring>
|
|
</property>
|
|
<property name="margin">
|
|
<number>0</number>
|
|
</property>
|
|
<property name="spacing">
|
|
<number>6</number>
|
|
</property>
|
|
<widget class="QPushButton">
|
|
<property name="name">
|
|
<cstring>btnOk</cstring>
|
|
</property>
|
|
<property name="font">
|
|
<font>
|
|
</font>
|
|
</property>
|
|
<property name="text">
|
|
<string>OK</string>
|
|
</property>
|
|
<property name="accel">
|
|
<string></string>
|
|
</property>
|
|
<property name="autoDefault">
|
|
<bool>true</bool>
|
|
</property>
|
|
<property name="default">
|
|
<bool>true</bool>
|
|
</property>
|
|
</widget>
|
|
<widget class="QPushButton">
|
|
<property name="name">
|
|
<cstring>btnCancel</cstring>
|
|
</property>
|
|
<property name="font">
|
|
<font>
|
|
</font>
|
|
</property>
|
|
<property name="text">
|
|
<string>Cancel</string>
|
|
</property>
|
|
<property name="accel">
|
|
<string></string>
|
|
</property>
|
|
<property name="autoDefault">
|
|
<bool>true</bool>
|
|
</property>
|
|
</widget>
|
|
<widget class="QPushButton">
|
|
<property name="name">
|
|
<cstring>btnHelp</cstring>
|
|
</property>
|
|
<property name="font">
|
|
<font>
|
|
</font>
|
|
</property>
|
|
<property name="text">
|
|
<string>Help</string>
|
|
</property>
|
|
<property name="accel">
|
|
<string>F1</string>
|
|
</property>
|
|
<property name="autoDefault">
|
|
<bool>true</bool>
|
|
</property>
|
|
</widget>
|
|
<spacer>
|
|
<property name="name">
|
|
<cstring>Spacer1</cstring>
|
|
</property>
|
|
<property name="orientation">
|
|
<enum>Vertical</enum>
|
|
</property>
|
|
<property name="sizeType">
|
|
<enum>Expanding</enum>
|
|
</property>
|
|
<property name="sizeHint">
|
|
<size>
|
|
<width>0</width>
|
|
<height>20</height>
|
|
</size>
|
|
</property>
|
|
</spacer>
|
|
</vbox>
|
|
</widget>
|
|
<widget class="QGroupBox" row="0" column="0">
|
|
<property name="name">
|
|
<cstring>GroupBox1</cstring>
|
|
</property>
|
|
<property name="font">
|
|
<font>
|
|
<family>Helvetica [Urw]</family>
|
|
</font>
|
|
</property>
|
|
<property name="title">
|
|
<string>Connection Information</string>
|
|
</property>
|
|
<grid>
|
|
<property name="name">
|
|
<cstring>unnamed</cstring>
|
|
</property>
|
|
<property name="margin">
|
|
<number>11</number>
|
|
</property>
|
|
<property name="spacing">
|
|
<number>6</number>
|
|
</property>
|
|
<widget class="QLayoutWidget" row="0" column="0">
|
|
<property name="name">
|
|
<cstring>layout13</cstring>
|
|
</property>
|
|
<hbox>
|
|
<property name="name">
|
|
<cstring>unnamed</cstring>
|
|
</property>
|
|
<widget class="QLayoutWidget">
|
|
<property name="name">
|
|
<cstring>layout12</cstring>
|
|
</property>
|
|
<vbox>
|
|
<property name="name">
|
|
<cstring>unnamed</cstring>
|
|
</property>
|
|
<widget class="QLabel">
|
|
<property name="name">
|
|
<cstring>TextLabel1_2</cstring>
|
|
</property>
|
|
<property name="font">
|
|
<font>
|
|
<family>Helvetica</family>
|
|
<pointsize>11</pointsize>
|
|
</font>
|
|
</property>
|
|
<property name="text">
|
|
<string>Name</string>
|
|
</property>
|
|
</widget>
|
|
<widget class="QLabel">
|
|
<property name="name">
|
|
<cstring>TextLabel1</cstring>
|
|
</property>
|
|
<property name="font">
|
|
<font>
|
|
<family>Helvetica</family>
|
|
<pointsize>11</pointsize>
|
|
</font>
|
|
</property>
|
|
<property name="text">
|
|
<string>Host</string>
|
|
</property>
|
|
</widget>
|
|
<widget class="QLabel">
|
|
<property name="name">
|
|
<cstring>TextLabel2</cstring>
|
|
</property>
|
|
<property name="font">
|
|
<font>
|
|
<family>helvetica</family>
|
|
<pointsize>11</pointsize>
|
|
</font>
|
|
</property>
|
|
<property name="text">
|
|
<string>Database</string>
|
|
</property>
|
|
</widget>
|
|
<widget class="QLabel">
|
|
<property name="name">
|
|
<cstring>TextLabel2_2</cstring>
|
|
</property>
|
|
<property name="font">
|
|
<font>
|
|
<family>helvetica</family>
|
|
<pointsize>11</pointsize>
|
|
</font>
|
|
</property>
|
|
<property name="text">
|
|
<string>Port</string>
|
|
</property>
|
|
</widget>
|
|
<widget class="QLabel">
|
|
<property name="name">
|
|
<cstring>TextLabel3</cstring>
|
|
</property>
|
|
<property name="font">
|
|
<font>
|
|
<family>Helvetica</family>
|
|
<pointsize>11</pointsize>
|
|
</font>
|
|
</property>
|
|
<property name="text">
|
|
<string>Username</string>
|
|
</property>
|
|
</widget>
|
|
<widget class="QLabel">
|
|
<property name="name">
|
|
<cstring>TextLabel3_2</cstring>
|
|
</property>
|
|
<property name="font">
|
|
<font>
|
|
<family>helvetica</family>
|
|
<pointsize>11</pointsize>
|
|
</font>
|
|
</property>
|
|
<property name="text">
|
|
<string>Password</string>
|
|
</property>
|
|
</widget>
|
|
</vbox>
|
|
</widget>
|
|
<widget class="QLayoutWidget">
|
|
<property name="name">
|
|
<cstring>layout11</cstring>
|
|
</property>
|
|
<vbox>
|
|
<property name="name">
|
|
<cstring>unnamed</cstring>
|
|
</property>
|
|
<widget class="QLineEdit">
|
|
<property name="name">
|
|
<cstring>txtName</cstring>
|
|
</property>
|
|
<property name="toolTip" stdset="0">
|
|
<string>Name of the new connection</string>
|
|
</property>
|
|
</widget>
|
|
<widget class="QLineEdit">
|
|
<property name="name">
|
|
<cstring>txtHost</cstring>
|
|
</property>
|
|
</widget>
|
|
<widget class="QLineEdit">
|
|
<property name="name">
|
|
<cstring>txtDatabase</cstring>
|
|
</property>
|
|
</widget>
|
|
<widget class="QLineEdit">
|
|
<property name="name">
|
|
<cstring>txtPort</cstring>
|
|
</property>
|
|
<property name="text">
|
|
<string>5432</string>
|
|
</property>
|
|
</widget>
|
|
<widget class="QLineEdit">
|
|
<property name="name">
|
|
<cstring>txtUsername</cstring>
|
|
</property>
|
|
</widget>
|
|
<widget class="QLineEdit">
|
|
<property name="name">
|
|
<cstring>txtPassword</cstring>
|
|
</property>
|
|
<property name="echoMode">
|
|
<enum>Password</enum>
|
|
</property>
|
|
</widget>
|
|
</vbox>
|
|
</widget>
|
|
</hbox>
|
|
</widget>
|
|
<widget class="QLayoutWidget" row="1" column="0">
|
|
<property name="name">
|
|
<cstring>layout14</cstring>
|
|
</property>
|
|
<hbox>
|
|
<property name="name">
|
|
<cstring>unnamed</cstring>
|
|
</property>
|
|
<widget class="QCheckBox">
|
|
<property name="name">
|
|
<cstring>chkStorePassword</cstring>
|
|
</property>
|
|
<property name="font">
|
|
<font>
|
|
</font>
|
|
</property>
|
|
<property name="text">
|
|
<string>Save Password</string>
|
|
</property>
|
|
</widget>
|
|
<widget class="QPushButton">
|
|
<property name="name">
|
|
<cstring>btnConnect</cstring>
|
|
</property>
|
|
<property name="font">
|
|
<font>
|
|
</font>
|
|
</property>
|
|
<property name="text">
|
|
<string>Test Connect</string>
|
|
</property>
|
|
</widget>
|
|
</hbox>
|
|
</widget>
|
|
</grid>
|
|
</widget>
|
|
</grid>
|
|
</widget>
|
|
<connections>
|
|
<connection>
|
|
<sender>btnCancel</sender>
|
|
<signal>clicked()</signal>
|
|
<receiver>QgsConnectionDialogBase</receiver>
|
|
<slot>reject()</slot>
|
|
</connection>
|
|
<connection>
|
|
<sender>btnConnect</sender>
|
|
<signal>clicked()</signal>
|
|
<receiver>QgsConnectionDialogBase</receiver>
|
|
<slot>testConnection()</slot>
|
|
</connection>
|
|
<connection>
|
|
<sender>btnOk</sender>
|
|
<signal>clicked()</signal>
|
|
<receiver>QgsConnectionDialogBase</receiver>
|
|
<slot>saveConnection()</slot>
|
|
</connection>
|
|
<connection>
|
|
<sender>btnHelp</sender>
|
|
<signal>clicked()</signal>
|
|
<receiver>QgsConnectionDialogBase</receiver>
|
|
<slot>helpInfo()</slot>
|
|
</connection>
|
|
</connections>
|
|
<tabstops>
|
|
<tabstop>txtName</tabstop>
|
|
<tabstop>txtHost</tabstop>
|
|
<tabstop>txtDatabase</tabstop>
|
|
<tabstop>txtUsername</tabstop>
|
|
<tabstop>txtPassword</tabstop>
|
|
<tabstop>chkStorePassword</tabstop>
|
|
<tabstop>btnConnect</tabstop>
|
|
<tabstop>btnOk</tabstop>
|
|
<tabstop>btnCancel</tabstop>
|
|
<tabstop>btnHelp</tabstop>
|
|
</tabstops>
|
|
<slots>
|
|
<slot>saveConnection()</slot>
|
|
<slot>testConnection()</slot>
|
|
<slot>helpInfo()</slot>
|
|
</slots>
|
|
<layoutdefaults spacing="6" margin="11"/>
|
|
</UI>
|