editfwrulesdlg.ui 4.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178
  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. <widget class="QCheckBox" name="dnsCheckBox">
  71. <property name="text">
  72. <string>Allow DNS queries</string>
  73. </property>
  74. <property name="checked">
  75. <bool>true</bool>
  76. </property>
  77. </widget>
  78. </item>
  79. </layout>
  80. </item>
  81. <item>
  82. <layout class="QVBoxLayout" name="verticalLayout">
  83. <item>
  84. <widget class="QPushButton" name="newRuleButton">
  85. <property name="text">
  86. <string>&amp;New</string>
  87. </property>
  88. </widget>
  89. </item>
  90. <item>
  91. <widget class="QPushButton" name="editRuleButton">
  92. <property name="text">
  93. <string>&amp;Edit</string>
  94. </property>
  95. </widget>
  96. </item>
  97. <item>
  98. <widget class="QPushButton" name="deleteRuleButton">
  99. <property name="text">
  100. <string>&amp;Delete</string>
  101. </property>
  102. </widget>
  103. </item>
  104. <item>
  105. <spacer name="verticalSpacer">
  106. <property name="orientation">
  107. <enum>Qt::Vertical</enum>
  108. </property>
  109. <property name="sizeHint" stdset="0">
  110. <size>
  111. <width>20</width>
  112. <height>40</height>
  113. </size>
  114. </property>
  115. </spacer>
  116. </item>
  117. </layout>
  118. </item>
  119. </layout>
  120. </item>
  121. <item>
  122. <widget class="QDialogButtonBox" name="buttonBox">
  123. <property name="orientation">
  124. <enum>Qt::Horizontal</enum>
  125. </property>
  126. <property name="standardButtons">
  127. <set>QDialogButtonBox::Cancel|QDialogButtonBox::Ok</set>
  128. </property>
  129. </widget>
  130. </item>
  131. </layout>
  132. </widget>
  133. <tabstops>
  134. <tabstop>policyAllowRadioButton</tabstop>
  135. <tabstop>policyDenyRadioButton</tabstop>
  136. <tabstop>dnsCheckBox</tabstop>
  137. <tabstop>rulesTreeView</tabstop>
  138. <tabstop>newRuleButton</tabstop>
  139. <tabstop>editRuleButton</tabstop>
  140. <tabstop>deleteRuleButton</tabstop>
  141. <tabstop>buttonBox</tabstop>
  142. </tabstops>
  143. <resources/>
  144. <connections>
  145. <connection>
  146. <sender>buttonBox</sender>
  147. <signal>rejected()</signal>
  148. <receiver>EditFwRulesDlg</receiver>
  149. <slot>reject()</slot>
  150. <hints>
  151. <hint type="sourcelabel">
  152. <x>320</x>
  153. <y>330</y>
  154. </hint>
  155. <hint type="destinationlabel">
  156. <x>286</x>
  157. <y>274</y>
  158. </hint>
  159. </hints>
  160. </connection>
  161. <connection>
  162. <sender>buttonBox</sender>
  163. <signal>accepted()</signal>
  164. <receiver>EditFwRulesDlg</receiver>
  165. <slot>accept()</slot>
  166. <hints>
  167. <hint type="sourcelabel">
  168. <x>252</x>
  169. <y>330</y>
  170. </hint>
  171. <hint type="destinationlabel">
  172. <x>157</x>
  173. <y>274</y>
  174. </hint>
  175. </hints>
  176. </connection>
  177. </connections>
  178. </ui>