2002-07-06 00:33:05 +00:00
|
|
|
<!DOCTYPE UI><UI version="3.0" stdsetdef="1">
|
|
|
|
<class>QgsNewConnectionBase</class>
|
|
|
|
<widget class="QDialog">
|
|
|
|
<property name="name">
|
|
|
|
<cstring>QgsNewConnectionBase</cstring>
|
|
|
|
</property>
|
|
|
|
<property name="geometry">
|
|
|
|
<rect>
|
|
|
|
<x>0</x>
|
|
|
|
<y>0</y>
|
|
|
|
<width>392</width>
|
|
|
|
<height>196</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>buttonOk</cstring>
|
|
|
|
</property>
|
|
|
|
<property name="font">
|
|
|
|
<font>
|
|
|
|
<pointsize>10</pointsize>
|
|
|
|
</font>
|
|
|
|
</property>
|
|
|
|
<property name="text">
|
|
|
|
<string>OK</string>
|
|
|
|
</property>
|
|
|
|
<property name="accel">
|
|
|
|
<number>0</number>
|
|
|
|
</property>
|
|
|
|
<property name="autoDefault">
|
|
|
|
<bool>true</bool>
|
|
|
|
</property>
|
|
|
|
<property name="default">
|
|
|
|
<bool>true</bool>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
<widget class="QPushButton">
|
|
|
|
<property name="name">
|
|
|
|
<cstring>buttonCancel</cstring>
|
|
|
|
</property>
|
|
|
|
<property name="font">
|
|
|
|
<font>
|
|
|
|
<pointsize>10</pointsize>
|
|
|
|
</font>
|
|
|
|
</property>
|
|
|
|
<property name="text">
|
|
|
|
<string>Cancel</string>
|
|
|
|
</property>
|
|
|
|
<property name="accel">
|
|
|
|
<number>0</number>
|
|
|
|
</property>
|
|
|
|
<property name="autoDefault">
|
|
|
|
<bool>true</bool>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
<widget class="QPushButton">
|
|
|
|
<property name="name">
|
|
|
|
<cstring>buttonHelp</cstring>
|
|
|
|
</property>
|
|
|
|
<property name="font">
|
|
|
|
<font>
|
|
|
|
<pointsize>10</pointsize>
|
|
|
|
</font>
|
|
|
|
</property>
|
|
|
|
<property name="text">
|
|
|
|
<string>Help</string>
|
|
|
|
</property>
|
|
|
|
<property name="accel">
|
|
|
|
<number>4144</number>
|
|
|
|
</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>
|
|
|
|
</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>
|
|
|
|
<pointsize>10</pointsize>
|
|
|
|
</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="QLineEdit" row="1" column="1" rowspan="1" colspan="2">
|
|
|
|
<property name="name">
|
|
|
|
<cstring>txtHost</cstring>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
<widget class="QLabel" row="1" column="0">
|
|
|
|
<property name="name">
|
|
|
|
<cstring>TextLabel1</cstring>
|
|
|
|
</property>
|
|
|
|
<property name="font">
|
|
|
|
<font>
|
|
|
|
<family>Helvetica [Adobe]</family>
|
|
|
|
<pointsize>11</pointsize>
|
|
|
|
</font>
|
|
|
|
</property>
|
|
|
|
<property name="text">
|
|
|
|
<string>Host</string>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
<widget class="QLineEdit" row="2" column="1" rowspan="1" colspan="2">
|
|
|
|
<property name="name">
|
|
|
|
<cstring>txtDatabase</cstring>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
<widget class="QLabel" row="2" column="0">
|
|
|
|
<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="QLineEdit" row="3" column="1">
|
|
|
|
<property name="name">
|
|
|
|
<cstring>txtUsername</cstring>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
<widget class="QLabel" row="3" column="0">
|
|
|
|
<property name="name">
|
|
|
|
<cstring>TextLabel3</cstring>
|
|
|
|
</property>
|
|
|
|
<property name="font">
|
|
|
|
<font>
|
|
|
|
<family>Helvetica [Adobe]</family>
|
|
|
|
<pointsize>11</pointsize>
|
|
|
|
</font>
|
|
|
|
</property>
|
|
|
|
<property name="text">
|
|
|
|
<string>Username</string>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
<widget class="QLineEdit" row="4" column="1">
|
|
|
|
<property name="name">
|
|
|
|
<cstring>txtPassword</cstring>
|
|
|
|
</property>
|
|
|
|
<property name="echoMode">
|
|
|
|
<enum>Password</enum>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
<widget class="QLabel" row="0" column="0">
|
|
|
|
<property name="name">
|
|
|
|
<cstring>TextLabel1_2</cstring>
|
|
|
|
</property>
|
|
|
|
<property name="font">
|
|
|
|
<font>
|
|
|
|
<family>Helvetica [Adobe]</family>
|
|
|
|
<pointsize>11</pointsize>
|
|
|
|
</font>
|
|
|
|
</property>
|
|
|
|
<property name="text">
|
|
|
|
<string>Name</string>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
<widget class="QLineEdit" row="0" column="1" rowspan="1" colspan="2">
|
|
|
|
<property name="name">
|
|
|
|
<cstring>txtName</cstring>
|
|
|
|
</property>
|
|
|
|
<property name="toolTip" stdset="0">
|
|
|
|
<string>Name of the new connection</string>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
<widget class="QLabel" row="4" column="0">
|
|
|
|
<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>
|
|
|
|
<widget class="QPushButton" row="3" column="2" rowspan="2" colspan="1">
|
|
|
|
<property name="name">
|
|
|
|
<cstring>btnConnect</cstring>
|
|
|
|
</property>
|
|
|
|
<property name="font">
|
|
|
|
<font>
|
|
|
|
</font>
|
|
|
|
</property>
|
|
|
|
<property name="text">
|
|
|
|
<string>Test Connect</string>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
<widget class="QCheckBox" row="5" column="1" rowspan="1" colspan="2">
|
|
|
|
<property name="name">
|
|
|
|
<cstring>chkStorePassword</cstring>
|
|
|
|
</property>
|
|
|
|
<property name="font">
|
|
|
|
<font>
|
|
|
|
</font>
|
|
|
|
</property>
|
|
|
|
<property name="text">
|
|
|
|
<string>Save Password</string>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</grid>
|
|
|
|
</widget>
|
|
|
|
</grid>
|
|
|
|
</widget>
|
|
|
|
<connections>
|
|
|
|
<connection>
|
|
|
|
<sender>buttonCancel</sender>
|
|
|
|
<signal>clicked()</signal>
|
|
|
|
<receiver>QgsNewConnectionBase</receiver>
|
|
|
|
<slot>reject()</slot>
|
|
|
|
</connection>
|
|
|
|
<connection>
|
|
|
|
<sender>btnConnect</sender>
|
|
|
|
<signal>clicked()</signal>
|
|
|
|
<receiver>QgsNewConnectionBase</receiver>
|
|
|
|
<slot>testConnection()</slot>
|
|
|
|
</connection>
|
|
|
|
<connection>
|
|
|
|
<sender>buttonOk</sender>
|
|
|
|
<signal>clicked()</signal>
|
|
|
|
<receiver>QgsNewConnectionBase</receiver>
|
|
|
|
<slot>accept()</slot>
|
|
|
|
</connection>
|
|
|
|
<connection>
|
|
|
|
<sender>buttonOk</sender>
|
|
|
|
<signal>clicked()</signal>
|
|
|
|
<receiver>QgsNewConnectionBase</receiver>
|
|
|
|
<slot>saveConnection()</slot>
|
|
|
|
</connection>
|
|
|
|
</connections>
|
2002-07-06 17:22:01 +00:00
|
|
|
<tabstops>
|
|
|
|
<tabstop>txtName</tabstop>
|
|
|
|
<tabstop>txtHost</tabstop>
|
|
|
|
<tabstop>txtDatabase</tabstop>
|
|
|
|
<tabstop>txtUsername</tabstop>
|
|
|
|
<tabstop>txtPassword</tabstop>
|
|
|
|
<tabstop>chkStorePassword</tabstop>
|
|
|
|
<tabstop>btnConnect</tabstop>
|
|
|
|
<tabstop>buttonOk</tabstop>
|
|
|
|
<tabstop>buttonCancel</tabstop>
|
|
|
|
<tabstop>buttonHelp</tabstop>
|
|
|
|
</tabstops>
|
2002-07-06 00:33:05 +00:00
|
|
|
<slots>
|
|
|
|
<slot>saveConnection()</slot>
|
|
|
|
<slot>testConnection()</slot>
|
|
|
|
</slots>
|
|
|
|
<layoutdefaults spacing="6" margin="11"/>
|
|
|
|
</UI>
|