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/profilenetworkgeneraloption...

1032 lines
59 KiB

<!DOCTYPE UI><UI version="3.3" stdsetdef="1">
<class>ProfileNetworkGeneralOptionsBase</class>
<widget class="TQWidget">
<property name="name">
<cstring>ProfileNetworkGeneralOptionsBase</cstring>
</property>
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>459</width>
<height>354</height>
</rect>
</property>
<property name="caption">
<string>General network options</string>
</property>
<grid>
<property name="name">
<cstring>unnamed</cstring>
</property>
<widget class="TQLayoutWidget" row="0" column="0">
<property name="name">
<cstring>layout60</cstring>
</property>
<vbox>
<property name="name">
<cstring>unnamed</cstring>
</property>
<widget class="TQLayoutWidget">
<property name="name">
<cstring>layout58</cstring>
</property>
<hbox>
<property name="name">
<cstring>unnamed</cstring>
</property>
<widget class="TQCheckBox">
<property name="name">
<cstring>MtuCheckbox</cstring>
</property>
<property name="text">
<string>User defined &amp;MTU:</string>
</property>
<property name="accel">
<string>Alt+M</string>
</property>
<property name="toolTip" stdset="0">
<string>Check this to set a custom MTU size</string>
</property>
<property name="whatsThis" stdset="0">
<string>If you enable this you can set a own MTU size.</string>
</property>
</widget>
<widget class="TQSpinBox">
<property name="name">
<cstring>MtuSpinbox</cstring>
</property>
<property name="enabled">
<bool>false</bool>
</property>
<property name="maxValue">
<number>1500</number>
</property>
<property name="minValue">
<number>1200</number>
</property>
<property name="value">
<number>1492</number>
</property>
<property name="toolTip" stdset="0">
<string>The MTU size for the ppp connection</string>
</property>
<property name="whatsThis" stdset="0">
<string>Here you can specify the MTU size for use with pppd.</string>
</property>
</widget>
<spacer>
<property name="name">
<cstring>spacer54</cstring>
</property>
<property name="orientation">
<enum>Horizontal</enum>
</property>
<property name="sizeType">
<enum>Expanding</enum>
</property>
<property name="sizeHint">
<size>
<width>71</width>
<height>20</height>
</size>
</property>
</spacer>
<widget class="TQCheckBox">
<property name="name">
<cstring>MruCheckbox</cstring>
</property>
<property name="text">
<string>Userdefined M&amp;RU:</string>
</property>
<property name="accel">
<string>Alt+R</string>
</property>
<property name="toolTip" stdset="0">
<string>Check this to set a custom MRU size</string>
</property>
<property name="whatsThis" stdset="0">
<string>If you enable this you can set a own MRU size.</string>
</property>
</widget>
<widget class="TQSpinBox">
<property name="name">
<cstring>MruSpinbox</cstring>
</property>
<property name="enabled">
<bool>false</bool>
</property>
<property name="maxValue">
<number>1500</number>
</property>
<property name="minValue">
<number>1200</number>
</property>
<property name="value">
<number>1492</number>
</property>
<property name="toolTip" stdset="0">
<string>The MRU size for the ppp connection</string>
</property>
<property name="whatsThis" stdset="0">
<string>Here you can specify the MRU size for use with pppd.</string>
</property>
</widget>
</hbox>
</widget>
<widget class="TQLayoutWidget">
<property name="name">
<cstring>layout59</cstring>
</property>
<grid>
<property name="name">
<cstring>unnamed</cstring>
</property>
<widget class="TQLayoutWidget" row="2" column="0">
<property name="name">
<cstring>layout56</cstring>
</property>
<hbox>
<property name="name">
<cstring>unnamed</cstring>
</property>
<widget class="TQCheckBox">
<property name="name">
<cstring>UseRemoteNetworkCheckBox</cstring>
</property>
<property name="text">
<string>&amp;Use remote network</string>
</property>
<property name="accel">
<string>Alt+U</string>
</property>
</widget>
<spacer>
<property name="name">
<cstring>spacer28</cstring>
</property>
<property name="orientation">
<enum>Horizontal</enum>
</property>
<property name="sizeType">
<enum>Expanding</enum>
</property>
<property name="sizeHint">
<size>
<width>41</width>
<height>21</height>
</size>
</property>
</spacer>
</hbox>
</widget>
<widget class="TQLayoutWidget" row="1" column="0">
<property name="name">
<cstring>layout58</cstring>
</property>
<hbox>
<property name="name">
<cstring>unnamed</cstring>
</property>
<widget class="TQLabel">
<property name="name">
<cstring>LabelNetworkDevice</cstring>
</property>
<property name="enabled">
<bool>true</bool>
</property>
<property name="text">
<string>Network device</string>
</property>
</widget>
<widget class="TQLayoutWidget">
<property name="name">
<cstring>layout44</cstring>
</property>
<hbox>
<property name="name">
<cstring>unnamed</cstring>
</property>
<spacer>
<property name="name">
<cstring>spacer169</cstring>
</property>
<property name="orientation">
<enum>Horizontal</enum>
</property>
<property name="sizeType">
<enum>Expanding</enum>
</property>
<property name="sizeHint">
<size>
<width>227</width>
<height>20</height>
</size>
</property>
</spacer>
<widget class="KComboBox">
<property name="name">
<cstring>NetworkDeviceComboBox</cstring>
</property>
<property name="editable">
<bool>true</bool>
</property>
<property name="toolTip" stdset="0">
<string>Network device for use with tunnel</string>
</property>
<property name="whatsThis" stdset="0">
<string>This is the network device which should be used for the tunnel. Its only active if needed. If no selection made, "default" is set for using the device where the defaultroute points to.</string>
</property>
</widget>
</hbox>
</widget>
</hbox>
</widget>
<spacer row="0" column="1">
<property name="name">
<cstring>spacer24</cstring>
</property>
<property name="orientation">
<enum>Horizontal</enum>
</property>
<property name="sizeType">
<enum>Expanding</enum>
</property>
<property name="sizeHint">
<size>
<width>208</width>
<height>20</height>
</size>
</property>
</spacer>
<widget class="TQCheckBox" row="0" column="0">
<property name="name">
<cstring>FixPathMtuDiscoveryProblemCheckBox</cstring>
</property>
<property name="text">
<string>Fix path mtu discovery problem</string>
</property>
<property name="accel">
<string></string>
</property>
<property name="toolTip" stdset="0">
<string>Fixes the path mtu discovery problem by inserting a special firwall rule.</string>
</property>
<property name="whatsThis" stdset="0">
<string>Problem: TCP connections using the PPTP Client host as a hop in the route (such as via normal routing, NAT or IP masquerading) freeze once they attempt to transfer large amounts of data.
Diagnosis: path MTU discovery may not be working, due to hosts on the route refusing to forward ICMP fragmentation needed responses.</string>
</property>
</widget>
<widget class="TQLayoutWidget" row="2" column="1">
<property name="name">
<cstring>layout55</cstring>
</property>
<hbox>
<property name="name">
<cstring>unnamed</cstring>
</property>
<widget class="TQCheckBox">
<property name="name">
<cstring>UseDnsUpdateCheckBox</cstring>
</property>
<property name="enabled">
<bool>true</bool>
</property>
<property name="text">
<string>Update DNS configuration</string>
</property>
<property name="accel">
<string></string>
</property>
<property name="checked">
<bool>true</bool>
</property>
<property name="toolTip" stdset="0">
<string>Modify the nameserver configuration and set DNS_UPDATE var.</string>
</property>
<property name="whatsThis" stdset="0">
<string>If this is checked, the nameserver configuration will be updated. The DNS_UPDATE environment variable will be set to YES, otherwise NO.</string>
</property>
</widget>
<spacer>
<property name="name">
<cstring>spacer27</cstring>
</property>
<property name="orientation">
<enum>Horizontal</enum>
</property>
<property name="sizeType">
<enum>Expanding</enum>
</property>
<property name="sizeHint">
<size>
<width>71</width>
<height>21</height>
</size>
</property>
</spacer>
</hbox>
</widget>
<widget class="TQLayoutWidget" row="1" column="1">
<property name="name">
<cstring>layout57</cstring>
</property>
<hbox>
<property name="name">
<cstring>unnamed</cstring>
</property>
<widget class="TQLabel">
<property name="name">
<cstring>TunnelDeviceTypeLabel</cstring>
</property>
<property name="enabled">
<bool>false</bool>
</property>
<property name="text">
<string>Tunnel device type:</string>
</property>
</widget>
<widget class="TQLayoutWidget">
<property name="name">
<cstring>layout22</cstring>
</property>
<hbox>
<property name="name">
<cstring>unnamed</cstring>
</property>
<spacer>
<property name="name">
<cstring>spacer15</cstring>
</property>
<property name="orientation">
<enum>Horizontal</enum>
</property>
<property name="sizeType">
<enum>Expanding</enum>
</property>
<property name="sizeHint">
<size>
<width>181</width>
<height>21</height>
</size>
</property>
</spacer>
<widget class="KComboBox">
<property name="name">
<cstring>TunnelDeviceTypeComboBox</cstring>
</property>
<property name="enabled">
<bool>false</bool>
</property>
</widget>
</hbox>
</widget>
</hbox>
</widget>
</grid>
</widget>
<widget class="TQLayoutWidget">
<property name="name">
<cstring>layout58</cstring>
</property>
<vbox>
<property name="name">
<cstring>unnamed</cstring>
</property>
<widget class="TQGroupBox">
<property name="name">
<cstring>UseRemoteNetworkGroupBox</cstring>
</property>
<property name="enabled">
<bool>false</bool>
</property>
<property name="title">
<string>Remote network</string>
</property>
<grid>
<property name="name">
<cstring>unnamed</cstring>
</property>
<widget class="TQLabel" row="0" column="0">
<property name="name">
<cstring>LabelRemoteNetwork</cstring>
</property>
<property name="enabled">
<bool>false</bool>
</property>
<property name="text">
<string>Remote network:</string>
</property>
</widget>
<widget class="TQLayoutWidget" row="0" column="1">
<property name="name">
<cstring>layout77</cstring>
</property>
<hbox>
<property name="name">
<cstring>unnamed</cstring>
</property>
<widget class="KLineEdit">
<property name="name">
<cstring>RemoteNetAddrLineEdit</cstring>
</property>
<property name="toolTip" stdset="0">
<string>Remote network address</string>
</property>
<property name="whatsThis" stdset="0">
<string>This is the remote network where the connection should going to. Use this at a PPTP connection for set another network than the retrieved IP is located.</string>
</property>
</widget>
<widget class="TQLabel">
<property name="name">
<cstring>RemoteNetDividetextLabel</cstring>
</property>
<property name="text">
<string>/</string>
</property>
</widget>
<widget class="KComboBox">
<item>
<property name="text">
<string>8</string>
</property>
</item>
<item>
<property name="text">
<string>9</string>
</property>
</item>
<item>
<property name="text">
<string>10</string>
</property>
</item>
<item>
<property name="text">
<string>11</string>
</property>
</item>
<item>
<property name="text">
<string>12</string>
</property>
</item>
<item>
<property name="text">
<string>13</string>
</property>
</item>
<item>
<property name="text">
<string>14</string>
</property>
</item>
<item>
<property name="text">
<string>15</string>
</property>
</item>
<item>
<property name="text">
<string>16</string>
</property>
</item>
<item>
<property name="text">
<string>17</string>
</property>
</item>
<item>
<property name="text">
<string>18</string>
</property>
</item>
<item>
<property name="text">
<string>19</string>
</property>
</item>
<item>
<property name="text">
<string>20</string>
</property>
</item>
<item>
<property name="text">
<string>21</string>
</property>
</item>
<item>
<property name="text">
<string>22</string>
</property>
</item>
<item>
<property name="text">
<string>23</string>
</property>
</item>
<item>
<property name="text">
<string>24</string>
</property>
</item>
<item>
<property name="text">
<string>25</string>
</property>
</item>
<item>
<property name="text">
<string>26</string>
</property>
</item>
<item>
<property name="text">
<string>27</string>
</property>
</item>
<item>
<property name="text">
<string>28</string>
</property>
</item>
<item>
<property name="text">
<string>29</string>
</property>
</item>
<item>
<property name="text">
<string>30</string>
</property>
</item>
<item>
<property name="text">
<string>31</string>
</property>
</item>
<item>
<property name="text">
<string>32</string>
</property>
</item>
<property name="name">
<cstring>RemoteNetMaskComboBox</cstring>
</property>
<property name="currentItem">
<number>16</number>
</property>
</widget>
</hbox>
</widget>
</grid>
</widget>
<widget class="TQGroupBox">
<property name="name">
<cstring>ConnectionStatusGroupBox</cstring>
</property>
<property name="title">
<string>Connection Status Check</string>
</property>
<property name="toolTip" stdset="0">
<string>Options for connection status check</string>
</property>
<property name="whatsThis" stdset="0">
<string>Here you can set various options for the connection status check.</string>
</property>
<grid>
<property name="name">
<cstring>unnamed</cstring>
</property>
<widget class="TQLayoutWidget" row="0" column="0">
<property name="name">
<cstring>layout57</cstring>
</property>
<hbox>
<property name="name">
<cstring>unnamed</cstring>
</property>
<widget class="TQCheckBox">
<property name="name">
<cstring>UseConnectionStatusCheckCheckBox</cstring>
</property>
<property name="enabled">
<bool>true</bool>
</property>
<property name="text">
<string>&amp;Check connection status</string>
</property>
<property name="accel">
<string>Alt+C</string>
</property>
<property name="checked">
<bool>true</bool>
</property>
<property name="toolTip" stdset="0">
<string>Test if the connection is allive by pinging the gateway</string>
</property>
<property name="whatsThis" stdset="0">
<string>If checked, the connection status check will be enabled. The parameters below control how often the gateway will be pinged and it must be minimal success in a count.&lt;br&gt;Example: interval 1, success count 4: this means that 4 pings will be done and minimal one must be success for keep the connection alive. The delay between the pings are 1 sec.</string>
</property>
</widget>
<spacer>
<property name="name">
<cstring>spacer8_2</cstring>
</property>
<property name="orientation">
<enum>Horizontal</enum>
</property>
<property name="sizeType">
<enum>Expanding</enum>
</property>
<property name="sizeHint">
<size>
<width>201</width>
<height>20</height>
</size>
</property>
</spacer>
</hbox>
</widget>
<widget class="TQCheckBox" row="0" column="1">
<property name="name">
<cstring>DoReconnectAfterConnectionLostCheckBox</cstring>
</property>
<property name="enabled">
<bool>true</bool>
</property>
<property name="text">
<string>Reconnect after connection &amp;lost</string>
</property>
<property name="accel">
<string>Alt+L</string>
</property>
<property name="checked">
<bool>false</bool>
</property>
<property name="toolTip" stdset="0">
<string>Reconnect automatically after the connection is lost</string>
</property>
<property name="whatsThis" stdset="0">
<string></string>
</property>
</widget>
<widget class="TQLayoutWidget" row="1" column="0">
<property name="name">
<cstring>layout118</cstring>
</property>
<hbox>
<property name="name">
<cstring>unnamed</cstring>
</property>
<widget class="TQLayoutWidget">
<property name="name">
<cstring>layout119</cstring>
</property>
<hbox>
<property name="name">
<cstring>unnamed</cstring>
</property>
<widget class="TQLabel">
<property name="name">
<cstring>PingIntervalLabel</cstring>
</property>
<property name="enabled">
<bool>false</bool>
</property>
<property name="text">
<string>Interval:</string>
</property>
</widget>
<spacer>
<property name="name">
<cstring>spacer8</cstring>
</property>
<property name="orientation">
<enum>Horizontal</enum>
</property>
<property name="sizeType">
<enum>Expanding</enum>
</property>
<property name="sizeHint">
<size>
<width>181</width>
<height>20</height>
</size>
</property>
</spacer>
</hbox>
</widget>
<widget class="KIntNumInput">
<property name="name">
<cstring>ConnectionStatusCheckIntervalNumInput</cstring>
</property>
<property name="minValue">
<number>1</number>
</property>
<property name="maxValue">
<number>120</number>
</property>
</widget>
</hbox>
</widget>
<widget class="TQLayoutWidget" row="1" column="1">
<property name="name">
<cstring>layout117</cstring>
</property>
<hbox>
<property name="name">
<cstring>unnamed</cstring>
</property>
<widget class="TQLayoutWidget">
<property name="name">
<cstring>layout120</cstring>
</property>
<hbox>
<property name="name">
<cstring>unnamed</cstring>
</property>
<widget class="TQLabel">
<property name="name">
<cstring>PingSuccessCountLabel</cstring>
</property>
<property name="enabled">
<bool>false</bool>
</property>
<property name="text">
<string>Success count:</string>
</property>
</widget>
<spacer>
<property name="name">
<cstring>spacer9</cstring>
</property>
<property name="orientation">
<enum>Horizontal</enum>
</property>
<property name="sizeType">
<enum>Expanding</enum>
</property>
<property name="sizeHint">
<size>
<width>181</width>
<height>20</height>
</size>
</property>
</spacer>
</hbox>
</widget>
<widget class="KIntNumInput">
<property name="name">
<cstring>ConnectionStatusSuccessCountNumInput</cstring>
</property>
<property name="value">
<number>4</number>
</property>
<property name="minValue">
<number>1</number>
</property>
<property name="maxValue">
<number>10</number>
</property>
</widget>
</hbox>
</widget>
<widget class="TQLayoutWidget" row="2" column="0">
<property name="name">
<cstring>layout4</cstring>
</property>
<hbox>
<property name="name">
<cstring>unnamed</cstring>
</property>
<widget class="TQCheckBox">
<property name="name">
<cstring>PingCheckBox</cstring>
</property>
<property name="backgroundOrigin">
<enum>WidgetOrigin</enum>
</property>
<property name="text">
<string>Ping hostname/IP address:</string>
</property>
<property name="accel">
<string></string>
</property>
<property name="toolTip" stdset="0">
<string>Use specified hostname/IP address instead the gateway address to test the connection status</string>
</property>
</widget>
<widget class="KLineEdit">
<property name="name">
<cstring>PingIPLineEdit</cstring>
</property>
<property name="enabled">
<bool>false</bool>
</property>
<property name="echoMode">
<enum>Normal</enum>
</property>
<property name="toolTip" stdset="0">
<string>Hostname/IP address for ping test</string>
</property>
<property name="whatsThis" stdset="0">
<string>This is the hostname/IP address which should be tested.</string>
</property>
</widget>
</hbox>
</widget>
<spacer row="2" column="1">
<property name="name">
<cstring>spacer29</cstring>
</property>
<property name="orientation">
<enum>Horizontal</enum>
</property>
<property name="sizeType">
<enum>Expanding</enum>
</property>
<property name="sizeHint">
<size>
<width>181</width>
<height>21</height>
</size>
</property>
</spacer>
<widget class="TQLayoutWidget" row="3" column="0" rowspan="1" colspan="2">
<property name="name">
<cstring>layout121</cstring>
</property>
<hbox>
<property name="name">
<cstring>unnamed</cstring>
</property>
<widget class="TQLayoutWidget">
<property name="name">
<cstring>layout121</cstring>
</property>
<hbox>
<property name="name">
<cstring>unnamed</cstring>
</property>
<widget class="TQCheckBox">
<property name="name">
<cstring>UseReconnectDelayCheckBox</cstring>
</property>
<property name="enabled">
<bool>false</bool>
</property>
<property name="text">
<string>Reconnect dela&amp;y:</string>
</property>
<property name="accel">
<string>Alt+Y</string>
</property>
<property name="checked">
<bool>false</bool>
</property>
<property name="toolTip" stdset="0">
<string>Delay in seconds before reconnect after the connection lost</string>
</property>
<property name="whatsThis" stdset="0">
<string></string>
</property>
</widget>
<spacer>
<property name="name">
<cstring>spacer68</cstring>
</property>
<property name="orientation">
<enum>Horizontal</enum>
</property>
<property name="sizeType">
<enum>Expanding</enum>
</property>
<property name="sizeHint">
<size>
<width>64</width>
<height>21</height>
</size>
</property>
</spacer>
</hbox>
</widget>
<widget class="KIntNumInput">
<property name="name">
<cstring>ReconnectDelayNumInput</cstring>
</property>
<property name="enabled">
<bool>false</bool>
</property>
<property name="value">
<number>5</number>
</property>
<property name="minValue">
<number>1</number>
</property>
<property name="maxValue">
<number>120</number>
</property>
<property name="toolTip" stdset="0">
<string>Reconnect delay in seconds</string>
</property>
</widget>
</hbox>
</widget>
</grid>
</widget>
</vbox>
</widget>
<spacer>
<property name="name">
<cstring>spacer112</cstring>
</property>
<property name="orientation">
<enum>Vertical</enum>
</property>
<property name="sizeType">
<enum>Expanding</enum>
</property>
<property name="sizeHint">
<size>
<width>20</width>
<height>16</height>
</size>
</property>
</spacer>
</vbox>
</widget>
</grid>
</widget>
<connections>
<connection>
<sender>MtuCheckbox</sender>
<signal>toggled(bool)</signal>
<receiver>ProfileNetworkGeneralOptionsBase</receiver>
<slot>mtuToggled(bool)</slot>
</connection>
<connection>
<sender>MruCheckbox</sender>
<signal>toggled(bool)</signal>
<receiver>ProfileNetworkGeneralOptionsBase</receiver>
<slot>mruToggled(bool)</slot>
</connection>
<connection>
<sender>UseConnectionStatusCheckCheckBox</sender>
<signal>toggled(bool)</signal>
<receiver>ProfileNetworkGeneralOptionsBase</receiver>
<slot>useConnectionStatusCheckToggled(bool)</slot>
</connection>
<connection>
<sender>DoReconnectAfterConnectionLostCheckBox</sender>
<signal>toggled(bool)</signal>
<receiver>ProfileNetworkGeneralOptionsBase</receiver>
<slot>useReconnectAfterDisconnectToggled(bool)</slot>
</connection>
<connection>
<sender>UseReconnectDelayCheckBox</sender>
<signal>toggled(bool)</signal>
<receiver>ProfileNetworkGeneralOptionsBase</receiver>
<slot>useReconnectDelayToggled(bool)</slot>
</connection>
<connection>
<sender>PingCheckBox</sender>
<signal>toggled(bool)</signal>
<receiver>ProfileNetworkGeneralOptionsBase</receiver>
<slot>pingIpAfterConnectToggled(bool)</slot>
</connection>
<connection>
<sender>UseRemoteNetworkCheckBox</sender>
<signal>toggled(bool)</signal>
<receiver>ProfileNetworkGeneralOptionsBase</receiver>
<slot>useNetworkToggled(bool)</slot>
</connection>
</connections>
<Q_SLOTS>
<slot>mtuToggled(bool)</slot>
<slot>mruToggled(bool)</slot>
<slot>useConnectionStatusCheckToggled(bool)</slot>
<slot>pingIpAfterConnectToggled(bool)</slot>
<slot>useReconnectAfterDisconnectToggled(bool)</slot>
<slot>useReconnectDelayToggled(bool)</slot>
<slot>UseDnsUpdateToggled(bool)</slot>
<slot>useNetworkToggled(bool)</slot>
</Q_SLOTS>
<layoutdefaults spacing="6" margin="11"/>
<includehints>
<includehint>kcombobox.h</includehint>
<includehint>klineedit.h</includehint>
<includehint>kcombobox.h</includehint>
<includehint>klineedit.h</includehint>
<includehint>kcombobox.h</includehint>
<includehint>knuminput.h</includehint>
<includehint>knuminput.h</includehint>
<includehint>knuminput.h</includehint>
<includehint>knuminput.h</includehint>
<includehint>klineedit.h</includehint>
<includehint>knuminput.h</includehint>
<includehint>knuminput.h</includehint>
</includehints>
</UI>