manager/newfwruledlg.ui

240 lines
5.2 KiB
Plaintext
Raw 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>
<width>311</width>
<height>202</height>
</rect>
</property>
<property name="windowTitle">
<string>New Firewall Rule</string>
</property>
<property name="modal">
<bool>true</bool>
</property>
<widget class="QDialogButtonBox" name="buttonBox">
<property name="geometry">
<rect>
<x>30</x>
<y>160</y>
<width>271</width>
<height>32</height>
</rect>
</property>
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="standardButtons">
<set>QDialogButtonBox::Cancel|QDialogButtonBox::Ok</set>
</property>
</widget>
<widget class="QLabel" name="label">
<property name="geometry">
<rect>
<x>10</x>
<y>10</y>
<width>62</width>
<height>17</height>
</rect>
</property>
<property name="text">
<string>Name</string>
</property>
</widget>
<widget class="QGroupBox" name="groupBox">
<property name="geometry">
<rect>
<x>10</x>
<y>40</y>
<width>291</width>
<height>121</height>
</rect>
</property>
<property name="title">
<string/>
</property>
<widget class="QLabel" name="label_2">
<property name="geometry">
<rect>
<x>10</x>
<y>10</y>
<width>62</width>
<height>17</height>
</rect>
</property>
<property name="text">
<string>Address</string>
</property>
</widget>
<widget class="QLabel" name="label_3">
<property name="geometry">
<rect>
<x>190</x>
<y>10</y>
<width>62</width>
<height>17</height>
</rect>
</property>
<property name="text">
<string>Netmask</string>
</property>
</widget>
<widget class="QCheckBox" name="allowCheckBox">
<property name="geometry">
<rect>
<x>200</x>
<y>80</y>
<width>71</width>
<height>23</height>
</rect>
</property>
<property name="sizePolicy">
<sizepolicy hsizetype="Minimum" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="text">
<string>Allow</string>
</property>
</widget>
<widget class="QLineEdit" name="addressEdit">
<property name="geometry">
<rect>
<x>10</x>
<y>30</y>
<width>171</width>
<height>27</height>
</rect>
</property>
</widget>
<widget class="QLabel" name="label_4">
<property name="geometry">
<rect>
<x>10</x>
<y>62</y>
<width>31</width>
<height>21</height>
</rect>
</property>
<property name="text">
<string>Port</string>
</property>
</widget>
<widget class="QLabel" name="label_5">
<property name="geometry">
<rect>
<x>123</x>
<y>62</y>
<width>16</width>
<height>21</height>
</rect>
</property>
<property name="text">
<string>-</string>
</property>
</widget>
<widget class="QComboBox" name="netmaskComboBox">
<property name="geometry">
<rect>
<x>190</x>
<y>30</y>
<width>84</width>
<height>27</height>
</rect>
</property>
</widget>
<widget class="QSpinBox" name="portBeginSpinBox">
<property name="geometry">
<rect>
<x>50</x>
<y>60</y>
<width>71</width>
<height>27</height>
</rect>
</property>
<property name="maximum">
<number>65535</number>
</property>
<property name="value">
<number>0</number>
</property>
</widget>
<widget class="QSpinBox" name="portEndSpinBox">
<property name="geometry">
<rect>
<x>130</x>
<y>60</y>
<width>71</width>
<height>27</height>
</rect>
</property>
<property name="maximum">
<number>65535</number>
</property>
</widget>
</widget>
<widget class="QLineEdit" name="nameEdit">
<property name="geometry">
<rect>
<x>60</x>
<y>4</y>
<width>241</width>
<height>27</height>
</rect>
</property>
</widget>
</widget>
<tabstops>
<tabstop>nameEdit</tabstop>
<tabstop>addressEdit</tabstop>
<tabstop>netmaskComboBox</tabstop>
<tabstop>portBeginSpinBox</tabstop>
<tabstop>portEndSpinBox</tabstop>
<tabstop>allowCheckBox</tabstop>
<tabstop>buttonBox</tabstop>
</tabstops>
<resources/>
<connections>
<connection>
<sender>buttonBox</sender>
<signal>accepted()</signal>
<receiver>NewFwRuleDlg</receiver>
<slot>accept()</slot>
<hints>
<hint type="sourcelabel">
<x>248</x>
<y>174</y>
</hint>
<hint type="destinationlabel">
<x>157</x>
<y>201</y>
</hint>
</hints>
</connection>
<connection>
<sender>buttonBox</sender>
<signal>rejected()</signal>
<receiver>NewFwRuleDlg</receiver>
<slot>reject()</slot>
<hints>
<hint type="sourcelabel">
<x>300</x>
<y>180</y>
</hint>
<hint type="destinationlabel">
<x>286</x>
<y>201</y>
</hint>
</hints>
</connection>
</connections>
</ui>