editfwrulesdlg.ui 5.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <ui version="4.0">
  3. <class>EditFwRulesDlg</class>
  4. <widget class="QDialog" name="EditFwRulesDlg">
  5. <property name="geometry">
  6. <rect>
  7. <x>0</x>
  8. <y>0</y>
  9. <width>500</width>
  10. <height>335</height>
  11. </rect>
  12. </property>
  13. <property name="windowTitle">
  14. <string>VM Firewall</string>
  15. </property>
  16. <layout class="QVBoxLayout" name="verticalLayout_3">
  17. <item>
  18. <widget class="QRadioButton" name="policyAllowRadioButton">
  19. <property name="text">
  20. <string>Allow network access except...</string>
  21. </property>
  22. </widget>
  23. </item>
  24. <item>
  25. <widget class="QRadioButton" name="policyDenyRadioButton">
  26. <property name="text">
  27. <string>Deny network access except...</string>
  28. </property>
  29. </widget>
  30. </item>
  31. <item>
  32. <layout class="QHBoxLayout" name="horizontalLayout">
  33. <property name="sizeConstraint">
  34. <enum>QLayout::SetMaximumSize</enum>
  35. </property>
  36. <item>
  37. <layout class="QVBoxLayout" name="verticalLayout_2">
  38. <item>
  39. <widget class="QTreeView" name="rulesTreeView">
  40. <property name="rootIsDecorated">
  41. <bool>false</bool>
  42. </property>
  43. <property name="uniformRowHeights">
  44. <bool>false</bool>
  45. </property>
  46. <property name="itemsExpandable">
  47. <bool>false</bool>
  48. </property>
  49. <property name="allColumnsShowFocus">
  50. <bool>true</bool>
  51. </property>
  52. <property name="expandsOnDoubleClick">
  53. <bool>true</bool>
  54. </property>
  55. <attribute name="headerDefaultSectionSize">
  56. <number>40</number>
  57. </attribute>
  58. <attribute name="headerStretchLastSection">
  59. <bool>false</bool>
  60. </attribute>
  61. <attribute name="headerDefaultSectionSize">
  62. <number>40</number>
  63. </attribute>
  64. <attribute name="headerStretchLastSection">
  65. <bool>false</bool>
  66. </attribute>
  67. </widget>
  68. </item>
  69. <item>
  70. <layout class="QHBoxLayout" name="horizontalLayout_3">
  71. <item>
  72. <widget class="QCheckBox" name="dnsCheckBox">
  73. <property name="text">
  74. <string>Allow DNS queries</string>
  75. </property>
  76. <property name="checked">
  77. <bool>true</bool>
  78. </property>
  79. </widget>
  80. </item>
  81. <item>
  82. <widget class="QCheckBox" name="icmpCheckBox">
  83. <property name="text">
  84. <string>Allow ICMP traffic</string>
  85. </property>
  86. <property name="checked">
  87. <bool>true</bool>
  88. </property>
  89. </widget>
  90. </item>
  91. </layout>
  92. </item>
  93. </layout>
  94. </item>
  95. <item>
  96. <layout class="QVBoxLayout" name="verticalLayout">
  97. <item>
  98. <widget class="QPushButton" name="newRuleButton">
  99. <property name="text">
  100. <string>&amp;New</string>
  101. </property>
  102. </widget>
  103. </item>
  104. <item>
  105. <widget class="QPushButton" name="editRuleButton">
  106. <property name="text">
  107. <string>&amp;Edit</string>
  108. </property>
  109. </widget>
  110. </item>
  111. <item>
  112. <widget class="QPushButton" name="deleteRuleButton">
  113. <property name="text">
  114. <string>&amp;Delete</string>
  115. </property>
  116. </widget>
  117. </item>
  118. <item>
  119. <spacer name="verticalSpacer">
  120. <property name="orientation">
  121. <enum>Qt::Vertical</enum>
  122. </property>
  123. <property name="sizeHint" stdset="0">
  124. <size>
  125. <width>20</width>
  126. <height>40</height>
  127. </size>
  128. </property>
  129. </spacer>
  130. </item>
  131. </layout>
  132. </item>
  133. </layout>
  134. </item>
  135. <item>
  136. <widget class="QDialogButtonBox" name="buttonBox">
  137. <property name="orientation">
  138. <enum>Qt::Horizontal</enum>
  139. </property>
  140. <property name="standardButtons">
  141. <set>QDialogButtonBox::Cancel|QDialogButtonBox::Ok</set>
  142. </property>
  143. </widget>
  144. </item>
  145. </layout>
  146. </widget>
  147. <tabstops>
  148. <tabstop>policyAllowRadioButton</tabstop>
  149. <tabstop>policyDenyRadioButton</tabstop>
  150. <tabstop>rulesTreeView</tabstop>
  151. <tabstop>newRuleButton</tabstop>
  152. <tabstop>editRuleButton</tabstop>
  153. <tabstop>deleteRuleButton</tabstop>
  154. <tabstop>dnsCheckBox</tabstop>
  155. <tabstop>icmpCheckBox</tabstop>
  156. <tabstop>buttonBox</tabstop>
  157. </tabstops>
  158. <resources/>
  159. <connections>
  160. <connection>
  161. <sender>buttonBox</sender>
  162. <signal>rejected()</signal>
  163. <receiver>EditFwRulesDlg</receiver>
  164. <slot>reject()</slot>
  165. <hints>
  166. <hint type="sourcelabel">
  167. <x>320</x>
  168. <y>330</y>
  169. </hint>
  170. <hint type="destinationlabel">
  171. <x>286</x>
  172. <y>274</y>
  173. </hint>
  174. </hints>
  175. </connection>
  176. <connection>
  177. <sender>buttonBox</sender>
  178. <signal>accepted()</signal>
  179. <receiver>EditFwRulesDlg</receiver>
  180. <slot>accept()</slot>
  181. <hints>
  182. <hint type="sourcelabel">
  183. <x>252</x>
  184. <y>330</y>
  185. </hint>
  186. <hint type="destinationlabel">
  187. <x>157</x>
  188. <y>274</y>
  189. </hint>
  190. </hints>
  191. </connection>
  192. </connections>
  193. </ui>