123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193 |
- <?xml version="1.0" encoding="UTF-8"?>
- <ui version="4.0">
- <class>EditFwRulesDlg</class>
- <widget class="QDialog" name="EditFwRulesDlg">
- <property name="geometry">
- <rect>
- <x>0</x>
- <y>0</y>
- <width>500</width>
- <height>335</height>
- </rect>
- </property>
- <property name="windowTitle">
- <string>VM Firewall</string>
- </property>
- <layout class="QVBoxLayout" name="verticalLayout_3">
- <item>
- <widget class="QRadioButton" name="policyAllowRadioButton">
- <property name="text">
- <string>Allow network access except...</string>
- </property>
- </widget>
- </item>
- <item>
- <widget class="QRadioButton" name="policyDenyRadioButton">
- <property name="text">
- <string>Deny network access except...</string>
- </property>
- </widget>
- </item>
- <item>
- <layout class="QHBoxLayout" name="horizontalLayout">
- <property name="sizeConstraint">
- <enum>QLayout::SetMaximumSize</enum>
- </property>
- <item>
- <layout class="QVBoxLayout" name="verticalLayout_2">
- <item>
- <widget class="QTreeView" name="rulesTreeView">
- <property name="rootIsDecorated">
- <bool>false</bool>
- </property>
- <property name="uniformRowHeights">
- <bool>false</bool>
- </property>
- <property name="itemsExpandable">
- <bool>false</bool>
- </property>
- <property name="allColumnsShowFocus">
- <bool>true</bool>
- </property>
- <property name="expandsOnDoubleClick">
- <bool>true</bool>
- </property>
- <attribute name="headerDefaultSectionSize">
- <number>40</number>
- </attribute>
- <attribute name="headerStretchLastSection">
- <bool>false</bool>
- </attribute>
- <attribute name="headerDefaultSectionSize">
- <number>40</number>
- </attribute>
- <attribute name="headerStretchLastSection">
- <bool>false</bool>
- </attribute>
- </widget>
- </item>
- <item>
- <layout class="QHBoxLayout" name="horizontalLayout_3">
- <item>
- <widget class="QCheckBox" name="dnsCheckBox">
- <property name="text">
- <string>Allow DNS queries</string>
- </property>
- <property name="checked">
- <bool>true</bool>
- </property>
- </widget>
- </item>
- <item>
- <widget class="QCheckBox" name="icmpCheckBox">
- <property name="text">
- <string>Allow ICMP traffic</string>
- </property>
- <property name="checked">
- <bool>true</bool>
- </property>
- </widget>
- </item>
- </layout>
- </item>
- </layout>
- </item>
- <item>
- <layout class="QVBoxLayout" name="verticalLayout">
- <item>
- <widget class="QPushButton" name="newRuleButton">
- <property name="text">
- <string>&New</string>
- </property>
- </widget>
- </item>
- <item>
- <widget class="QPushButton" name="editRuleButton">
- <property name="text">
- <string>&Edit</string>
- </property>
- </widget>
- </item>
- <item>
- <widget class="QPushButton" name="deleteRuleButton">
- <property name="text">
- <string>&Delete</string>
- </property>
- </widget>
- </item>
- <item>
- <spacer name="verticalSpacer">
- <property name="orientation">
- <enum>Qt::Vertical</enum>
- </property>
- <property name="sizeHint" stdset="0">
- <size>
- <width>20</width>
- <height>40</height>
- </size>
- </property>
- </spacer>
- </item>
- </layout>
- </item>
- </layout>
- </item>
- <item>
- <widget class="QDialogButtonBox" name="buttonBox">
- <property name="orientation">
- <enum>Qt::Horizontal</enum>
- </property>
- <property name="standardButtons">
- <set>QDialogButtonBox::Cancel|QDialogButtonBox::Ok</set>
- </property>
- </widget>
- </item>
- </layout>
- </widget>
- <tabstops>
- <tabstop>policyAllowRadioButton</tabstop>
- <tabstop>policyDenyRadioButton</tabstop>
- <tabstop>rulesTreeView</tabstop>
- <tabstop>newRuleButton</tabstop>
- <tabstop>editRuleButton</tabstop>
- <tabstop>deleteRuleButton</tabstop>
- <tabstop>dnsCheckBox</tabstop>
- <tabstop>icmpCheckBox</tabstop>
- <tabstop>buttonBox</tabstop>
- </tabstops>
- <resources/>
- <connections>
- <connection>
- <sender>buttonBox</sender>
- <signal>rejected()</signal>
- <receiver>EditFwRulesDlg</receiver>
- <slot>reject()</slot>
- <hints>
- <hint type="sourcelabel">
- <x>320</x>
- <y>330</y>
- </hint>
- <hint type="destinationlabel">
- <x>286</x>
- <y>274</y>
- </hint>
- </hints>
- </connection>
- <connection>
- <sender>buttonBox</sender>
- <signal>accepted()</signal>
- <receiver>EditFwRulesDlg</receiver>
- <slot>accept()</slot>
- <hints>
- <hint type="sourcelabel">
- <x>252</x>
- <y>330</y>
- </hint>
- <hint type="destinationlabel">
- <x>157</x>
- <y>274</y>
- </hint>
- </hints>
- </connection>
- </connections>
- </ui>
|