You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
kmyfirewall/kmyfirewall/ruleoptionplugins/interface_option/kmyfirewallruleeditorinterf...

440 lines
19 KiB

<!DOCTYPE UI><UI version="3.2" stdsetdef="1">
<class>KMyFirewallRuleEditorInterface</class>
<widget class="TQWidget">
<property name="name">
<cstring>KMyFirewallRuleEditorInterface</cstring>
</property>
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>576</width>
<height>438</height>
</rect>
</property>
<property name="caption">
<string>Interface Options</string>
</property>
<vbox>
<property name="name">
<cstring>unnamed</cstring>
</property>
<property name="margin">
<number>2</number>
</property>
<property name="spacing">
<number>2</number>
</property>
<widget class="TQLabel">
<property name="name">
<cstring>TextLabel1</cstring>
</property>
<property name="minimumSize">
<size>
<width>0</width>
<height>40</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>32767</width>
<height>40</height>
</size>
</property>
<property name="font">
<font>
<family>Arial</family>
<bold>1</bold>
</font>
</property>
<property name="frameShape">
<enum>StyledPanel</enum>
</property>
<property name="frameShadow">
<enum>Plain</enum>
</property>
<property name="lineWidth">
<number>2</number>
</property>
<property name="text">
<string>Interface Options</string>
</property>
<property name="alignment">
<set>WordBreak|AlignCenter</set>
</property>
<property name="wordwrap" stdset="0">
</property>
</widget>
<widget class="TQLabel">
<property name="name">
<cstring>TextLabel2</cstring>
</property>
<property name="text">
<string>&lt;b&gt;ATTENTION: &lt;/b&gt;Not All options are not always allowed! The program will attempt to check your settings, but as usual options may be accepted even if the configuration is not valid. If you get error messages at firewall startup, make sure that your configuration is valid. Have a look at the help or the "iptables" man page for more details.</string>
</property>
<property name="alignment">
<set>WordBreak|AlignVCenter|AlignLeft</set>
</property>
<property name="wordwrap" stdset="0">
</property>
</widget>
<widget class="TQTabWidget">
<property name="name">
<cstring>tabWidget5</cstring>
</property>
<widget class="TQWidget">
<property name="name">
<cstring>tab</cstring>
</property>
<attribute name="title">
<string>Incoming Interface</string>
</attribute>
<grid>
<property name="name">
<cstring>unnamed</cstring>
</property>
<widget class="TQGroupBox" row="0" column="0">
<property name="name">
<cstring>gb_in_int</cstring>
</property>
<property name="title">
<string>Incoming Interface</string>
</property>
<grid>
<property name="name">
<cstring>unnamed</cstring>
</property>
<property name="margin">
<number>11</number>
</property>
<property name="spacing">
<number>6</number>
</property>
<widget class="TQLabel" row="0" column="0" rowspan="1" colspan="4">
<property name="name">
<cstring>TextLabel4</cstring>
</property>
<property name="text">
<string>The incoming interface is only valid in the INPUT and FORWARD chains, and chains that are fed only by them.</string>
</property>
<property name="alignment">
<set>WordBreak|AlignVCenter|AlignLeft</set>
</property>
<property name="wordwrap" stdset="0">
</property>
</widget>
<widget class="TQCheckBox" row="1" column="3">
<property name="name">
<cstring>c_inv_in_int</cstring>
</property>
<property name="enabled">
<bool>false</bool>
</property>
<property name="sizePolicy">
<sizepolicy>
<hsizetype>0</hsizetype>
<vsizetype>0</vsizetype>
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="text">
<string>Invert</string>
</property>
</widget>
<widget class="TQComboBox" row="1" column="2">
<property name="name">
<cstring>cb_in_int</cstring>
</property>
<property name="enabled">
<bool>false</bool>
</property>
<property name="editable">
<bool>true</bool>
</property>
<property name="insertionPolicy">
<enum>NoInsertion</enum>
</property>
<property name="duplicatesEnabled">
<bool>false</bool>
</property>
</widget>
<widget class="TQCheckBox" row="1" column="0">
<property name="name">
<cstring>c_in_int</cstring>
</property>
<property name="sizePolicy">
<sizepolicy>
<hsizetype>3</hsizetype>
<vsizetype>3</vsizetype>
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="text">
<string>Check for incoming interface</string>
</property>
</widget>
<spacer row="1" column="1">
<property name="name">
<cstring>Spacer2</cstring>
</property>
<property name="orientation">
<enum>Horizontal</enum>
</property>
<property name="sizeType">
<enum>Expanding</enum>
</property>
<property name="sizeHint">
<size>
<width>20</width>
<height>0</height>
</size>
</property>
</spacer>
</grid>
</widget>
</grid>
</widget>
<widget class="TQWidget">
<property name="name">
<cstring>tab</cstring>
</property>
<attribute name="title">
<string>Outgoing Interface</string>
</attribute>
<grid>
<property name="name">
<cstring>unnamed</cstring>
</property>
<widget class="TQGroupBox" row="0" column="0">
<property name="name">
<cstring>gb_out_int</cstring>
</property>
<property name="title">
<string>Outgoing Interface</string>
</property>
<grid>
<property name="name">
<cstring>unnamed</cstring>
</property>
<property name="margin">
<number>11</number>
</property>
<property name="spacing">
<number>6</number>
</property>
<widget class="TQLabel" row="0" column="0" rowspan="1" colspan="4">
<property name="name">
<cstring>TextLabel3</cstring>
</property>
<property name="text">
<string>Checking for the outgoing interface is only possible in the OUTPUT and FORWARD chains, and chains that are fed only by them.</string>
</property>
<property name="alignment">
<set>WordBreak|AlignVCenter|AlignLeft</set>
</property>
<property name="wordwrap" stdset="0">
</property>
</widget>
<widget class="TQCheckBox" row="1" column="3">
<property name="name">
<cstring>c_inv_out_int</cstring>
</property>
<property name="enabled">
<bool>false</bool>
</property>
<property name="sizePolicy">
<sizepolicy>
<hsizetype>0</hsizetype>
<vsizetype>0</vsizetype>
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="text">
<string>Invert</string>
</property>
</widget>
<widget class="TQComboBox" row="1" column="2">
<property name="name">
<cstring>cb_out_int</cstring>
</property>
<property name="enabled">
<bool>false</bool>
</property>
<property name="editable">
<bool>true</bool>
</property>
<property name="insertionPolicy">
<enum>NoInsertion</enum>
</property>
<property name="duplicatesEnabled">
<bool>false</bool>
</property>
</widget>
<spacer row="1" column="1">
<property name="name">
<cstring>Spacer1</cstring>
</property>
<property name="orientation">
<enum>Horizontal</enum>
</property>
<property name="sizeType">
<enum>Expanding</enum>
</property>
<property name="sizeHint">
<size>
<width>20</width>
<height>0</height>
</size>
</property>
</spacer>
<widget class="TQCheckBox" row="1" column="0">
<property name="name">
<cstring>c_out_int</cstring>
</property>
<property name="sizePolicy">
<sizepolicy>
<hsizetype>3</hsizetype>
<vsizetype>3</vsizetype>
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="text">
<string>Check for outgoing interface</string>
</property>
</widget>
</grid>
</widget>
</grid>
</widget>
</widget>
<widget class="TQLayoutWidget">
<property name="name">
<cstring>layout5</cstring>
</property>
<hbox>
<property name="name">
<cstring>unnamed</cstring>
</property>
<widget class="KPushButton">
<property name="name">
<cstring>kPushButton1</cstring>
</property>
<property name="text">
<string>&amp;Cancel</string>
</property>
</widget>
<spacer>
<property name="name">
<cstring>Spacer3_2</cstring>
</property>
<property name="orientation">
<enum>Horizontal</enum>
</property>
<property name="sizeType">
<enum>Expanding</enum>
</property>
<property name="sizeHint">
<size>
<width>80</width>
<height>20</height>
</size>
</property>
</spacer>
<widget class="TQPushButton">
<property name="name">
<cstring>b_help</cstring>
</property>
<property name="text">
<string>&amp;Help</string>
</property>
</widget>
<spacer>
<property name="name">
<cstring>Spacer3</cstring>
</property>
<property name="orientation">
<enum>Horizontal</enum>
</property>
<property name="sizeType">
<enum>Expanding</enum>
</property>
<property name="sizeHint">
<size>
<width>130</width>
<height>20</height>
</size>
</property>
</spacer>
<widget class="TQPushButton">
<property name="name">
<cstring>b_ok</cstring>
</property>
<property name="text">
<string>&amp;Apply</string>
</property>
</widget>
</hbox>
</widget>
</vbox>
</widget>
<connections>
<connection>
<sender>c_in_int</sender>
<signal>toggled(bool)</signal>
<receiver>c_inv_in_int</receiver>
<slot>setEnabled(bool)</slot>
</connection>
<connection>
<sender>c_out_int</sender>
<signal>toggled(bool)</signal>
<receiver>c_inv_out_int</receiver>
<slot>setEnabled(bool)</slot>
</connection>
<connection>
<sender>b_ok</sender>
<signal>clicked()</signal>
<receiver>KMyFirewallRuleEditorInterface</receiver>
<slot>slotOk()</slot>
</connection>
<connection>
<sender>c_in_int</sender>
<signal>toggled(bool)</signal>
<receiver>cb_in_int</receiver>
<slot>setEnabled(bool)</slot>
</connection>
<connection>
<sender>c_out_int</sender>
<signal>toggled(bool)</signal>
<receiver>cb_out_int</receiver>
<slot>setEnabled(bool)</slot>
</connection>
<connection>
<sender>b_help</sender>
<signal>clicked()</signal>
<receiver>KMyFirewallRuleEditorInterface</receiver>
<slot>slotHelp()</slot>
</connection>
<connection>
<sender>kPushButton1</sender>
<signal>clicked()</signal>
<receiver>KMyFirewallRuleEditorInterface</receiver>
<slot>reject()</slot>
</connection>
</connections>
<slots>
<slot>slotHelp()</slot>
<slot>slotOk()</slot>
<slot>slotReadConfig()</slot>
<slot>accept()</slot>
<slot>reject()</slot>
</slots>
<layoutdefaults spacing="6" margin="11"/>
<includes>
<include location="global" impldecl="in implementation">kpushbutton.h</include>
</includes>
</UI>