newconnectiondialog.ui 4.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <ui version="4.0">
  3. <class>NewConnectionDialog</class>
  4. <widget class="QDialog" name="NewConnectionDialog">
  5. <property name="geometry">
  6. <rect>
  7. <x>0</x>
  8. <y>0</y>
  9. <width>585</width>
  10. <height>327</height>
  11. </rect>
  12. </property>
  13. <property name="windowTitle">
  14. <string>Create a new Catalog connection</string>
  15. </property>
  16. <layout class="QGridLayout" name="gridLayout">
  17. <item row="1" column="1">
  18. <widget class="QLineEdit" name="leURL"/>
  19. </item>
  20. <item row="1" column="0">
  21. <widget class="QLabel" name="label_2">
  22. <property name="text">
  23. <string>URL</string>
  24. </property>
  25. </widget>
  26. </item>
  27. <item row="0" column="0">
  28. <widget class="QLabel" name="label">
  29. <property name="text">
  30. <string>Name</string>
  31. </property>
  32. </widget>
  33. </item>
  34. <item row="4" column="1">
  35. <widget class="QDialogButtonBox" name="buttonBox">
  36. <property name="orientation">
  37. <enum>Qt::Horizontal</enum>
  38. </property>
  39. <property name="standardButtons">
  40. <set>QDialogButtonBox::Cancel|QDialogButtonBox::Ok</set>
  41. </property>
  42. </widget>
  43. </item>
  44. <item row="0" column="1">
  45. <widget class="QLineEdit" name="leName"/>
  46. </item>
  47. <item row="3" column="0" colspan="2">
  48. <widget class="QGroupBox" name="authenticationGroupBox">
  49. <property name="title">
  50. <string>Authentication</string>
  51. </property>
  52. <layout class="QFormLayout" name="formLayout_2">
  53. <item row="0" column="0" colspan="2">
  54. <widget class="QLabel" name="label_3">
  55. <property name="text">
  56. <string>If the service requires basic authentication, enter a user name and optional password</string>
  57. </property>
  58. <property name="wordWrap">
  59. <bool>true</bool>
  60. </property>
  61. </widget>
  62. </item>
  63. <item row="1" column="0">
  64. <widget class="QLabel" name="label_4">
  65. <property name="text">
  66. <string>User name</string>
  67. </property>
  68. </widget>
  69. </item>
  70. <item row="1" column="1">
  71. <widget class="QLineEdit" name="leUsername"/>
  72. </item>
  73. <item row="2" column="0">
  74. <widget class="QLabel" name="label_5">
  75. <property name="text">
  76. <string>Password</string>
  77. </property>
  78. </widget>
  79. </item>
  80. <item row="2" column="1">
  81. <widget class="QgsPasswordLineEdit" name="lePassword"/>
  82. </item>
  83. </layout>
  84. </widget>
  85. </item>
  86. <item row="2" column="0" colspan="2">
  87. <widget class="QGroupBox" name="optionsGroupBox">
  88. <property name="title">
  89. <string>Options</string>
  90. </property>
  91. <widget class="QLabel" name="leCatalogType">
  92. <property name="geometry">
  93. <rect>
  94. <x>10</x>
  95. <y>30</y>
  96. <width>71</width>
  97. <height>16</height>
  98. </rect>
  99. </property>
  100. <property name="text">
  101. <string>Catalog Type</string>
  102. </property>
  103. </widget>
  104. <widget class="QComboBox" name="cmbCatalogType">
  105. <property name="geometry">
  106. <rect>
  107. <x>100</x>
  108. <y>30</y>
  109. <width>151</width>
  110. <height>22</height>
  111. </rect>
  112. </property>
  113. </widget>
  114. </widget>
  115. </item>
  116. </layout>
  117. </widget>
  118. <tabstops>
  119. <tabstop>leName</tabstop>
  120. <tabstop>leURL</tabstop>
  121. <tabstop>buttonBox</tabstop>
  122. </tabstops>
  123. <resources/>
  124. <connections>
  125. <connection>
  126. <sender>buttonBox</sender>
  127. <signal>accepted()</signal>
  128. <receiver>NewConnectionDialog</receiver>
  129. <slot>accept()</slot>
  130. <hints>
  131. <hint type="sourcelabel">
  132. <x>248</x>
  133. <y>254</y>
  134. </hint>
  135. <hint type="destinationlabel">
  136. <x>157</x>
  137. <y>274</y>
  138. </hint>
  139. </hints>
  140. </connection>
  141. <connection>
  142. <sender>buttonBox</sender>
  143. <signal>rejected()</signal>
  144. <receiver>NewConnectionDialog</receiver>
  145. <slot>reject()</slot>
  146. <hints>
  147. <hint type="sourcelabel">
  148. <x>316</x>
  149. <y>260</y>
  150. </hint>
  151. <hint type="destinationlabel">
  152. <x>286</x>
  153. <y>274</y>
  154. </hint>
  155. </hints>
  156. </connection>
  157. </connections>
  158. <customwidgets>
  159. <customwidget>
  160. <class>QgsPasswordLineEdit</class>
  161. <extends>QLineEdit</extends>
  162. <header>qgis.gui</header>
  163. </customwidget>
  164. </customwidgets>
  165. </ui>