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.
kvpnc/src/profilenetworknatoptionsbas...

226 lines
11 KiB

<!DOCTYPE UI><UI version="3.3" stdsetdef="1">
<class>ProfileNetworkNatOptionsBase</class>
<widget class="TQWidget">
<property name="name">
<cstring>ProfileNetworkNatOptionsBase</cstring>
</property>
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>393</width>
<height>127</height>
</rect>
</property>
<property name="caption">
<string>NAT</string>
</property>
<grid>
<property name="name">
<cstring>unnamed</cstring>
</property>
<widget class="TQLayoutWidget" row="0" column="0">
<property name="name">
<cstring>layout71</cstring>
</property>
<hbox>
<property name="name">
<cstring>unnamed</cstring>
</property>
<widget class="TQLayoutWidget">
<property name="name">
<cstring>layout70</cstring>
</property>
<vbox>
<property name="name">
<cstring>unnamed</cstring>
</property>
<widget class="TQLayoutWidget">
<property name="name">
<cstring>layout69</cstring>
</property>
<grid>
<property name="name">
<cstring>unnamed</cstring>
</property>
<widget class="TQLayoutWidget" row="0" column="0" rowspan="1" colspan="2">
<property name="name">
<cstring>layout67</cstring>
</property>
<hbox>
<property name="name">
<cstring>unnamed</cstring>
</property>
<widget class="TQCheckBox">
<property name="name">
<cstring>UseUdpCheckbox</cstring>
</property>
<property name="text">
<string>&amp;Use UDP</string>
</property>
<property name="accel">
<string>Alt+U</string>
</property>
<property name="toolTip" stdset="0">
<string>For IPSec use UDP encapsulation. For openvpn &lt;br&gt;use UDP instead of TCP protocol.</string>
</property>
<property name="whatsThis" stdset="0">
<string>For openvpn this causes using UDP instead of TCP protocol &lt;br&gt;(peer have to use the same protocol).</string>
</property>
</widget>
<spacer>
<property name="name">
<cstring>spacer39</cstring>
</property>
<property name="orientation">
<enum>Horizontal</enum>
</property>
<property name="sizeType">
<enum>Expanding</enum>
</property>
<property name="sizeHint">
<size>
<width>40</width>
<height>20</height>
</size>
</property>
</spacer>
</hbox>
</widget>
<widget class="TQCheckBox" row="0" column="2">
<property name="name">
<cstring>UseNatCheckbox</cstring>
</property>
<property name="text">
<string>Use NAT</string>
</property>
<property name="toolTip" stdset="0">
<string>Enable NAT support</string>
</property>
<property name="whatsThis" stdset="0">
<string>You should enable this if you behind a firewall</string>
</property>
</widget>
<spacer row="1" column="2">
<property name="name">
<cstring>spacer7_2</cstring>
</property>
<property name="orientation">
<enum>Horizontal</enum>
</property>
<property name="sizeType">
<enum>Expanding</enum>
</property>
<property name="sizeHint">
<size>
<width>116</width>
<height>21</height>
</size>
</property>
</spacer>
<widget class="TQCheckBox" row="1" column="0">
<property name="name">
<cstring>UdpPortCheckbox</cstring>
</property>
<property name="enabled">
<bool>false</bool>
</property>
<property name="text">
<string>UDP port for NAT-&amp;T:</string>
</property>
<property name="accel">
<string>Alt+T</string>
</property>
<property name="toolTip" stdset="0">
<string>Use specified port number for IPSec NAT-T</string>
</property>
</widget>
<widget class="TQSpinBox" row="1" column="1">
<property name="name">
<cstring>UdpPortSpinbox</cstring>
</property>
<property name="enabled">
<bool>false</bool>
</property>
<property name="maxValue">
<number>65535</number>
</property>
<property name="minValue">
<number>1</number>
</property>
<property name="value">
<number>10000</number>
</property>
<property name="toolTip" stdset="0">
<string>UDP port for NAT-T</string>
</property>
</widget>
</grid>
</widget>
<spacer>
<property name="name">
<cstring>spacer4</cstring>
</property>
<property name="orientation">
<enum>Vertical</enum>
</property>
<property name="sizeType">
<enum>Expanding</enum>
</property>
<property name="sizeHint">
<size>
<width>21</width>
<height>46</height>
</size>
</property>
</spacer>
</vbox>
</widget>
<spacer>
<property name="name">
<cstring>spacer52</cstring>
</property>
<property name="orientation">
<enum>Horizontal</enum>
</property>
<property name="sizeType">
<enum>Expanding</enum>
</property>
<property name="sizeHint">
<size>
<width>31</width>
<height>20</height>
</size>
</property>
</spacer>
</hbox>
</widget>
</grid>
</widget>
<connections>
<connection>
<sender>UseNatCheckbox</sender>
<signal>toggled(bool)</signal>
<receiver>ProfileNetworkNatOptionsBase</receiver>
<slot>useNatToggled(bool)</slot>
</connection>
<connection>
<sender>UdpPortCheckbox</sender>
<signal>toggled(bool)</signal>
<receiver>ProfileNetworkNatOptionsBase</receiver>
<slot>udpPortToggled(bool)</slot>
</connection>
</connections>
<tabstops>
<tabstop>UseUdpCheckbox</tabstop>
<tabstop>UdpPortCheckbox</tabstop>
<tabstop>UdpPortSpinbox</tabstop>
</tabstops>
<Q_SLOTS>
<slot specifier="nicht virtual">useNatToggled(bool)</slot>
<slot specifier="nicht virtual">useUdpToggled(bool)</slot>
<slot specifier="nicht virtuell">udpPortToggled(bool)</slot>
</Q_SLOTS>
<layoutdefaults spacing="6" margin="11"/>
</UI>