newfwruledlg.ui 4.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181
  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="0">
  35. <widget class="QLabel" name="label">
  36. <property name="text">
  37. <string>Protocol</string>
  38. </property>
  39. </widget>
  40. </item>
  41. <item row="1" column="0">
  42. <widget class="QLabel" name="label_4">
  43. <property name="text">
  44. <string>Service</string>
  45. </property>
  46. </widget>
  47. </item>
  48. <item row="1" column="1" colspan="3">
  49. <widget class="QComboBox" name="serviceComboBox">
  50. <property name="editable">
  51. <bool>true</bool>
  52. </property>
  53. </widget>
  54. </item>
  55. <item row="0" column="0">
  56. <widget class="QLabel" name="label_2">
  57. <property name="text">
  58. <string>Address</string>
  59. </property>
  60. </widget>
  61. </item>
  62. <item row="0" column="1" colspan="3">
  63. <widget class="QComboBox" name="addressComboBox">
  64. <property name="editable">
  65. <bool>true</bool>
  66. </property>
  67. </widget>
  68. </item>
  69. <item row="2" column="1">
  70. <widget class="QRadioButton" name="tcp_radio">
  71. <property name="sizePolicy">
  72. <sizepolicy hsizetype="Expanding" vsizetype="Fixed">
  73. <horstretch>0</horstretch>
  74. <verstretch>0</verstretch>
  75. </sizepolicy>
  76. </property>
  77. <property name="minimumSize">
  78. <size>
  79. <width>0</width>
  80. <height>0</height>
  81. </size>
  82. </property>
  83. <property name="text">
  84. <string>TCP</string>
  85. </property>
  86. </widget>
  87. </item>
  88. <item row="2" column="2">
  89. <widget class="QRadioButton" name="udp_radio">
  90. <property name="sizePolicy">
  91. <sizepolicy hsizetype="Expanding" vsizetype="Fixed">
  92. <horstretch>0</horstretch>
  93. <verstretch>0</verstretch>
  94. </sizepolicy>
  95. </property>
  96. <property name="minimumSize">
  97. <size>
  98. <width>0</width>
  99. <height>0</height>
  100. </size>
  101. </property>
  102. <property name="text">
  103. <string>UDP</string>
  104. </property>
  105. </widget>
  106. </item>
  107. <item row="2" column="3">
  108. <widget class="QRadioButton" name="any_radio">
  109. <property name="sizePolicy">
  110. <sizepolicy hsizetype="Expanding" vsizetype="Fixed">
  111. <horstretch>0</horstretch>
  112. <verstretch>0</verstretch>
  113. </sizepolicy>
  114. </property>
  115. <property name="minimumSize">
  116. <size>
  117. <width>71</width>
  118. <height>0</height>
  119. </size>
  120. </property>
  121. <property name="text">
  122. <string> Any </string>
  123. </property>
  124. <property name="checked">
  125. <bool>true</bool>
  126. </property>
  127. </widget>
  128. </item>
  129. </layout>
  130. </item>
  131. <item row="1" column="0">
  132. <widget class="QDialogButtonBox" name="buttonBox">
  133. <property name="orientation">
  134. <enum>Qt::Horizontal</enum>
  135. </property>
  136. <property name="standardButtons">
  137. <set>QDialogButtonBox::Cancel|QDialogButtonBox::Ok</set>
  138. </property>
  139. </widget>
  140. </item>
  141. </layout>
  142. </widget>
  143. <tabstops>
  144. <tabstop>buttonBox</tabstop>
  145. </tabstops>
  146. <resources/>
  147. <connections>
  148. <connection>
  149. <sender>buttonBox</sender>
  150. <signal>accepted()</signal>
  151. <receiver>NewFwRuleDlg</receiver>
  152. <slot>accept()</slot>
  153. <hints>
  154. <hint type="sourcelabel">
  155. <x>370</x>
  156. <y>94</y>
  157. </hint>
  158. <hint type="destinationlabel">
  159. <x>157</x>
  160. <y>120</y>
  161. </hint>
  162. </hints>
  163. </connection>
  164. <connection>
  165. <sender>buttonBox</sender>
  166. <signal>rejected()</signal>
  167. <receiver>NewFwRuleDlg</receiver>
  168. <slot>reject()</slot>
  169. <hints>
  170. <hint type="sourcelabel">
  171. <x>370</x>
  172. <y>100</y>
  173. </hint>
  174. <hint type="destinationlabel">
  175. <x>286</x>
  176. <y>120</y>
  177. </hint>
  178. </hints>
  179. </connection>
  180. </connections>
  181. </ui>