editfwrulesdlg.ui 3.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147
  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>280</height>
  11. </rect>
  12. </property>
  13. <property name="windowTitle">
  14. <string>Edit Firewall Rules</string>
  15. </property>
  16. <layout class="QVBoxLayout" name="verticalLayout_3">
  17. <item>
  18. <layout class="QHBoxLayout" name="horizontalLayout">
  19. <property name="sizeConstraint">
  20. <enum>QLayout::SetMaximumSize</enum>
  21. </property>
  22. <item>
  23. <widget class="QTreeView" name="rulesTreeView">
  24. <property name="rootIsDecorated">
  25. <bool>false</bool>
  26. </property>
  27. <property name="uniformRowHeights">
  28. <bool>false</bool>
  29. </property>
  30. <property name="itemsExpandable">
  31. <bool>false</bool>
  32. </property>
  33. <property name="allColumnsShowFocus">
  34. <bool>true</bool>
  35. </property>
  36. <property name="expandsOnDoubleClick">
  37. <bool>true</bool>
  38. </property>
  39. <attribute name="headerDefaultSectionSize">
  40. <number>40</number>
  41. </attribute>
  42. <attribute name="headerStretchLastSection">
  43. <bool>false</bool>
  44. </attribute>
  45. <attribute name="headerDefaultSectionSize">
  46. <number>40</number>
  47. </attribute>
  48. <attribute name="headerStretchLastSection">
  49. <bool>false</bool>
  50. </attribute>
  51. </widget>
  52. </item>
  53. <item>
  54. <layout class="QVBoxLayout" name="verticalLayout">
  55. <item>
  56. <widget class="QPushButton" name="newRuleButton">
  57. <property name="text">
  58. <string>&amp;New</string>
  59. </property>
  60. </widget>
  61. </item>
  62. <item>
  63. <widget class="QPushButton" name="editRuleButton">
  64. <property name="text">
  65. <string>&amp;Edit</string>
  66. </property>
  67. </widget>
  68. </item>
  69. <item>
  70. <widget class="QPushButton" name="deleteRuleButton">
  71. <property name="text">
  72. <string>&amp;Delete</string>
  73. </property>
  74. </widget>
  75. </item>
  76. <item>
  77. <spacer name="verticalSpacer">
  78. <property name="orientation">
  79. <enum>Qt::Vertical</enum>
  80. </property>
  81. <property name="sizeHint" stdset="0">
  82. <size>
  83. <width>20</width>
  84. <height>40</height>
  85. </size>
  86. </property>
  87. </spacer>
  88. </item>
  89. </layout>
  90. </item>
  91. </layout>
  92. </item>
  93. <item>
  94. <widget class="QDialogButtonBox" name="buttonBox">
  95. <property name="orientation">
  96. <enum>Qt::Horizontal</enum>
  97. </property>
  98. <property name="standardButtons">
  99. <set>QDialogButtonBox::Cancel|QDialogButtonBox::Ok</set>
  100. </property>
  101. </widget>
  102. </item>
  103. </layout>
  104. </widget>
  105. <tabstops>
  106. <tabstop>newRuleButton</tabstop>
  107. <tabstop>editRuleButton</tabstop>
  108. <tabstop>deleteRuleButton</tabstop>
  109. <tabstop>rulesTreeView</tabstop>
  110. <tabstop>buttonBox</tabstop>
  111. </tabstops>
  112. <resources/>
  113. <connections>
  114. <connection>
  115. <sender>buttonBox</sender>
  116. <signal>rejected()</signal>
  117. <receiver>EditFwRulesDlg</receiver>
  118. <slot>reject()</slot>
  119. <hints>
  120. <hint type="sourcelabel">
  121. <x>316</x>
  122. <y>260</y>
  123. </hint>
  124. <hint type="destinationlabel">
  125. <x>286</x>
  126. <y>274</y>
  127. </hint>
  128. </hints>
  129. </connection>
  130. <connection>
  131. <sender>buttonBox</sender>
  132. <signal>accepted()</signal>
  133. <receiver>EditFwRulesDlg</receiver>
  134. <slot>accept()</slot>
  135. <hints>
  136. <hint type="sourcelabel">
  137. <x>248</x>
  138. <y>254</y>
  139. </hint>
  140. <hint type="destinationlabel">
  141. <x>157</x>
  142. <y>274</y>
  143. </hint>
  144. </hints>
  145. </connection>
  146. </connections>
  147. </ui>