diff options
Diffstat (limited to 'kmyfirewall/ruleoptionplugins/nat_target_option/kmyfirewallruleeditortargetnat.ui')
-rw-r--r-- | kmyfirewall/ruleoptionplugins/nat_target_option/kmyfirewallruleeditortargetnat.ui | 339 |
1 files changed, 339 insertions, 0 deletions
diff --git a/kmyfirewall/ruleoptionplugins/nat_target_option/kmyfirewallruleeditortargetnat.ui b/kmyfirewall/ruleoptionplugins/nat_target_option/kmyfirewallruleeditortargetnat.ui new file mode 100644 index 0000000..518b000 --- /dev/null +++ b/kmyfirewall/ruleoptionplugins/nat_target_option/kmyfirewallruleeditortargetnat.ui @@ -0,0 +1,339 @@ +<!DOCTYPE UI><UI version="3.2" stdsetdef="1"> +<class>KMyFirewallRuleEditorTargetNat</class> +<widget class="QWidget"> + <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="QGroupBox"> + <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="QLayoutWidget"> + <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="QCheckBox" 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="QLabel" 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="QLabel" 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="QLineEdit" 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="QLineEdit" 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="QLabel" 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="QCheckBox"> + <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="QGroupBox"> + <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="QCheckBox" 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="QLabel" 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="QLabel" row="0" column="0"> + <property name="name"> + <cstring>TextLabel11</cstring> + </property> + <property name="text"> + <string>Map to port:</string> + </property> + </widget> + <widget class="QSpinBox" 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="QSpinBox" 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="QLabel" 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="QLayoutWidget"> + <property name="name"> + <cstring>layout27</cstring> + </property> + <hbox> + <property name="name"> + <cstring>unnamed</cstring> + </property> + <widget class="QPushButton"> + <property name="name"> + <cstring>b_ok_2</cstring> + </property> + <property name="text"> + <string>&Dismiss</string> + </property> + </widget> + <widget class="QPushButton"> + <property name="name"> + <cstring>b_cancel_2</cstring> + </property> + <property name="text"> + <string>&Help</string> + </property> + </widget> + <widget class="QPushButton"> + <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> +<slots> + <slot>slotHelp()</slot> + <slot>accept()</slot> + <slot>reject()</slot> +</slots> +<layoutdefaults spacing="6" margin="11"/> +</UI> |