summaryrefslogtreecommitdiffstats
path: root/src/profilenetworknatoptionsbase.ui
blob: ac4acde96f7f6f97650f82a638ff94d0b29145a2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
<!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>tqlayout71</cstring>
            </property>
            <hbox>
                <property name="name">
                    <cstring>unnamed</cstring>
                </property>
                <widget class="TQLayoutWidget">
                    <property name="name">
                        <cstring>tqlayout70</cstring>
                    </property>
                    <vbox>
                        <property name="name">
                            <cstring>unnamed</cstring>
                        </property>
                        <widget class="TQLayoutWidget">
                            <property name="name">
                                <cstring>tqlayout69</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>tqlayout67</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>