newfwruledlg.ui 4.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184
  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>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="editable">
  102. <bool>true</bool>
  103. </property>
  104. </widget>
  105. </item>
  106. <item row="2" column="1">
  107. <widget class="QRadioButton" name="tcp_radio">
  108. <property name="sizePolicy">
  109. <sizepolicy hsizetype="Expanding" vsizetype="Fixed">
  110. <horstretch>0</horstretch>
  111. <verstretch>0</verstretch>
  112. </sizepolicy>
  113. </property>
  114. <property name="minimumSize">
  115. <size>
  116. <width>0</width>
  117. <height>0</height>
  118. </size>
  119. </property>
  120. <property name="text">
  121. <string>TCP</string>
  122. </property>
  123. </widget>
  124. </item>
  125. <item row="2" column="0">
  126. <widget class="QLabel" name="label">
  127. <property name="text">
  128. <string>Protocol</string>
  129. </property>
  130. </widget>
  131. </item>
  132. </layout>
  133. </item>
  134. <item row="1" column="0">
  135. <widget class="QDialogButtonBox" name="buttonBox">
  136. <property name="orientation">
  137. <enum>Qt::Horizontal</enum>
  138. </property>
  139. <property name="standardButtons">
  140. <set>QDialogButtonBox::Cancel|QDialogButtonBox::Ok</set>
  141. </property>
  142. </widget>
  143. </item>
  144. </layout>
  145. </widget>
  146. <tabstops>
  147. <tabstop>buttonBox</tabstop>
  148. </tabstops>
  149. <resources/>
  150. <connections>
  151. <connection>
  152. <sender>buttonBox</sender>
  153. <signal>accepted()</signal>
  154. <receiver>NewFwRuleDlg</receiver>
  155. <slot>accept()</slot>
  156. <hints>
  157. <hint type="sourcelabel">
  158. <x>370</x>
  159. <y>94</y>
  160. </hint>
  161. <hint type="destinationlabel">
  162. <x>157</x>
  163. <y>120</y>
  164. </hint>
  165. </hints>
  166. </connection>
  167. <connection>
  168. <sender>buttonBox</sender>
  169. <signal>rejected()</signal>
  170. <receiver>NewFwRuleDlg</receiver>
  171. <slot>reject()</slot>
  172. <hints>
  173. <hint type="sourcelabel">
  174. <x>370</x>
  175. <y>100</y>
  176. </hint>
  177. <hint type="destinationlabel">
  178. <x>286</x>
  179. <y>120</y>
  180. </hint>
  181. </hints>
  182. </connection>
  183. </connections>
  184. </ui>