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/ipteditor/kmyfirewallruleeditor.ui

758 lines
36 KiB

<!DOCTYPE UI><UI version="3.2" stdsetdef="1">
<class>KMyFirewallRuleEditor</class>
<widget class="TQWidget">
<property name="name">
<cstring>KMyFirewallRuleEditor</cstring>
</property>
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>483</width>
<height>447</height>
</rect>
</property>
<property name="caption">
<string>Rule Editor</string>
</property>
<grid>
<property name="name">
<cstring>unnamed</cstring>
</property>
<property name="margin">
<number>2</number>
</property>
<property name="spacing">
<number>2</number>
</property>
<widget class="TQSplitter" row="0" column="0">
<property name="name">
<cstring>m_splitter</cstring>
</property>
<property name="orientation">
<enum>Horizontal</enum>
</property>
<widget class="TQGroupBox">
<property name="name">
<cstring>gb_options</cstring>
</property>
<property name="enabled">
<bool>true</bool>
</property>
<property name="sizePolicy">
<sizepolicy>
<hsizetype>5</hsizetype>
<vsizetype>5</vsizetype>
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="lineWidth">
<number>0</number>
</property>
<property name="title">
<string></string>
</property>
<grid>
<property name="name">
<cstring>unnamed</cstring>
</property>
<property name="margin">
<number>2</number>
</property>
<property name="spacing">
<number>6</number>
</property>
<widget class="TQLabel" row="3" column="0" rowspan="1" colspan="2">
<property name="name">
<cstring>l_editing_rule</cstring>
</property>
<property name="text">
<string>Editing Rule</string>
</property>
<property name="alignment">
<set>AlignVCenter|AlignLeft</set>
</property>
</widget>
<widget class="TQButtonGroup" row="1" column="1">
<property name="name">
<cstring>buttonGroup6</cstring>
</property>
<property name="sizePolicy">
<sizepolicy>
<hsizetype>5</hsizetype>
<vsizetype>0</vsizetype>
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="lineWidth">
<number>0</number>
</property>
<property name="title">
<string></string>
</property>
<property name="exclusive">
<bool>true</bool>
</property>
<hbox>
<property name="name">
<cstring>unnamed</cstring>
</property>
<property name="margin">
<number>0</number>
</property>
<widget class="TQRadioButton">
<property name="name">
<cstring>rb_filter</cstring>
</property>
<property name="sizePolicy">
<sizepolicy>
<hsizetype>1</hsizetype>
<vsizetype>0</vsizetype>
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="text">
<string>filter</string>
</property>
<property name="checked">
<bool>true</bool>
</property>
</widget>
<widget class="TQRadioButton">
<property name="name">
<cstring>rb_nat</cstring>
</property>
<property name="sizePolicy">
<sizepolicy>
<hsizetype>1</hsizetype>
<vsizetype>0</vsizetype>
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="text">
<string>nat</string>
</property>
</widget>
<widget class="TQRadioButton">
<property name="name">
<cstring>rb_mangle</cstring>
</property>
<property name="sizePolicy">
<sizepolicy>
<hsizetype>1</hsizetype>
<vsizetype>0</vsizetype>
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="text">
<string>mangle</string>
</property>
</widget>
</hbox>
</widget>
<widget class="TQLabel" row="1" column="0">
<property name="name">
<cstring>textLabel2</cstring>
</property>
<property name="sizePolicy">
<sizepolicy>
<hsizetype>5</hsizetype>
<vsizetype>0</vsizetype>
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="lineWidth">
<number>0</number>
</property>
<property name="text">
<string>&lt;b&gt;Table:&lt;/b&gt;</string>
</property>
</widget>
<widget class="TQLayoutWidget" row="0" column="0" rowspan="1" colspan="2">
<property name="name">
<cstring>layout14</cstring>
</property>
<grid>
<property name="name">
<cstring>unnamed</cstring>
</property>
<widget class="KLed" row="1" column="1">
<property name="name">
<cstring>m_led_modules</cstring>
</property>
<property name="minimumSize">
<size>
<width>16</width>
<height>16</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>16</width>
<height>16</height>
</size>
</property>
<property name="state">
<enum>Off</enum>
</property>
<property name="look">
<enum>Sunken</enum>
</property>
<property name="darkFactor">
<number>600</number>
</property>
</widget>
<widget class="TQLabel" row="2" column="2">
<property name="name">
<cstring>textLabel1_2_3_2_2</cstring>
</property>
<property name="sizePolicy">
<sizepolicy>
<hsizetype>5</hsizetype>
<vsizetype>0</vsizetype>
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="text">
<string>Log martians:</string>
</property>
</widget>
<widget class="KLed" row="1" column="3">
<property name="name">
<cstring>m_led_rp</cstring>
</property>
<property name="minimumSize">
<size>
<width>16</width>
<height>16</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>16</width>
<height>16</height>
</size>
</property>
<property name="state">
<enum>Off</enum>
</property>
<property name="look">
<enum>Sunken</enum>
</property>
<property name="darkFactor">
<number>600</number>
</property>
</widget>
<widget class="KLed" row="2" column="1">
<property name="name">
<cstring>m_led_fwd</cstring>
</property>
<property name="minimumSize">
<size>
<width>16</width>
<height>16</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>16</width>
<height>16</height>
</size>
</property>
<property name="state">
<enum>Off</enum>
</property>
<property name="look">
<enum>Sunken</enum>
</property>
<property name="darkFactor">
<number>600</number>
</property>
</widget>
<widget class="KLed" row="2" column="3">
<property name="name">
<cstring>m_led_martians</cstring>
</property>
<property name="sizePolicy">
<sizepolicy>
<hsizetype>5</hsizetype>
<vsizetype>0</vsizetype>
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="minimumSize">
<size>
<width>16</width>
<height>16</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>16</width>
<height>16</height>
</size>
</property>
<property name="state">
<enum>Off</enum>
</property>
<property name="look">
<enum>Sunken</enum>
</property>
<property name="darkFactor">
<number>600</number>
</property>
</widget>
<widget class="KLed" row="0" column="3">
<property name="name">
<cstring>m_led_syn</cstring>
</property>
<property name="minimumSize">
<size>
<width>16</width>
<height>16</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>16</width>
<height>16</height>
</size>
</property>
<property name="state">
<enum>Off</enum>
</property>
<property name="look">
<enum>Sunken</enum>
</property>
<property name="darkFactor">
<number>600</number>
</property>
</widget>
<widget class="TQLabel" row="0" column="2">
<property name="name">
<cstring>textLabel1_2_3_2_2_2</cstring>
</property>
<property name="text">
<string>Syncookies:</string>
</property>
</widget>
<widget class="TQLabel" row="1" column="2">
<property name="name">
<cstring>textLabel1_2_2_2</cstring>
</property>
<property name="text">
<string>RP-Filter:</string>
</property>
</widget>
<widget class="TQLabel" row="2" column="0">
<property name="name">
<cstring>textLabel1_2_8</cstring>
</property>
<property name="text">
<string>IP forwarding:</string>
</property>
</widget>
<widget class="TQLabel" row="0" column="0" rowspan="1" colspan="2">
<property name="name">
<cstring>textLabel1</cstring>
</property>
<property name="sizePolicy">
<sizepolicy>
<hsizetype>5</hsizetype>
<vsizetype>5</vsizetype>
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="text">
<string>&lt;b&gt;FW options:&lt;/b&gt;</string>
</property>
</widget>
<widget class="TQLabel" row="1" column="0">
<property name="name">
<cstring>textLabel1_2_3_2</cstring>
</property>
<property name="text">
<string>Load modules:</string>
</property>
</widget>
</grid>
</widget>
<widget class="TQLayoutWidget" row="7" column="0" rowspan="1" colspan="2">
<property name="name">
<cstring>Layout23</cstring>
</property>
<hbox>
<property name="name">
<cstring>unnamed</cstring>
</property>
<property name="margin">
<number>0</number>
</property>
<property name="spacing">
<number>6</number>
</property>
<widget class="TQLabel">
<property name="name">
<cstring>TextLabel8</cstring>
</property>
<property name="sizePolicy">
<sizepolicy>
<hsizetype>5</hsizetype>
<vsizetype>5</vsizetype>
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="text">
<string>Fragments:</string>
</property>
</widget>
<widget class="TQCheckBox">
<property name="name">
<cstring>cb_frag</cstring>
</property>
<property name="enabled">
<bool>false</bool>
</property>
<property name="text">
<string></string>
</property>
</widget>
<widget class="TQLabel">
<property name="name">
<cstring>TextLabel9</cstring>
</property>
<property name="text">
<string>Invert:</string>
</property>
</widget>
<widget class="TQCheckBox">
<property name="name">
<cstring>cb_frag_inv</cstring>
</property>
<property name="enabled">
<bool>false</bool>
</property>
<property name="text">
<string></string>
</property>
</widget>
</hbox>
</widget>
<widget class="KComboBox" row="6" column="0" rowspan="1" colspan="2">
<property name="name">
<cstring>kb_optSelect</cstring>
</property>
<property name="sizePolicy">
<sizepolicy>
<hsizetype>5</hsizetype>
<vsizetype>0</vsizetype>
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
</widget>
<widget class="TQLayoutWidget" row="5" column="0" rowspan="1" colspan="2">
<property name="name">
<cstring>layout12</cstring>
</property>
<grid>
<property name="name">
<cstring>unnamed</cstring>
</property>
<widget class="TQCheckBox" row="0" column="1">
<property name="name">
<cstring>cb_disable_rule</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></string>
</property>
</widget>
<widget class="TQCheckBox" row="1" column="1">
<property name="name">
<cstring>cb_log_rule</cstring>
</property>
<property name="enabled">
<bool>false</bool>
</property>
<property name="sizePolicy">
<sizepolicy>
<hsizetype>5</hsizetype>
<vsizetype>0</vsizetype>
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="text">
<string></string>
</property>
</widget>
<widget class="TQLabel" row="0" column="0">
<property name="name">
<cstring>TextLabel1_2</cstring>
</property>
<property name="text">
<string>Disable rule:</string>
</property>
</widget>
<widget class="TQLabel" row="1" column="0">
<property name="name">
<cstring>TextLabel1_2_2</cstring>
</property>
<property name="text">
<string>Log matching packets:</string>
</property>
</widget>
</grid>
</widget>
<widget class="TQLayoutWidget" row="4" column="0" rowspan="1" colspan="2">
<property name="name">
<cstring>layout20</cstring>
</property>
<hbox>
<property name="name">
<cstring>unnamed</cstring>
</property>
<widget class="TQLabel">
<property name="name">
<cstring>textLabel2_2</cstring>
</property>
<property name="text">
<string>Move rule in chain:</string>
</property>
</widget>
<widget class="KPushButton">
<property name="name">
<cstring>b_move_up</cstring>
</property>
<property name="text">
<string></string>
</property>
<property name="flat">
<bool>true</bool>
</property>
</widget>
<widget class="KPushButton">
<property name="name">
<cstring>b_move_down</cstring>
</property>
<property name="text">
<string></string>
</property>
<property name="flat">
<bool>true</bool>
</property>
</widget>
</hbox>
</widget>
<widget class="TQLayoutWidget" row="8" column="0" rowspan="1" colspan="2">
<property name="name">
<cstring>Layout21</cstring>
</property>
<hbox>
<property name="name">
<cstring>unnamed</cstring>
</property>
<property name="margin">
<number>0</number>
</property>
<property name="spacing">
<number>6</number>
</property>
<widget class="TQLabel">
<property name="name">
<cstring>TextLabel10</cstring>
</property>
<property name="sizePolicy">
<sizepolicy>
<hsizetype>0</hsizetype>
<vsizetype>5</vsizetype>
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="text">
<string>Target:</string>
</property>
</widget>
<widget class="TQComboBox">
<property name="name">
<cstring>cb_target</cstring>
</property>
<property name="enabled">
<bool>false</bool>
</property>
<property name="sizePolicy">
<sizepolicy>
<hsizetype>5</hsizetype>
<vsizetype>0</vsizetype>
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="autoResize">
<bool>true</bool>
</property>
<property name="insertionPolicy">
<enum>NoInsertion</enum>
</property>
<property name="duplicatesEnabled">
<bool>false</bool>
</property>
</widget>
</hbox>
</widget>
<widget class="TQWidgetStack" row="9" column="0" rowspan="1" colspan="2">
<property name="name">
<cstring>m_ws_target_opt</cstring>
</property>
<widget class="TQWidget">
<property name="name">
<cstring>page</cstring>
</property>
<attribute name="id">
<number>0</number>
</attribute>
</widget>
</widget>
</grid>
</widget>
<widget class="TQWidgetStack">
<property name="name">
<cstring>m_widgetStack</cstring>
</property>
<property name="sizePolicy">
<sizepolicy>
<hsizetype>3</hsizetype>
<vsizetype>5</vsizetype>
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
</widget>
</widget>
</grid>
</widget>
<connections>
<connection>
<sender>cb_frag</sender>
<signal>clicked()</signal>
<receiver>KMyFirewallRuleEditor</receiver>
<slot>slotFragChanged()</slot>
</connection>
<connection>
<sender>cb_frag_inv</sender>
<signal>clicked()</signal>
<receiver>KMyFirewallRuleEditor</receiver>
<slot>slotFragChanged()</slot>
</connection>
<connection>
<sender>cb_target</sender>
<signal>activated(const QString&amp;)</signal>
<receiver>KMyFirewallRuleEditor</receiver>
<slot>slotTargetChanged(const QString&amp;)</slot>
</connection>
<connection>
<sender>cb_frag</sender>
<signal>toggled(bool)</signal>
<receiver>cb_frag_inv</receiver>
<slot>setEnabled(bool)</slot>
</connection>
<connection>
<sender>rb_filter</sender>
<signal>clicked()</signal>
<receiver>KMyFirewallRuleEditor</receiver>
<slot>slotNewTableSelected()</slot>
</connection>
<connection>
<sender>rb_nat</sender>
<signal>clicked()</signal>
<receiver>KMyFirewallRuleEditor</receiver>
<slot>slotNewTableSelected()</slot>
</connection>
<connection>
<sender>rb_mangle</sender>
<signal>clicked()</signal>
<receiver>KMyFirewallRuleEditor</receiver>
<slot>slotNewTableSelected()</slot>
</connection>
<connection>
<sender>b_move_down</sender>
<signal>clicked()</signal>
<receiver>KMyFirewallRuleEditor</receiver>
<slot>slotMoveRuleDown()</slot>
</connection>
<connection>
<sender>b_move_up</sender>
<signal>clicked()</signal>
<receiver>KMyFirewallRuleEditor</receiver>
<slot>slotMoveRuleUp()</slot>
</connection>
</connections>
<tabstops>
<tabstop>rb_filter</tabstop>
<tabstop>cb_disable_rule</tabstop>
<tabstop>cb_log_rule</tabstop>
<tabstop>kb_optSelect</tabstop>
<tabstop>cb_frag</tabstop>
<tabstop>cb_frag_inv</tabstop>
<tabstop>cb_target</tabstop>
</tabstops>
<Q_SLOTS>
<slot>slotAddRule()</slot>
<slot>slotDelRule()</slot>
<slot>slotEditIPopt()</slot>
<slot>slotEditIntOpt()</slot>
<slot>slotEditLimitOpt()</slot>
<slot>slotEditMacOpt()</slot>
<slot>slotEditProtOpt()</slot>
<slot>slotEditRule()</slot>
<slot>slotEditStateOpt()</slot>
<slot>slotEditTargetOpt()</slot>
<slot>slotEditTargetOption()</slot>
<slot>slotEditTosOpt()</slot>
<slot>slotFragChanged()</slot>
<slot>slotHelp()</slot>
<slot>slotMoveRuleDown()</slot>
<slot>slotMoveRuleUp()</slot>
<slot>slotNewChainSelected( int )</slot>
<slot>slotNewTableSelected()</slot>
<slot>slotSaveConfig()</slot>
<slot>slotSaveRuleChanges()</slot>
<slot>slotTargetChanged( const QString &amp; )</slot>
<slot>accept()</slot>
<slot>reject()</slot>
</Q_SLOTS>
<layoutdefaults spacing="6" margin="11"/>
<includehints>
<includehint>kled.h</includehint>
<includehint>kled.h</includehint>
<includehint>kled.h</includehint>
<includehint>kled.h</includehint>
<includehint>kled.h</includehint>
<includehint>kcombobox.h</includehint>
<includehint>kpushbutton.h</includehint>
<includehint>kpushbutton.h</includehint>
</includehints>
</UI>