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.
340 lines
14 KiB
340 lines
14 KiB
<!DOCTYPE UI><UI version="3.2" stdsetdef="1">
|
|
<class>KMyFirewallRuleEditorTargetNat</class>
|
|
<widget class="TQWidget">
|
|
<property name="name">
|
|
<cstring>KMyFirewallRuleEditorTargetNat</cstring>
|
|
</property>
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>0</x>
|
|
<y>0</y>
|
|
<width>331</width>
|
|
<height>207</height>
|
|
</rect>
|
|
</property>
|
|
<property name="caption">
|
|
<string>KMyFirewall - Nat 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="TQGroupBox">
|
|
<property name="name">
|
|
<cstring>GroupBox4</cstring>
|
|
</property>
|
|
<property name="title">
|
|
<string>Configure Network Address Translation</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="TQLayoutWidget">
|
|
<property name="name">
|
|
<cstring>Layout28</cstring>
|
|
</property>
|
|
<grid>
|
|
<property name="name">
|
|
<cstring>unnamed</cstring>
|
|
</property>
|
|
<property name="margin">
|
|
<number>0</number>
|
|
</property>
|
|
<property name="spacing">
|
|
<number>6</number>
|
|
</property>
|
|
<widget class="TQCheckBox" row="1" column="0">
|
|
<property name="name">
|
|
<cstring>c_ip_range</cstring>
|
|
</property>
|
|
<property name="text">
|
|
<string>Use IP Range</string>
|
|
</property>
|
|
</widget>
|
|
<widget class="TQLabel" row="1" column="1">
|
|
<property name="name">
|
|
<cstring>TextLabel8</cstring>
|
|
</property>
|
|
<property name="enabled">
|
|
<bool>false</bool>
|
|
</property>
|
|
<property name="text">
|
|
<string>to:</string>
|
|
</property>
|
|
</widget>
|
|
<widget class="TQLabel" row="0" column="1">
|
|
<property name="name">
|
|
<cstring>TextLabel9</cstring>
|
|
</property>
|
|
<property name="enabled">
|
|
<bool>false</bool>
|
|
</property>
|
|
<property name="text">
|
|
<string>from:</string>
|
|
</property>
|
|
</widget>
|
|
<widget class="TQLineEdit" row="1" column="2">
|
|
<property name="name">
|
|
<cstring>t_ip2</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>
|
|
</widget>
|
|
<widget class="TQLineEdit" row="0" column="2">
|
|
<property name="name">
|
|
<cstring>t_ip1</cstring>
|
|
</property>
|
|
<property name="sizePolicy">
|
|
<sizepolicy>
|
|
<hsizetype>5</hsizetype>
|
|
<vsizetype>0</vsizetype>
|
|
<horstretch>0</horstretch>
|
|
<verstretch>0</verstretch>
|
|
</sizepolicy>
|
|
</property>
|
|
</widget>
|
|
<widget class="TQLabel" row="0" column="0">
|
|
<property name="name">
|
|
<cstring>TextLabel2</cstring>
|
|
</property>
|
|
<property name="text">
|
|
<string>Translate to IP:</string>
|
|
</property>
|
|
<property name="alignment">
|
|
<set>AlignVCenter</set>
|
|
</property>
|
|
</widget>
|
|
</grid>
|
|
</widget>
|
|
<widget class="TQCheckBox">
|
|
<property name="name">
|
|
<cstring>c_use_ports</cstring>
|
|
</property>
|
|
<property name="enabled">
|
|
<bool>true</bool>
|
|
</property>
|
|
<property name="text">
|
|
<string>Use only custom port(s)</string>
|
|
</property>
|
|
<property name="toolTip" stdset="0">
|
|
<string>ATTENTION: This is only available if the rule also defines protcol TCP or UDP as a filter option!</string>
|
|
</property>
|
|
</widget>
|
|
<widget class="TQGroupBox">
|
|
<property name="name">
|
|
<cstring>GroupBox20</cstring>
|
|
</property>
|
|
<property name="enabled">
|
|
<bool>false</bool>
|
|
</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>2</number>
|
|
</property>
|
|
<widget class="TQCheckBox" row="1" column="0">
|
|
<property name="name">
|
|
<cstring>c_use_port_range</cstring>
|
|
</property>
|
|
<property name="text">
|
|
<string>Use a port range</string>
|
|
</property>
|
|
</widget>
|
|
<widget class="TQLabel" row="0" column="1">
|
|
<property name="name">
|
|
<cstring>TextLabel3</cstring>
|
|
</property>
|
|
<property name="enabled">
|
|
<bool>false</bool>
|
|
</property>
|
|
<property name="text">
|
|
<string>from:</string>
|
|
</property>
|
|
</widget>
|
|
<widget class="TQLabel" row="0" column="0">
|
|
<property name="name">
|
|
<cstring>TextLabel11</cstring>
|
|
</property>
|
|
<property name="text">
|
|
<string>Map to port:</string>
|
|
</property>
|
|
</widget>
|
|
<widget class="TQSpinBox" row="0" column="2">
|
|
<property name="name">
|
|
<cstring>sb_port1</cstring>
|
|
</property>
|
|
<property name="maxValue">
|
|
<number>65535</number>
|
|
</property>
|
|
<property name="minValue">
|
|
<number>1</number>
|
|
</property>
|
|
</widget>
|
|
<widget class="TQSpinBox" row="1" column="2">
|
|
<property name="name">
|
|
<cstring>sb_port2</cstring>
|
|
</property>
|
|
<property name="enabled">
|
|
<bool>false</bool>
|
|
</property>
|
|
<property name="maxValue">
|
|
<number>65535</number>
|
|
</property>
|
|
<property name="minValue">
|
|
<number>1</number>
|
|
</property>
|
|
</widget>
|
|
<widget class="TQLabel" row="1" column="1">
|
|
<property name="name">
|
|
<cstring>TextLabel5</cstring>
|
|
</property>
|
|
<property name="enabled">
|
|
<bool>false</bool>
|
|
</property>
|
|
<property name="text">
|
|
<string>to:</string>
|
|
</property>
|
|
</widget>
|
|
</grid>
|
|
</widget>
|
|
</vbox>
|
|
</widget>
|
|
<widget class="TQLayoutWidget">
|
|
<property name="name">
|
|
<cstring>layout27</cstring>
|
|
</property>
|
|
<hbox>
|
|
<property name="name">
|
|
<cstring>unnamed</cstring>
|
|
</property>
|
|
<widget class="TQPushButton">
|
|
<property name="name">
|
|
<cstring>b_ok_2</cstring>
|
|
</property>
|
|
<property name="text">
|
|
<string>&Dismiss</string>
|
|
</property>
|
|
</widget>
|
|
<widget class="TQPushButton">
|
|
<property name="name">
|
|
<cstring>b_cancel_2</cstring>
|
|
</property>
|
|
<property name="text">
|
|
<string>&Help</string>
|
|
</property>
|
|
</widget>
|
|
<widget class="TQPushButton">
|
|
<property name="name">
|
|
<cstring>b_ok</cstring>
|
|
</property>
|
|
<property name="text">
|
|
<string>&Apply</string>
|
|
</property>
|
|
</widget>
|
|
</hbox>
|
|
</widget>
|
|
</vbox>
|
|
</widget>
|
|
<connections>
|
|
<connection>
|
|
<sender>c_ip_range</sender>
|
|
<signal>toggled(bool)</signal>
|
|
<receiver>TextLabel8</receiver>
|
|
<slot>setEnabled(bool)</slot>
|
|
</connection>
|
|
<connection>
|
|
<sender>c_ip_range</sender>
|
|
<signal>toggled(bool)</signal>
|
|
<receiver>t_ip2</receiver>
|
|
<slot>setEnabled(bool)</slot>
|
|
</connection>
|
|
<connection>
|
|
<sender>b_ok</sender>
|
|
<signal>clicked()</signal>
|
|
<receiver>KMyFirewallRuleEditorTargetNat</receiver>
|
|
<slot>accept()</slot>
|
|
</connection>
|
|
<connection>
|
|
<sender>c_ip_range</sender>
|
|
<signal>toggled(bool)</signal>
|
|
<receiver>TextLabel9</receiver>
|
|
<slot>setEnabled(bool)</slot>
|
|
</connection>
|
|
<connection>
|
|
<sender>c_use_port_range</sender>
|
|
<signal>toggled(bool)</signal>
|
|
<receiver>TextLabel3</receiver>
|
|
<slot>setEnabled(bool)</slot>
|
|
</connection>
|
|
<connection>
|
|
<sender>c_use_port_range</sender>
|
|
<signal>toggled(bool)</signal>
|
|
<receiver>TextLabel5</receiver>
|
|
<slot>setEnabled(bool)</slot>
|
|
</connection>
|
|
<connection>
|
|
<sender>c_use_port_range</sender>
|
|
<signal>toggled(bool)</signal>
|
|
<receiver>sb_port2</receiver>
|
|
<slot>setEnabled(bool)</slot>
|
|
</connection>
|
|
<connection>
|
|
<sender>c_use_ports</sender>
|
|
<signal>toggled(bool)</signal>
|
|
<receiver>GroupBox20</receiver>
|
|
<slot>setEnabled(bool)</slot>
|
|
</connection>
|
|
<connection>
|
|
<sender>b_cancel_2</sender>
|
|
<signal>clicked()</signal>
|
|
<receiver>KMyFirewallRuleEditorTargetNat</receiver>
|
|
<slot>slotHelp()</slot>
|
|
</connection>
|
|
<connection>
|
|
<sender>b_ok_2</sender>
|
|
<signal>clicked()</signal>
|
|
<receiver>KMyFirewallRuleEditorTargetNat</receiver>
|
|
<slot>reject()</slot>
|
|
</connection>
|
|
</connections>
|
|
<Q_SLOTS>
|
|
<slot>slotHelp()</slot>
|
|
<slot>accept()</slot>
|
|
<slot>reject()</slot>
|
|
</Q_SLOTS>
|
|
<layoutdefaults spacing="6" margin="11"/>
|
|
</UI>
|