newfwruledlg.ui 5.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <ui version="4.0">
  3. <class>NewFwRuleDlg</class>
  4. <widget class="QDialog" name="NewFwRuleDlg">
  5. <property name="windowModality">
  6. <enum>Qt::NonModal</enum>
  7. </property>
  8. <property name="geometry">
  9. <rect>
  10. <x>0</x>
  11. <y>0</y>
  12. <width>381</width>
  13. <height>193</height>
  14. </rect>
  15. </property>
  16. <property name="windowTitle">
  17. <string>New Address</string>
  18. </property>
  19. <property name="modal">
  20. <bool>true</bool>
  21. </property>
  22. <layout class="QGridLayout" name="gridLayout">
  23. <item row="0" column="0">
  24. <layout class="QGridLayout" name="gridLayout_2">
  25. <property name="leftMargin">
  26. <number>0</number>
  27. </property>
  28. <property name="rightMargin">
  29. <number>0</number>
  30. </property>
  31. <property name="verticalSpacing">
  32. <number>6</number>
  33. </property>
  34. <item row="2" column="2">
  35. <widget class="QRadioButton" name="udp_radio">
  36. <property name="sizePolicy">
  37. <sizepolicy hsizetype="Expanding" vsizetype="Fixed">
  38. <horstretch>0</horstretch>
  39. <verstretch>0</verstretch>
  40. </sizepolicy>
  41. </property>
  42. <property name="minimumSize">
  43. <size>
  44. <width>0</width>
  45. <height>0</height>
  46. </size>
  47. </property>
  48. <property name="text">
  49. <string>UDP</string>
  50. </property>
  51. </widget>
  52. </item>
  53. <item row="1" column="0">
  54. <widget class="QLabel" name="label_4">
  55. <property name="text">
  56. <string>Port/Service</string>
  57. </property>
  58. </widget>
  59. </item>
  60. <item row="0" column="0">
  61. <widget class="QLabel" name="label_2">
  62. <property name="text">
  63. <string>Address</string>
  64. </property>
  65. </widget>
  66. </item>
  67. <item row="2" column="3">
  68. <widget class="QRadioButton" name="any_radio">
  69. <property name="sizePolicy">
  70. <sizepolicy hsizetype="Expanding" vsizetype="Fixed">
  71. <horstretch>0</horstretch>
  72. <verstretch>0</verstretch>
  73. </sizepolicy>
  74. </property>
  75. <property name="minimumSize">
  76. <size>
  77. <width>71</width>
  78. <height>0</height>
  79. </size>
  80. </property>
  81. <property name="toolTip">
  82. <string/>
  83. </property>
  84. <property name="text">
  85. <string> Any </string>
  86. </property>
  87. <property name="checked">
  88. <bool>true</bool>
  89. </property>
  90. </widget>
  91. </item>
  92. <item row="0" column="1" colspan="3">
  93. <widget class="QComboBox" name="addressComboBox">
  94. <property name="editable">
  95. <bool>true</bool>
  96. </property>
  97. </widget>
  98. </item>
  99. <item row="1" column="1" colspan="3">
  100. <widget class="QComboBox" name="serviceComboBox">
  101. <property name="toolTip">
  102. <string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;Port/service can be provided as either port number (e.g. 122), port range (1024-1234) or service name (e.g. smtp) . For full list of services known, see /etc/services in dom0.&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
  103. </property>
  104. <property name="editable">
  105. <bool>true</bool>
  106. </property>
  107. </widget>
  108. </item>
  109. <item row="2" column="1">
  110. <widget class="QRadioButton" name="tcp_radio">
  111. <property name="sizePolicy">
  112. <sizepolicy hsizetype="Expanding" vsizetype="Fixed">
  113. <horstretch>0</horstretch>
  114. <verstretch>0</verstretch>
  115. </sizepolicy>
  116. </property>
  117. <property name="minimumSize">
  118. <size>
  119. <width>0</width>
  120. <height>0</height>
  121. </size>
  122. </property>
  123. <property name="text">
  124. <string>TCP</string>
  125. </property>
  126. </widget>
  127. </item>
  128. <item row="2" column="0">
  129. <widget class="QLabel" name="label">
  130. <property name="text">
  131. <string>Protocol</string>
  132. </property>
  133. </widget>
  134. </item>
  135. </layout>
  136. </item>
  137. <item row="1" column="0">
  138. <widget class="QDialogButtonBox" name="buttonBox">
  139. <property name="orientation">
  140. <enum>Qt::Horizontal</enum>
  141. </property>
  142. <property name="standardButtons">
  143. <set>QDialogButtonBox::Cancel|QDialogButtonBox::Ok</set>
  144. </property>
  145. </widget>
  146. </item>
  147. </layout>
  148. </widget>
  149. <tabstops>
  150. <tabstop>addressComboBox</tabstop>
  151. <tabstop>serviceComboBox</tabstop>
  152. <tabstop>tcp_radio</tabstop>
  153. <tabstop>udp_radio</tabstop>
  154. <tabstop>any_radio</tabstop>
  155. <tabstop>buttonBox</tabstop>
  156. </tabstops>
  157. <resources/>
  158. <connections>
  159. <connection>
  160. <sender>buttonBox</sender>
  161. <signal>accepted()</signal>
  162. <receiver>NewFwRuleDlg</receiver>
  163. <slot>accept()</slot>
  164. <hints>
  165. <hint type="sourcelabel">
  166. <x>370</x>
  167. <y>94</y>
  168. </hint>
  169. <hint type="destinationlabel">
  170. <x>157</x>
  171. <y>120</y>
  172. </hint>
  173. </hints>
  174. </connection>
  175. <connection>
  176. <sender>buttonBox</sender>
  177. <signal>rejected()</signal>
  178. <receiver>NewFwRuleDlg</receiver>
  179. <slot>reject()</slot>
  180. <hints>
  181. <hint type="sourcelabel">
  182. <x>370</x>
  183. <y>100</y>
  184. </hint>
  185. <hint type="destinationlabel">
  186. <x>286</x>
  187. <y>120</y>
  188. </hint>
  189. </hints>
  190. </connection>
  191. </connections>
  192. </ui>