manager/ui/newfwruledlg.ui

193 lines
5.1 KiB
Plaintext
Raw Permalink Normal View History

2011-02-21 18:15:35 +01:00
<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
<class>NewFwRuleDlg</class>
<widget class="QDialog" name="NewFwRuleDlg">
<property name="windowModality">
<enum>Qt::NonModal</enum>
</property>
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
2011-03-03 22:41:47 +01:00
<width>381</width>
<height>193</height>
2011-02-21 18:15:35 +01:00
</rect>
</property>
<property name="windowTitle">
2011-03-03 22:41:47 +01:00
<string>New Address</string>
2011-02-21 18:15:35 +01:00
</property>
<property name="modal">
<bool>true</bool>
</property>
<layout class="QGridLayout" name="gridLayout">
<item row="0" column="0">
<layout class="QGridLayout" name="gridLayout_2">
<property name="leftMargin">
<number>0</number>
</property>
<property name="rightMargin">
<number>0</number>
</property>
<property name="verticalSpacing">
<number>6</number>
</property>
<item row="2" column="2">
<widget class="QRadioButton" name="udp_radio">
<property name="sizePolicy">
<sizepolicy hsizetype="Expanding" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="minimumSize">
<size>
<width>0</width>
<height>0</height>
</size>
</property>
<property name="text">
<string>UDP</string>
</property>
</widget>
</item>
<item row="1" column="0">
<widget class="QLabel" name="label_4">
<property name="text">
<string>Port/Service</string>
</property>
</widget>
</item>
<item row="0" column="0">
<widget class="QLabel" name="label_2">
<property name="text">
<string>Address</string>
</property>
</widget>
</item>
<item row="2" column="3">
<widget class="QRadioButton" name="any_radio">
<property name="sizePolicy">
<sizepolicy hsizetype="Expanding" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="minimumSize">
<size>
<width>71</width>
<height>0</height>
</size>
</property>
<property name="toolTip">
<string/>
</property>
<property name="text">
<string> Any </string>
</property>
<property name="checked">
<bool>true</bool>
</property>
</widget>
</item>
<item row="0" column="1" colspan="3">
<widget class="QComboBox" name="addressComboBox">
<property name="editable">
<bool>true</bool>
</property>
</widget>
</item>
<item row="1" column="1" colspan="3">
<widget class="QComboBox" name="serviceComboBox">
<property name="toolTip">
<string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;Port/service can be provided as either port number (e.g. 122), port range (1024-1234) or service name (e.g. smtp) . For full list of services known, see /etc/services in dom0.&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
</property>
<property name="editable">
<bool>true</bool>
</property>
</widget>
</item>
<item row="2" column="1">
<widget class="QRadioButton" name="tcp_radio">
<property name="sizePolicy">
<sizepolicy hsizetype="Expanding" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="minimumSize">
<size>
<width>0</width>
<height>0</height>
</size>
</property>
<property name="text">
<string>TCP</string>
</property>
</widget>
</item>
<item row="2" column="0">
<widget class="QLabel" name="label">
<property name="text">
<string>Protocol</string>
</property>
</widget>
</item>
</layout>
</item>
<item row="1" column="0">
<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>
2011-02-21 18:15:35 +01:00
</widget>
<tabstops>
<tabstop>addressComboBox</tabstop>
<tabstop>serviceComboBox</tabstop>
<tabstop>tcp_radio</tabstop>
<tabstop>udp_radio</tabstop>
<tabstop>any_radio</tabstop>
2011-02-21 18:15:35 +01:00
<tabstop>buttonBox</tabstop>
</tabstops>
<resources/>
<connections>
<connection>
<sender>buttonBox</sender>
<signal>accepted()</signal>
<receiver>NewFwRuleDlg</receiver>
<slot>accept()</slot>
<hints>
<hint type="sourcelabel">
2011-03-03 22:41:47 +01:00
<x>370</x>
<y>94</y>
2011-02-21 18:15:35 +01:00
</hint>
<hint type="destinationlabel">
<x>157</x>
2011-03-03 22:41:47 +01:00
<y>120</y>
2011-02-21 18:15:35 +01:00
</hint>
</hints>
</connection>
<connection>
<sender>buttonBox</sender>
<signal>rejected()</signal>
<receiver>NewFwRuleDlg</receiver>
<slot>reject()</slot>
<hints>
<hint type="sourcelabel">
2011-03-03 22:41:47 +01:00
<x>370</x>
<y>100</y>
2011-02-21 18:15:35 +01:00
</hint>
<hint type="destinationlabel">
<x>286</x>
2011-03-03 22:41:47 +01:00
<y>120</y>
2011-02-21 18:15:35 +01:00
</hint>
</hints>
</connection>
</connections>
</ui>