openai-sql/gui/gui/connection.ui
2023-05-08 14:50:29 +02:00

306 lines
6.3 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
<class>Connection</class>
<widget class="QWidget" name="Connection">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>249</width>
<height>252</height>
</rect>
</property>
<property name="windowTitle">
<string>Form</string>
</property>
<widget class="QLabel" name="label">
<property name="geometry">
<rect>
<x>20</x>
<y>10</y>
<width>101</width>
<height>16</height>
</rect>
</property>
<property name="text">
<string>Database</string>
</property>
</widget>
<widget class="QLabel" name="label_2">
<property name="geometry">
<rect>
<x>20</x>
<y>70</y>
<width>49</width>
<height>16</height>
</rect>
</property>
<property name="text">
<string>Port</string>
</property>
</widget>
<widget class="QLabel" name="label_3">
<property name="geometry">
<rect>
<x>20</x>
<y>100</y>
<width>61</width>
<height>16</height>
</rect>
</property>
<property name="text">
<string>Username</string>
</property>
</widget>
<widget class="QLabel" name="label_4">
<property name="geometry">
<rect>
<x>20</x>
<y>130</y>
<width>81</width>
<height>16</height>
</rect>
</property>
<property name="text">
<string>Password</string>
</property>
</widget>
<widget class="QLabel" name="label_5">
<property name="geometry">
<rect>
<x>20</x>
<y>160</y>
<width>61</width>
<height>16</height>
</rect>
</property>
<property name="text">
<string>Database</string>
</property>
</widget>
<widget class="QLineEdit" name="portInput">
<property name="geometry">
<rect>
<x>100</x>
<y>70</y>
<width>131</width>
<height>21</height>
</rect>
</property>
<property name="text">
<string/>
</property>
</widget>
<widget class="QLineEdit" name="usernameInput">
<property name="geometry">
<rect>
<x>100</x>
<y>100</y>
<width>131</width>
<height>21</height>
</rect>
</property>
<property name="text">
<string/>
</property>
</widget>
<widget class="QLineEdit" name="passwordInput">
<property name="geometry">
<rect>
<x>100</x>
<y>130</y>
<width>131</width>
<height>21</height>
</rect>
</property>
<property name="inputMethodHints">
<set>Qt::ImhHiddenText|Qt::ImhSensitiveData</set>
</property>
</widget>
<widget class="QLineEdit" name="databaseInput">
<property name="geometry">
<rect>
<x>100</x>
<y>160</y>
<width>131</width>
<height>21</height>
</rect>
</property>
</widget>
<widget class="QPushButton" name="testButton">
<property name="enabled">
<bool>false</bool>
</property>
<property name="geometry">
<rect>
<x>14</x>
<y>190</y>
<width>101</width>
<height>24</height>
</rect>
</property>
<property name="text">
<string>Test Connection</string>
</property>
</widget>
<widget class="QPushButton" name="saveButton">
<property name="enabled">
<bool>false</bool>
</property>
<property name="geometry">
<rect>
<x>130</x>
<y>190</y>
<width>101</width>
<height>24</height>
</rect>
</property>
<property name="text">
<string>Save</string>
</property>
</widget>
<widget class="QLabel" name="returnLabel">
<property name="geometry">
<rect>
<x>20</x>
<y>220</y>
<width>211</width>
<height>16</height>
</rect>
</property>
<property name="text">
<string>Connection ... / Saved...</string>
</property>
</widget>
<widget class="QLabel" name="label_6">
<property name="geometry">
<rect>
<x>20</x>
<y>40</y>
<width>101</width>
<height>16</height>
</rect>
</property>
<property name="text">
<string>IP</string>
</property>
</widget>
<widget class="QLineEdit" name="ipInput">
<property name="geometry">
<rect>
<x>100</x>
<y>40</y>
<width>131</width>
<height>21</height>
</rect>
</property>
<property name="text">
<string/>
</property>
</widget>
<widget class="QComboBox" name="dbtypeCombo">
<property name="geometry">
<rect>
<x>100</x>
<y>10</y>
<width>131</width>
<height>22</height>
</rect>
</property>
</widget>
</widget>
<tabstops>
<tabstop>dbtypeCombo</tabstop>
<tabstop>ipInput</tabstop>
<tabstop>portInput</tabstop>
<tabstop>usernameInput</tabstop>
<tabstop>passwordInput</tabstop>
<tabstop>databaseInput</tabstop>
<tabstop>testButton</tabstop>
<tabstop>saveButton</tabstop>
</tabstops>
<resources/>
<connections>
<connection>
<sender>ipInput</sender>
<signal>returnPressed()</signal>
<receiver>portInput</receiver>
<slot>setFocus()</slot>
<hints>
<hint type="sourcelabel">
<x>167</x>
<y>43</y>
</hint>
<hint type="destinationlabel">
<x>167</x>
<y>87</y>
</hint>
</hints>
</connection>
<connection>
<sender>portInput</sender>
<signal>returnPressed()</signal>
<receiver>usernameInput</receiver>
<slot>setFocus()</slot>
<hints>
<hint type="sourcelabel">
<x>200</x>
<y>83</y>
</hint>
<hint type="destinationlabel">
<x>205</x>
<y>111</y>
</hint>
</hints>
</connection>
<connection>
<sender>usernameInput</sender>
<signal>returnPressed()</signal>
<receiver>passwordInput</receiver>
<slot>setFocus()</slot>
<hints>
<hint type="sourcelabel">
<x>140</x>
<y>117</y>
</hint>
<hint type="destinationlabel">
<x>138</x>
<y>137</y>
</hint>
</hints>
</connection>
<connection>
<sender>passwordInput</sender>
<signal>returnPressed()</signal>
<receiver>databaseInput</receiver>
<slot>setFocus()</slot>
<hints>
<hint type="sourcelabel">
<x>187</x>
<y>143</y>
</hint>
<hint type="destinationlabel">
<x>184</x>
<y>167</y>
</hint>
</hints>
</connection>
<connection>
<sender>databaseInput</sender>
<signal>returnPressed()</signal>
<receiver>testButton</receiver>
<slot>click()</slot>
<hints>
<hint type="sourcelabel">
<x>157</x>
<y>173</y>
</hint>
<hint type="destinationlabel">
<x>84</x>
<y>205</y>
</hint>
</hints>
</connection>
</connections>
</ui>