2016-01-19 10:26:01 +00:00
<?xml version="1.0" encoding="UTF-8"?>
<ui version= "4.0" >
<class> ConfigWindow</class>
<widget class= "QDialog" name= "ConfigWindow" >
<property name= "geometry" >
<rect>
<x> 0</x>
<y> 0</y>
2018-07-11 13:31:19 +01:00
<width> 731</width>
2018-07-19 12:54:53 +01:00
<height> 300</height>
2016-01-19 10:26:01 +00:00
</rect>
</property>
<property name= "sizePolicy" >
2018-02-05 15:32:14 +00:00
<sizepolicy hsizetype= "Minimum" vsizetype= "Minimum" >
2016-01-19 10:26:01 +00:00
<horstretch> 0</horstretch>
<verstretch> 0</verstretch>
</sizepolicy>
</property>
2018-02-05 15:32:14 +00:00
<property name= "minimumSize" >
<size>
<width> 625</width>
<height> 300</height>
</size>
</property>
2016-01-19 10:26:01 +00:00
<property name= "windowTitle" >
<string> Dialog</string>
</property>
<layout class= "QVBoxLayout" name= "verticalLayout" >
<item>
2018-02-05 15:32:14 +00:00
<widget class= "QTabWidget" name= "tabWidget" >
<property name= "currentIndex" >
<number> 0</number>
2016-01-19 10:26:01 +00:00
</property>
2018-02-05 15:32:14 +00:00
<widget class= "QWidget" name= "tab" >
<attribute name= "title" >
<string> Runtime</string>
</attribute>
<layout class= "QHBoxLayout" name= "horizontalLayout_4" >
<item>
<layout class= "QVBoxLayout" name= "verticalLayout_2" >
<property name= "sizeConstraint" >
<enum> QLayout::SetMaximumSize</enum>
</property>
<item>
<widget class= "QLabel" name= "label_3" >
<property name= "sizePolicy" >
<sizepolicy hsizetype= "Expanding" vsizetype= "Preferred" >
<horstretch> 0</horstretch>
<verstretch> 0</verstretch>
</sizepolicy>
</property>
<property name= "maximumSize" >
<size>
<width> 589</width>
<height> 16777215</height>
</size>
</property>
<property name= "text" >
<string> Enter a command line to be used to start the browser. If blank, the system default browser will be used. %URL% will be replaced with the appropriate URL when executing the browser.</string>
</property>
<property name= "wordWrap" >
<bool> true</bool>
</property>
</widget>
</item>
<item>
<layout class= "QHBoxLayout" name= "horizontalLayout" >
<property name= "sizeConstraint" >
<enum> QLayout::SetMaximumSize</enum>
</property>
<item>
<widget class= "QLabel" name= "pythonPathLabel_2" >
<property name= "sizePolicy" >
2018-07-19 12:54:53 +01:00
<sizepolicy hsizetype= "Fixed" vsizetype= "Preferred" >
2018-02-05 15:32:14 +00:00
<horstretch> 0</horstretch>
<verstretch> 0</verstretch>
</sizepolicy>
</property>
2018-07-19 12:54:53 +01:00
<property name= "minimumSize" >
<size>
<width> 150</width>
<height> 0</height>
</size>
</property>
<property name= "maximumSize" >
<size>
<width> 150</width>
<height> 16777215</height>
</size>
</property>
2018-02-05 15:32:14 +00:00
<property name= "text" >
<string> Browser Command</string>
</property>
</widget>
</item>
<item>
2018-07-17 12:18:37 +01:00
<widget class= "QLineEdit" name= "browserCommandLineEdit" >
<property name= "placeholderText" >
<string> /usr/bin/firefox %URL%</string>
</property>
</widget>
2018-02-05 15:32:14 +00:00
</item>
</layout>
</item>
<item>
2018-07-19 12:54:53 +01:00
<spacer name= "verticalSpacer_4" >
2018-02-05 15:32:14 +00:00
<property name= "orientation" >
<enum> Qt::Vertical</enum>
</property>
<property name= "sizeHint" stdset= "0" >
<size>
<width> 20</width>
<height> 40</height>
</size>
</property>
</spacer>
</item>
2018-07-19 12:54:53 +01:00
<item>
<widget class= "QLabel" name= "label_6" >
<property name= "text" >
<string> By default the runtime uses a random port number to ensure it can always run successfully. If you need to use a predictable port number, you can set one here. Note that if the port is already in use, the application will be unable start.</string>
</property>
<property name= "wordWrap" >
<bool> true</bool>
</property>
</widget>
</item>
<item>
<layout class= "QHBoxLayout" name= "horizontalLayout_5" >
<item>
<widget class= "QLabel" name= "label_5" >
<property name= "sizePolicy" >
<sizepolicy hsizetype= "Fixed" vsizetype= "Preferred" >
<horstretch> 0</horstretch>
<verstretch> 0</verstretch>
</sizepolicy>
</property>
<property name= "minimumSize" >
<size>
<width> 150</width>
<height> 0</height>
</size>
</property>
<property name= "maximumSize" >
<size>
<width> 150</width>
<height> 16777215</height>
</size>
</property>
<property name= "text" >
<string> Fixed Port Number?</string>
</property>
</widget>
</item>
<item>
<widget class= "QCheckBox" name= "chkFixedPort" >
<property name= "sizePolicy" >
<sizepolicy hsizetype= "Fixed" vsizetype= "Fixed" >
<horstretch> 0</horstretch>
<verstretch> 0</verstretch>
</sizepolicy>
</property>
<property name= "text" >
<string/>
</property>
<property name= "checked" >
<bool> true</bool>
</property>
</widget>
</item>
<item>
<spacer name= "horizontalSpacer" >
<property name= "orientation" >
<enum> Qt::Horizontal</enum>
</property>
<property name= "sizeType" >
<enum> QSizePolicy::Fixed</enum>
</property>
<property name= "sizeHint" stdset= "0" >
<size>
<width> 40</width>
<height> 20</height>
</size>
</property>
</spacer>
</item>
<item>
<widget class= "QLabel" name= "label_7" >
<property name= "text" >
<string> Port number</string>
</property>
</widget>
</item>
<item>
<widget class= "QSpinBox" name= "spinPortNumber" >
<property name= "enabled" >
<bool> false</bool>
</property>
<property name= "sizePolicy" >
<sizepolicy hsizetype= "Fixed" vsizetype= "Fixed" >
<horstretch> 0</horstretch>
<verstretch> 0</verstretch>
</sizepolicy>
</property>
<property name= "minimum" >
<number> 1</number>
</property>
<property name= "maximum" >
<number> 65535</number>
</property>
<property name= "value" >
<number> 5050</number>
</property>
</widget>
</item>
<item>
<spacer name= "horizontalSpacer_2" >
<property name= "orientation" >
<enum> Qt::Horizontal</enum>
</property>
<property name= "sizeHint" stdset= "0" >
<size>
<width> 40</width>
<height> 20</height>
</size>
</property>
</spacer>
</item>
</layout>
</item>
2018-02-05 15:32:14 +00:00
</layout>
</item>
</layout>
</widget>
<widget class= "QWidget" name= "tab_2" >
<attribute name= "title" >
<string> Python</string>
</attribute>
<layout class= "QVBoxLayout" name= "verticalLayout_5" >
<item>
<layout class= "QVBoxLayout" name= "verticalLayout_4" >
<item>
<widget class= "QLabel" name= "label_4" >
<property name= "text" >
<string> The options below are intended for expert users only, and may not behave as expected as they modify fixed search paths and are not alternate values. Modify with care!</string>
</property>
<property name= "wordWrap" >
<bool> true</bool>
</property>
</widget>
</item>
<item>
<spacer name= "verticalSpacer_3" >
<property name= "orientation" >
<enum> Qt::Vertical</enum>
</property>
<property name= "sizeType" >
<enum> QSizePolicy::Fixed</enum>
</property>
<property name= "sizeHint" stdset= "0" >
<size>
<width> 20</width>
2018-07-19 12:54:53 +01:00
<height> 5</height>
2018-02-05 15:32:14 +00:00
</size>
</property>
</spacer>
</item>
<item>
<layout class= "QGridLayout" name= "gridLayout" >
2018-07-19 12:54:53 +01:00
<item row= "5" column= "1" >
<widget class= "QLineEdit" name= "applicationPathLineEdit" >
<property name= "placeholderText" >
<string> /usr/pgadmin4/web</string>
</property>
</widget>
</item>
<item row= "0" column= "1" >
<widget class= "QLineEdit" name= "pythonPathLineEdit" >
<property name= "placeholderText" >
<string> /usr/pgadmin4/lib/python2.7;/usr/pgadmin4/lib/python2.7/site-packages</string>
</property>
</widget>
</item>
<item row= "6" column= "1" >
2018-02-05 15:32:14 +00:00
<widget class= "QLabel" name= "label_2" >
<property name= "text" >
<string> Enter the path to the directory containing pgAdmin.py if desired.</string>
</property>
</widget>
</item>
<item row= "0" column= "0" >
<widget class= "QLabel" name= "pythonPathLabel" >
<property name= "text" >
<string> Python Path</string>
</property>
</widget>
</item>
2018-07-19 12:54:53 +01:00
<item row= "5" column= "0" >
<widget class= "QLabel" name= "applicationPathLabel" >
<property name= "text" >
<string> Application Path</string>
2018-07-17 12:18:37 +01:00
</property>
</widget>
2018-02-05 15:32:14 +00:00
</item>
2018-07-19 12:54:53 +01:00
<item row= "2" column= "1" >
2018-02-05 15:32:14 +00:00
<widget class= "QLabel" name= "label" >
<property name= "text" >
<string> Enter a PYTHONPATH if desired. Path elements should be semi-colon delimited.</string>
</property>
<property name= "wordWrap" >
<bool> true</bool>
</property>
</widget>
</item>
2018-07-19 12:54:53 +01:00
<item row= "3" column= "1" >
<spacer name= "verticalSpacer_5" >
<property name= "orientation" >
<enum> Qt::Vertical</enum>
2018-02-05 15:32:14 +00:00
</property>
2018-07-19 12:54:53 +01:00
<property name= "sizeType" >
<enum> QSizePolicy::Expanding</enum>
2018-07-17 12:18:37 +01:00
</property>
2018-07-19 12:54:53 +01:00
<property name= "sizeHint" stdset= "0" >
<size>
<width> 20</width>
<height> 60</height>
</size>
</property>
</spacer>
2018-02-05 15:32:14 +00:00
</item>
</layout>
</item>
</layout>
</item>
</layout>
</widget>
</widget>
2016-01-19 10:26:01 +00:00
</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>
<resources/>
<connections>
<connection>
<sender> buttonBox</sender>
<signal> accepted()</signal>
<receiver> ConfigWindow</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> ConfigWindow</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>
2018-07-19 12:54:53 +01:00
<connection>
<sender> chkFixedPort</sender>
<signal> stateChanged(int)</signal>
<receiver> ConfigWindow</receiver>
<slot> on_chkFixedPort_stateChanged(int)</slot>
<hints>
<hint type= "sourcelabel" >
<x> 202</x>
<y> 213</y>
</hint>
<hint type= "destinationlabel" >
<x> 365</x>
<y> 149</y>
</hint>
</hints>
</connection>
2016-01-19 10:26:01 +00:00
</connections>
2018-07-19 12:54:53 +01:00
<slots>
<slot> on_chkFixedPort_stateChanged(int)</slot>
</slots>
2016-01-19 10:26:01 +00:00
</ui>