network_url_dlg.ui 4.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <ui version="4.0">
  3. <class>NetworkUrlDlg</class>
  4. <widget class="QDialog" name="NetworkUrlDlg">
  5. <property name="geometry">
  6. <rect>
  7. <x>0</x>
  8. <y>0</y>
  9. <width>500</width>
  10. <height>100</height>
  11. </rect>
  12. </property>
  13. <property name="sizePolicy">
  14. <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
  15. <horstretch>0</horstretch>
  16. <verstretch>0</verstretch>
  17. </sizepolicy>
  18. </property>
  19. <property name="minimumSize">
  20. <size>
  21. <width>500</width>
  22. <height>100</height>
  23. </size>
  24. </property>
  25. <property name="maximumSize">
  26. <size>
  27. <width>500</width>
  28. <height>100</height>
  29. </size>
  30. </property>
  31. <property name="windowTitle">
  32. <string>Open Network Media</string>
  33. </property>
  34. <property name="locale">
  35. <locale language="English" country="NewZealand"/>
  36. </property>
  37. <widget class="QWidget" name="gridLayoutWidget">
  38. <property name="geometry">
  39. <rect>
  40. <x>0</x>
  41. <y>0</y>
  42. <width>301</width>
  43. <height>71</height>
  44. </rect>
  45. </property>
  46. <layout class="QGridLayout" name="gridLayout">
  47. <item row="2" column="1">
  48. <layout class="QHBoxLayout" name="horizontalLayout_2">
  49. <item>
  50. <spacer name="horizontalSpacer">
  51. <property name="orientation">
  52. <enum>Qt::Horizontal</enum>
  53. </property>
  54. <property name="sizeHint" stdset="0">
  55. <size>
  56. <width>40</width>
  57. <height>20</height>
  58. </size>
  59. </property>
  60. </spacer>
  61. </item>
  62. <item>
  63. <widget class="QPushButton" name="btn_Ok">
  64. <property name="text">
  65. <string>Ok</string>
  66. </property>
  67. </widget>
  68. </item>
  69. <item>
  70. <widget class="QPushButton" name="btn_Cancel">
  71. <property name="text">
  72. <string>Cancel</string>
  73. </property>
  74. </widget>
  75. </item>
  76. <item>
  77. <spacer name="horizontalSpacer_2">
  78. <property name="orientation">
  79. <enum>Qt::Horizontal</enum>
  80. </property>
  81. <property name="sizeHint" stdset="0">
  82. <size>
  83. <width>40</width>
  84. <height>20</height>
  85. </size>
  86. </property>
  87. </spacer>
  88. </item>
  89. </layout>
  90. </item>
  91. <item row="1" column="1">
  92. <layout class="QHBoxLayout" name="horizontalLayout">
  93. <item>
  94. <spacer name="horizontalSpacer_3">
  95. <property name="orientation">
  96. <enum>Qt::Horizontal</enum>
  97. </property>
  98. <property name="sizeType">
  99. <enum>QSizePolicy::Preferred</enum>
  100. </property>
  101. <property name="sizeHint" stdset="0">
  102. <size>
  103. <width>10</width>
  104. <height>20</height>
  105. </size>
  106. </property>
  107. </spacer>
  108. </item>
  109. <item>
  110. <widget class="QLabel" name="label">
  111. <property name="sizePolicy">
  112. <sizepolicy hsizetype="Fixed" vsizetype="Preferred">
  113. <horstretch>0</horstretch>
  114. <verstretch>0</verstretch>
  115. </sizepolicy>
  116. </property>
  117. <property name="minimumSize">
  118. <size>
  119. <width>68</width>
  120. <height>0</height>
  121. </size>
  122. </property>
  123. <property name="text">
  124. <string>Stream media url:</string>
  125. </property>
  126. </widget>
  127. </item>
  128. <item>
  129. <widget class="QLineEdit" name="lineEdit"/>
  130. </item>
  131. <item>
  132. <spacer name="horizontalSpacer_4">
  133. <property name="orientation">
  134. <enum>Qt::Horizontal</enum>
  135. </property>
  136. <property name="sizeType">
  137. <enum>QSizePolicy::Preferred</enum>
  138. </property>
  139. <property name="sizeHint" stdset="0">
  140. <size>
  141. <width>10</width>
  142. <height>20</height>
  143. </size>
  144. </property>
  145. </spacer>
  146. </item>
  147. </layout>
  148. </item>
  149. <item row="0" column="1">
  150. <spacer name="verticalSpacer">
  151. <property name="orientation">
  152. <enum>Qt::Vertical</enum>
  153. </property>
  154. <property name="sizeType">
  155. <enum>QSizePolicy::Fixed</enum>
  156. </property>
  157. <property name="sizeHint" stdset="0">
  158. <size>
  159. <width>20</width>
  160. <height>10</height>
  161. </size>
  162. </property>
  163. </spacer>
  164. </item>
  165. </layout>
  166. </widget>
  167. </widget>
  168. <layoutdefault spacing="6" margin="11"/>
  169. <resources/>
  170. <connections>
  171. <connection>
  172. <sender>btn_Ok</sender>
  173. <signal>clicked()</signal>
  174. <receiver>NetworkUrlDlg</receiver>
  175. <slot>accept()</slot>
  176. <hints>
  177. <hint type="sourcelabel">
  178. <x>120</x>
  179. <y>58</y>
  180. </hint>
  181. <hint type="destinationlabel">
  182. <x>249</x>
  183. <y>50</y>
  184. </hint>
  185. </hints>
  186. </connection>
  187. <connection>
  188. <sender>btn_Cancel</sender>
  189. <signal>clicked()</signal>
  190. <receiver>NetworkUrlDlg</receiver>
  191. <slot>reject()</slot>
  192. <hints>
  193. <hint type="sourcelabel">
  194. <x>180</x>
  195. <y>58</y>
  196. </hint>
  197. <hint type="destinationlabel">
  198. <x>249</x>
  199. <y>50</y>
  200. </hint>
  201. </hints>
  202. </connection>
  203. </connections>
  204. </ui>