2017-01-14 20:07:12 +01:00
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
|
|
|
<ui version="4.0">
|
|
|
|
|
<class>ConnectionManagerWindow</class>
|
|
|
|
|
<widget class="QMainWindow" name="ConnectionManagerWindow">
|
|
|
|
|
<property name="geometry">
|
|
|
|
|
<rect>
|
|
|
|
|
<x>0</x>
|
|
|
|
|
<y>0</y>
|
|
|
|
|
<width>800</width>
|
|
|
|
|
<height>600</height>
|
|
|
|
|
</rect>
|
|
|
|
|
</property>
|
|
|
|
|
<property name="windowTitle">
|
2017-01-15 13:49:17 +01:00
|
|
|
<string>pglab - Connection Manager</string>
|
2017-01-14 20:07:12 +01:00
|
|
|
</property>
|
|
|
|
|
<widget class="QWidget" name="centralwidget">
|
|
|
|
|
<layout class="QVBoxLayout" name="verticalLayout">
|
|
|
|
|
<item>
|
|
|
|
|
<widget class="QSplitter" name="splitter">
|
|
|
|
|
<property name="orientation">
|
|
|
|
|
<enum>Qt::Horizontal</enum>
|
|
|
|
|
</property>
|
|
|
|
|
<widget class="QListView" name="listView">
|
|
|
|
|
<property name="alternatingRowColors">
|
|
|
|
|
<bool>true</bool>
|
|
|
|
|
</property>
|
|
|
|
|
<property name="uniformItemSizes">
|
|
|
|
|
<bool>true</bool>
|
|
|
|
|
</property>
|
|
|
|
|
</widget>
|
|
|
|
|
<widget class="QWidget" name="layoutWidget">
|
|
|
|
|
<layout class="QFormLayout" name="formLayout_2">
|
|
|
|
|
<item row="0" column="0">
|
|
|
|
|
<widget class="QLabel" name="label">
|
|
|
|
|
<property name="text">
|
|
|
|
|
<string>Name</string>
|
|
|
|
|
</property>
|
|
|
|
|
</widget>
|
|
|
|
|
</item>
|
|
|
|
|
<item row="0" column="1">
|
2017-01-14 22:03:58 +01:00
|
|
|
<widget class="QLineEdit" name="edtName"/>
|
2017-01-14 20:07:12 +01:00
|
|
|
</item>
|
|
|
|
|
<item row="1" column="0">
|
|
|
|
|
<widget class="QLabel" name="label_2">
|
|
|
|
|
<property name="text">
|
|
|
|
|
<string>Host</string>
|
|
|
|
|
</property>
|
|
|
|
|
</widget>
|
|
|
|
|
</item>
|
|
|
|
|
<item row="1" column="1">
|
2017-01-14 22:03:58 +01:00
|
|
|
<widget class="QLineEdit" name="edtHost"/>
|
2017-01-14 20:07:12 +01:00
|
|
|
</item>
|
|
|
|
|
<item row="2" column="0">
|
|
|
|
|
<widget class="QLabel" name="label_3">
|
|
|
|
|
<property name="text">
|
|
|
|
|
<string>Port</string>
|
|
|
|
|
</property>
|
|
|
|
|
</widget>
|
|
|
|
|
</item>
|
|
|
|
|
<item row="2" column="1">
|
2017-01-14 22:03:58 +01:00
|
|
|
<widget class="QSpinBox" name="spinPort">
|
2017-01-14 20:07:12 +01:00
|
|
|
<property name="maximum">
|
|
|
|
|
<number>65535</number>
|
|
|
|
|
</property>
|
|
|
|
|
</widget>
|
|
|
|
|
</item>
|
|
|
|
|
<item row="3" column="0">
|
2017-01-14 22:03:58 +01:00
|
|
|
<widget class="QLabel" name="label_5">
|
2017-01-14 20:07:12 +01:00
|
|
|
<property name="text">
|
2017-01-14 22:03:58 +01:00
|
|
|
<string>Username</string>
|
2017-01-14 20:07:12 +01:00
|
|
|
</property>
|
|
|
|
|
</widget>
|
|
|
|
|
</item>
|
|
|
|
|
<item row="3" column="1">
|
2017-01-14 22:03:58 +01:00
|
|
|
<widget class="QLineEdit" name="edtUser"/>
|
|
|
|
|
</item>
|
|
|
|
|
<item row="4" column="0">
|
2018-11-04 11:26:20 +01:00
|
|
|
<widget class="QLabel" name="label_4">
|
2017-01-14 22:03:58 +01:00
|
|
|
<property name="text">
|
2018-11-04 11:26:20 +01:00
|
|
|
<string>Database</string>
|
2017-01-14 20:07:12 +01:00
|
|
|
</property>
|
2017-01-14 22:03:58 +01:00
|
|
|
</widget>
|
|
|
|
|
</item>
|
|
|
|
|
<item row="4" column="1">
|
2018-11-04 11:26:20 +01:00
|
|
|
<widget class="QLineEdit" name="edtDbname"/>
|
2017-01-14 22:03:58 +01:00
|
|
|
</item>
|
|
|
|
|
<item row="5" column="0">
|
2018-11-04 11:26:20 +01:00
|
|
|
<widget class="QLabel" name="label_7">
|
2017-01-14 22:03:58 +01:00
|
|
|
<property name="text">
|
2018-11-04 11:26:20 +01:00
|
|
|
<string>SSL</string>
|
2017-01-14 22:03:58 +01:00
|
|
|
</property>
|
|
|
|
|
</widget>
|
|
|
|
|
</item>
|
|
|
|
|
<item row="5" column="1">
|
|
|
|
|
<widget class="QComboBox" name="cmbbxSsl">
|
2017-01-14 20:07:12 +01:00
|
|
|
<property name="currentIndex">
|
2017-01-14 22:03:58 +01:00
|
|
|
<number>2</number>
|
2017-01-14 20:07:12 +01:00
|
|
|
</property>
|
|
|
|
|
<item>
|
|
|
|
|
<property name="text">
|
2017-01-14 22:03:58 +01:00
|
|
|
<string>reject</string>
|
|
|
|
|
</property>
|
|
|
|
|
</item>
|
|
|
|
|
<item>
|
|
|
|
|
<property name="text">
|
|
|
|
|
<string>allow</string>
|
|
|
|
|
</property>
|
|
|
|
|
</item>
|
|
|
|
|
<item>
|
|
|
|
|
<property name="text">
|
|
|
|
|
<string>prefer</string>
|
|
|
|
|
</property>
|
|
|
|
|
</item>
|
|
|
|
|
<item>
|
|
|
|
|
<property name="text">
|
|
|
|
|
<string>require</string>
|
|
|
|
|
</property>
|
|
|
|
|
</item>
|
|
|
|
|
<item>
|
|
|
|
|
<property name="text">
|
|
|
|
|
<string>verify-ca</string>
|
2017-01-14 20:07:12 +01:00
|
|
|
</property>
|
|
|
|
|
</item>
|
|
|
|
|
<item>
|
|
|
|
|
<property name="text">
|
2017-01-14 22:03:58 +01:00
|
|
|
<string>verify-full</string>
|
2017-01-14 20:07:12 +01:00
|
|
|
</property>
|
|
|
|
|
</item>
|
|
|
|
|
</widget>
|
|
|
|
|
</item>
|
2017-01-14 22:03:58 +01:00
|
|
|
<item row="6" column="0">
|
|
|
|
|
<widget class="QLabel" name="label_8">
|
|
|
|
|
<property name="text">
|
|
|
|
|
<string>Certificate</string>
|
|
|
|
|
</property>
|
|
|
|
|
</widget>
|
2017-01-14 20:07:12 +01:00
|
|
|
</item>
|
2018-11-04 11:26:20 +01:00
|
|
|
<item row="6" column="1">
|
2017-01-14 22:03:58 +01:00
|
|
|
<widget class="QLineEdit" name="edtCert"/>
|
|
|
|
|
</item>
|
2018-11-04 11:26:20 +01:00
|
|
|
<item row="7" column="0">
|
2017-01-14 22:03:58 +01:00
|
|
|
<widget class="QLabel" name="label_9">
|
2017-01-14 20:07:12 +01:00
|
|
|
<property name="text">
|
2017-01-14 22:03:58 +01:00
|
|
|
<string>Key</string>
|
2017-01-14 20:07:12 +01:00
|
|
|
</property>
|
|
|
|
|
</widget>
|
|
|
|
|
</item>
|
2018-11-04 11:26:20 +01:00
|
|
|
<item row="7" column="1">
|
2017-01-14 22:03:58 +01:00
|
|
|
<widget class="QLineEdit" name="edtKey"/>
|
|
|
|
|
</item>
|
2018-11-04 11:26:20 +01:00
|
|
|
<item row="8" column="0">
|
2017-01-14 22:03:58 +01:00
|
|
|
<widget class="QLabel" name="label_10">
|
|
|
|
|
<property name="text">
|
|
|
|
|
<string>Root cert.</string>
|
2017-01-14 20:07:12 +01:00
|
|
|
</property>
|
|
|
|
|
</widget>
|
|
|
|
|
</item>
|
2018-11-04 11:26:20 +01:00
|
|
|
<item row="8" column="1">
|
2017-01-14 22:03:58 +01:00
|
|
|
<widget class="QLineEdit" name="edtRootCert"/>
|
|
|
|
|
</item>
|
2018-11-04 11:26:20 +01:00
|
|
|
<item row="9" column="0">
|
2017-01-14 22:03:58 +01:00
|
|
|
<widget class="QLabel" name="label_11">
|
|
|
|
|
<property name="text">
|
|
|
|
|
<string>Revocation list</string>
|
|
|
|
|
</property>
|
|
|
|
|
</widget>
|
|
|
|
|
</item>
|
2018-11-04 11:26:20 +01:00
|
|
|
<item row="9" column="1">
|
2017-01-14 22:03:58 +01:00
|
|
|
<widget class="QLineEdit" name="edtCrl"/>
|
|
|
|
|
</item>
|
2017-01-14 20:07:12 +01:00
|
|
|
</layout>
|
|
|
|
|
</widget>
|
|
|
|
|
</widget>
|
|
|
|
|
</item>
|
|
|
|
|
</layout>
|
|
|
|
|
</widget>
|
|
|
|
|
<widget class="QMenuBar" name="menubar">
|
|
|
|
|
<property name="geometry">
|
|
|
|
|
<rect>
|
|
|
|
|
<x>0</x>
|
|
|
|
|
<y>0</y>
|
|
|
|
|
<width>800</width>
|
2019-08-23 09:44:06 +02:00
|
|
|
<height>20</height>
|
2017-01-14 20:07:12 +01:00
|
|
|
</rect>
|
|
|
|
|
</property>
|
2017-01-15 21:01:40 +01:00
|
|
|
<widget class="QMenu" name="menuFile">
|
|
|
|
|
<property name="title">
|
2017-08-23 17:41:10 +02:00
|
|
|
<string>Fi&le</string>
|
2017-01-15 21:01:40 +01:00
|
|
|
</property>
|
|
|
|
|
<addaction name="actionQuit_application"/>
|
|
|
|
|
</widget>
|
|
|
|
|
<addaction name="menuFile"/>
|
2017-01-14 20:07:12 +01:00
|
|
|
</widget>
|
|
|
|
|
<widget class="QStatusBar" name="statusbar"/>
|
|
|
|
|
<widget class="QToolBar" name="toolBar">
|
|
|
|
|
<property name="windowTitle">
|
|
|
|
|
<string>toolBar</string>
|
|
|
|
|
</property>
|
2017-12-30 12:57:55 +01:00
|
|
|
<property name="styleSheet">
|
|
|
|
|
<string notr="true">QToolBar {
|
|
|
|
|
border-top: 1px solid rgb(192, 192, 192);
|
|
|
|
|
border-bottom: 1px solid rgb(192, 192, 192);
|
|
|
|
|
padding: 4px;
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
QToolButton {
|
|
|
|
|
border: none;
|
|
|
|
|
}</string>
|
|
|
|
|
</property>
|
2017-01-14 20:07:12 +01:00
|
|
|
<property name="movable">
|
|
|
|
|
<bool>false</bool>
|
|
|
|
|
</property>
|
|
|
|
|
<property name="floatable">
|
|
|
|
|
<bool>false</bool>
|
|
|
|
|
</property>
|
|
|
|
|
<attribute name="toolBarArea">
|
|
|
|
|
<enum>TopToolBarArea</enum>
|
|
|
|
|
</attribute>
|
|
|
|
|
<attribute name="toolBarBreak">
|
|
|
|
|
<bool>false</bool>
|
|
|
|
|
</attribute>
|
|
|
|
|
<addaction name="actionConnect"/>
|
2017-02-12 08:13:38 +01:00
|
|
|
<addaction name="actionManage_server"/>
|
|
|
|
|
<addaction name="separator"/>
|
2017-01-14 20:07:12 +01:00
|
|
|
<addaction name="actionAdd_Connection"/>
|
|
|
|
|
<addaction name="actionDelete_connection"/>
|
2017-02-01 18:01:02 +01:00
|
|
|
<addaction name="separator"/>
|
|
|
|
|
<addaction name="actionBackup_database"/>
|
2017-01-14 20:07:12 +01:00
|
|
|
</widget>
|
|
|
|
|
<action name="actionAdd_Connection">
|
|
|
|
|
<property name="icon">
|
2017-01-15 13:49:17 +01:00
|
|
|
<iconset resource="resources.qrc">
|
2017-08-23 17:41:10 +02:00
|
|
|
<normaloff>:/icons/add_connection.png</normaloff>:/icons/add_connection.png</iconset>
|
2017-01-14 20:07:12 +01:00
|
|
|
</property>
|
|
|
|
|
<property name="text">
|
|
|
|
|
<string>Add Connection</string>
|
|
|
|
|
</property>
|
|
|
|
|
</action>
|
|
|
|
|
<action name="actionDelete_connection">
|
|
|
|
|
<property name="icon">
|
2017-08-23 17:41:10 +02:00
|
|
|
<iconset resource="resources.qrc">
|
|
|
|
|
<normaloff>:/icons/delete_connection.png</normaloff>
|
|
|
|
|
<normalon>:/icons/delete_connection.png</normalon>:/icons/delete_connection.png</iconset>
|
2017-01-14 20:07:12 +01:00
|
|
|
</property>
|
|
|
|
|
<property name="text">
|
|
|
|
|
<string>Delete connection</string>
|
|
|
|
|
</property>
|
|
|
|
|
<property name="iconText">
|
|
|
|
|
<string>Delete</string>
|
|
|
|
|
</property>
|
|
|
|
|
</action>
|
|
|
|
|
<action name="actionConnect">
|
|
|
|
|
<property name="icon">
|
2017-08-23 17:41:10 +02:00
|
|
|
<iconset>
|
|
|
|
|
<normalon>:/icons/open_query_window.png</normalon>
|
|
|
|
|
</iconset>
|
2017-01-14 20:07:12 +01:00
|
|
|
</property>
|
|
|
|
|
<property name="text">
|
|
|
|
|
<string>Connect</string>
|
|
|
|
|
</property>
|
|
|
|
|
</action>
|
2017-01-15 21:01:40 +01:00
|
|
|
<action name="actionQuit_application">
|
|
|
|
|
<property name="text">
|
2017-08-23 17:41:10 +02:00
|
|
|
<string>&Quit application</string>
|
2017-01-15 21:01:40 +01:00
|
|
|
</property>
|
|
|
|
|
</action>
|
2017-02-01 18:01:02 +01:00
|
|
|
<action name="actionBackup_database">
|
|
|
|
|
<property name="icon">
|
2017-08-23 17:41:10 +02:00
|
|
|
<iconset resource="resources.qrc">
|
|
|
|
|
<normaloff>:/icons/backup_database.png</normaloff>
|
|
|
|
|
<normalon>:/icons/backups.png</normalon>:/icons/backup_database.png</iconset>
|
2017-02-01 18:01:02 +01:00
|
|
|
</property>
|
|
|
|
|
<property name="text">
|
|
|
|
|
<string>Backup database</string>
|
|
|
|
|
</property>
|
|
|
|
|
</action>
|
2017-02-12 08:13:38 +01:00
|
|
|
<action name="actionManage_server">
|
|
|
|
|
<property name="icon">
|
|
|
|
|
<iconset>
|
2017-08-23 17:41:10 +02:00
|
|
|
<normalon>:/icons/manage_server.png</normalon>
|
2017-02-12 08:13:38 +01:00
|
|
|
</iconset>
|
|
|
|
|
</property>
|
|
|
|
|
<property name="text">
|
|
|
|
|
<string>Manage server</string>
|
|
|
|
|
</property>
|
|
|
|
|
</action>
|
2017-01-14 20:07:12 +01:00
|
|
|
</widget>
|
2017-01-15 13:49:17 +01:00
|
|
|
<resources>
|
|
|
|
|
<include location="resources.qrc"/>
|
|
|
|
|
</resources>
|
2017-01-14 20:07:12 +01:00
|
|
|
<connections/>
|
|
|
|
|
</ui>
|