pgLab/pglab/CreateDatabaseDialog.ui

190 lines
5.1 KiB
Text
Raw Permalink Normal View History

<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
<class>CreateDatabaseDialog</class>
<widget class="QDialog" name="CreateDatabaseDialog">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>506</width>
2022-05-24 18:54:13 +02:00
<height>542</height>
</rect>
</property>
<property name="windowTitle">
<string>Dialog</string>
</property>
<layout class="QVBoxLayout" name="verticalLayout">
<item>
2022-05-24 18:54:13 +02:00
<widget class="QTabWidget" name="tabWidget">
<property name="currentIndex">
2022-05-24 18:54:13 +02:00
<number>1</number>
</property>
2022-05-24 18:54:13 +02:00
<widget class="QWidget" name="Input">
<attribute name="title">
<string>Input</string>
</attribute>
<layout class="QFormLayout" name="formLayout">
<item row="0" column="0">
<widget class="QLabel" name="label">
<property name="text">
<string>Name</string>
</property>
</widget>
</item>
<item row="0" column="1">
2022-05-24 18:54:13 +02:00
<widget class="QLineEdit" name="name"/>
</item>
<item row="2" column="0">
<widget class="QLabel" name="label_2">
<property name="text">
<string>Template</string>
</property>
</widget>
</item>
<item row="2" column="1">
2022-05-24 18:54:13 +02:00
<widget class="QComboBox" name="dbTemplate"/>
</item>
<item row="3" column="0">
<widget class="QLabel" name="label_3">
<property name="text">
<string>Encoding</string>
</property>
</widget>
</item>
<item row="3" column="1">
2022-05-24 18:54:13 +02:00
<widget class="QComboBox" name="encoding"/>
</item>
<item row="4" column="0">
<widget class="QLabel" name="label_4">
<property name="text">
<string>Collation order</string>
</property>
</widget>
</item>
<item row="4" column="1">
2022-05-24 18:54:13 +02:00
<widget class="QComboBox" name="collationOrder"/>
</item>
<item row="5" column="0">
<widget class="QLabel" name="label_5">
<property name="text">
<string>Character classification</string>
</property>
</widget>
</item>
<item row="5" column="1">
2022-05-24 18:54:13 +02:00
<widget class="QComboBox" name="characterClassification"/>
</item>
<item row="6" column="0">
<widget class="QLabel" name="label_6">
<property name="text">
<string>Connection limit</string>
</property>
</widget>
</item>
<item row="6" column="1">
2022-05-24 18:54:13 +02:00
<widget class="QSpinBox" name="connectionLimit"/>
</item>
<item row="7" column="0">
<widget class="QLabel" name="label_8">
<property name="text">
<string>Tablespace</string>
</property>
</widget>
</item>
<item row="7" column="1">
2022-05-24 18:54:13 +02:00
<widget class="QComboBox" name="tablespace"/>
</item>
<item row="1" column="1">
2022-05-24 18:54:13 +02:00
<widget class="QComboBox" name="owner"/>
</item>
<item row="1" column="0">
<widget class="QLabel" name="label_7">
<property name="text">
<string>Owner</string>
</property>
</widget>
</item>
<item row="8" column="1">
2022-05-24 18:54:13 +02:00
<widget class="QCheckBox" name="templateDatabase">
<property name="text">
<string>Template database</string>
</property>
</widget>
</item>
<item row="9" column="1">
2022-05-24 18:54:13 +02:00
<widget class="QCheckBox" name="allowConnections">
<property name="text">
<string>Allow connections</string>
</property>
</widget>
</item>
</layout>
</widget>
<widget class="QWidget" name="tab">
<attribute name="title">
<string>SQL</string>
</attribute>
2022-05-24 18:54:13 +02:00
<layout class="QVBoxLayout" name="verticalLayout_2">
<item>
<widget class="CodeEditor" name="sqlPreview"/>
</item>
</layout>
</widget>
</widget>
</item>
<item>
<widget class="QDialogButtonBox" name="buttonBox">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="standardButtons">
<set>QDialogButtonBox::Cancel|QDialogButtonBox::Ok</set>
</property>
</widget>
</item>
</layout>
</widget>
2022-05-24 18:54:13 +02:00
<customwidgets>
<customwidget>
<class>CodeEditor</class>
<extends>QPlainTextEdit</extends>
<header>codeeditor\CodeEditor.h</header>
</customwidget>
</customwidgets>
<resources/>
<connections>
<connection>
<sender>buttonBox</sender>
<signal>accepted()</signal>
<receiver>CreateDatabaseDialog</receiver>
<slot>accept()</slot>
<hints>
<hint type="sourcelabel">
<x>248</x>
<y>254</y>
</hint>
<hint type="destinationlabel">
<x>157</x>
<y>274</y>
</hint>
</hints>
</connection>
<connection>
<sender>buttonBox</sender>
<signal>rejected()</signal>
<receiver>CreateDatabaseDialog</receiver>
<slot>reject()</slot>
<hints>
<hint type="sourcelabel">
<x>316</x>
<y>260</y>
</hint>
<hint type="destinationlabel">
<x>286</x>
<y>274</y>
</hint>
</hints>
</connection>
</connections>
</ui>