Changeset View
Changeset View
Standalone View
Standalone View
libs/editor/settings/ui/wireguardinterfacewidget.ui
- This file was moved from vpn/wireguard/wireguard.ui.
1 | <?xml version="1.0" encoding="UTF-8"?> | 1 | <?xml version="1.0" encoding="UTF-8"?> | ||
---|---|---|---|---|---|
2 | <ui version="4.0"> | 2 | <ui version="4.0"> | ||
3 | <class>WireGuardProp</class> | 3 | <class>WireGuardInterfaceProp</class> | ||
4 | <widget class="QWidget" name="WireGuardProp"> | 4 | <widget class="QWidget" name="WireGuardProp"> | ||
5 | <property name="geometry"> | 5 | <property name="geometry"> | ||
6 | <rect> | 6 | <rect> | ||
7 | <x>0</x> | 7 | <x>0</x> | ||
8 | <y>0</y> | 8 | <y>0</y> | ||
9 | <width>495</width> | 9 | <width>495</width> | ||
10 | <height>454</height> | 10 | <height>454</height> | ||
11 | </rect> | 11 | </rect> | ||
12 | </property> | 12 | </property> | ||
13 | <property name="windowTitle"> | 13 | <property name="windowTitle"> | ||
14 | <string>WireGuard Settings</string> | 14 | <string>WireGuard Settings</string> | ||
15 | </property> | 15 | </property> | ||
16 | <layout class="QVBoxLayout" name="verticalLayout_2"> | 16 | <layout class="QVBoxLayout" name="verticalLayout_2"> | ||
17 | <item> | 17 | <item> | ||
18 | <widget class="QGroupBox" name="groupBox"> | 18 | <widget class="QGroupBox" name="groupBox"> | ||
19 | <property name="title"> | 19 | <property name="title"> | ||
20 | <string>Interface</string> | 20 | <string>Interface</string> | ||
21 | </property> | 21 | </property> | ||
22 | <layout class="QFormLayout" name="form1Layout"> | 22 | <layout class="QFormLayout" name="form1Layout"> | ||
23 | <item row="0" column="0"> | 23 | <item row="0" column="0"> | ||
24 | <widget class="QLabel" name="addressIPv4Label"> | | |||
25 | <property name="text"> | | |||
26 | <string>Address (IPv4):</string> | | |||
27 | </property> | | |||
28 | </widget> | | |||
29 | </item> | | |||
30 | <item row="0" column="1"> | | |||
31 | <widget class="QLineEdit" name="addressIPv4LineEdit"> | | |||
32 | <property name="toolTip"> | | |||
33 | <string>IPv4 Internet address with | | |||
34 | CIDR (example: 10.22.13.123/32) | | |||
35 | assigned to the local interface. | | |||
36 | IPv4 or IPv6 address (or both) required</string> | | |||
37 | </property> | | |||
38 | </widget> | | |||
39 | </item> | | |||
40 | <item row="1" column="0"> | | |||
41 | <widget class="QLabel" name="addressIPv6Label"> | | |||
42 | <property name="text"> | | |||
43 | <string>Address (IPv6):</string> | | |||
44 | </property> | | |||
45 | </widget> | | |||
46 | </item> | | |||
47 | <item row="1" column="1"> | | |||
48 | <widget class="QLineEdit" name="addressIPv6LineEdit"> | | |||
49 | <property name="toolTip"> | | |||
50 | <string>IPv6 Internet address with | | |||
51 | CIDR assigned to the local interface. | | |||
52 | (example: fc00:aaaa:aaaa:aa03::1bc9/128) | | |||
53 | IPv4 or IPv6 address (or both) required</string> | | |||
54 | </property> | | |||
55 | </widget> | | |||
56 | </item> | | |||
57 | <item row="2" column="0"> | | |||
58 | <widget class="QLabel" name="privateKeyLabel"> | 24 | <widget class="QLabel" name="privateKeyLabel"> | ||
59 | <property name="text"> | 25 | <property name="text"> | ||
60 | <string>Private key:</string> | 26 | <string>Private key:</string> | ||
61 | </property> | 27 | </property> | ||
62 | </widget> | 28 | </widget> | ||
63 | </item> | 29 | </item> | ||
64 | <item row="2" column="1"> | 30 | <item row="0" column="1"> | ||
65 | <widget class="PasswordField" name="privateKeyLineEdit"> | 31 | <widget class="PasswordField" name="privateKeyLineEdit"> | ||
66 | <property name="toolTip"> | 32 | <property name="toolTip"> | ||
67 | <string>Required. | 33 | <string>Required. | ||
68 | A base64 private key generated by wg genkey.</string> | 34 | A base64 private key generated by wg genkey.</string> | ||
69 | </property> | 35 | </property> | ||
70 | </widget> | 36 | </widget> | ||
71 | </item> | 37 | </item> | ||
72 | </layout> | 38 | <item row="1" column="0"> | ||
73 | </widget> | 39 | <widget class="QLabel" name="listenPortLabel"> | ||
74 | </item> | | |||
75 | <item> | | |||
76 | <widget class="QGroupBox" name="groupBox_2"> | | |||
77 | <property name="title"> | | |||
78 | <string>Peer</string> | | |||
79 | </property> | | |||
80 | <layout class="QFormLayout" name="form2Layout"> | | |||
81 | <item row="0" column="0"> | | |||
82 | <widget class="QLabel" name="publicKeyLabel"> | | |||
83 | <property name="text"> | 40 | <property name="text"> | ||
84 | <string>Public key:</string> | 41 | <string>Listen port:</string> | ||
85 | </property> | 42 | </property> | ||
86 | </widget> | 43 | </widget> | ||
87 | </item> | 44 | </item> | ||
88 | <item row="0" column="1"> | 45 | <item row="1" column="1"> | ||
89 | <widget class="QLineEdit" name="publicKeyLineEdit"> | 46 | <widget class="QLineEdit" name="listenPortLineEdit"> | ||
90 | <property name="toolTip"> | 47 | <property name="toolTip"> | ||
91 | <string>Required. | 48 | <string>Optional. | ||
92 | A base64 public key calculated by wg pubkey | 49 | Listen port number. Chosen randomly if left as 'Automatic'.</string> | ||
93 | from a private key, and usually transmitted | | |||
94 | out of band to the author of the configuration file.</string> | | |||
95 | </property> | 50 | </property> | ||
96 | </widget> | 51 | </widget> | ||
97 | </item> | 52 | </item> | ||
98 | <item row="1" column="0"> | 53 | | ||
99 | <widget class="QLabel" name="allowedIPsLabel"> | 54 | <item row="2" column="0"> | ||
55 | <widget class="QLabel" name="fwmarkLabel"> | ||||
100 | <property name="text"> | 56 | <property name="text"> | ||
101 | <string>Allowed IPs:</string> | 57 | <string>fwmark:</string> | ||
102 | </property> | 58 | </property> | ||
103 | </widget> | 59 | </widget> | ||
104 | </item> | 60 | </item> | ||
105 | <item row="1" column="1"> | 61 | <item row="2" column="1"> | ||
106 | <widget class="QLineEdit" name="allowedIPsLineEdit"> | 62 | <widget class="QLineEdit" name="fwmarkLineEdit"> | ||
107 | <property name="toolTip"> | 63 | <property name="toolTip"> | ||
108 | <string>Required. | 64 | <string>Optional. | ||
109 | A comma-separated list of IP (v4 or v6) addresses | 65 | An fwmark for outgoing packets. If set to 0 or 'off', this | ||
110 | with CIDR masks from which incoming traffic for | 66 | option is disabled. May be specified in hexadecimal by | ||
111 | this peer is allowed and to which outgoing traffic | 67 | prepending '0x'.</string> | ||
112 | for this peer is directed. The catch-all 0.0.0.0/0 | | |||
113 | may be specified for matching all IPv4 addresses, | | |||
114 | and ::/0 may be specified for matching all IPv6 addresses.</string> | | |||
115 | </property> | 68 | </property> | ||
116 | </widget> | 69 | </widget> | ||
117 | </item> | 70 | </item> | ||
118 | <item row="2" column="0"> | 71 | <item row="3" column="0"> | ||
119 | <widget class="QLabel" name="endpointAddressLabel"> | 72 | <widget class="QLabel" name="mtuLabel"> | ||
120 | <property name="text"> | 73 | <property name="text"> | ||
121 | <string>Endpoint Address:</string> | 74 | <string>MTU:</string> | ||
122 | </property> | 75 | </property> | ||
123 | </widget> | 76 | </widget> | ||
124 | </item> | 77 | </item> | ||
125 | <item row="2" column="1"> | 78 | <item row="3" column="1"> | ||
126 | <widget class="QLineEdit" name="endpointAddressLineEdit"> | 79 | <widget class="QLineEdit" name="mtuLineEdit"> | ||
127 | <property name="toolTip"> | 80 | <property name="toolTip"> | ||
128 | <string>Optional. | 81 | <string>Optional. | ||
129 | An endpoint IP address or name.</string> | 82 | If not specified, the MTU is automatically determined | ||
83 | from the endpoint addresses or the system default route, | ||||
84 | which is usually a sane choice. However, to manually | ||||
85 | specify an MTU and to override this automatic discovery, | ||||
86 | this value may be specified explicitly.</string> | ||||
130 | </property> | 87 | </property> | ||
131 | </widget> | 88 | </widget> | ||
132 | </item> | 89 | </item> | ||
133 | <item row="3" column="0"> | 90 | <item row="4" column="0"> | ||
134 | <widget class="QLabel" name="endpointPortLabel"> | 91 | <widget class="QLabel" name="peerRouteLabel"> | ||
135 | <property name="text"> | 92 | <property name="text"> | ||
136 | <string>Endpoint Port:</string> | 93 | <string>Autoroute peers:</string> | ||
137 | </property> | 94 | </property> | ||
138 | </widget> | 95 | </widget> | ||
139 | </item> | 96 | </item> | ||
140 | <item row="3" column="1"> | 97 | <item row="4" column="1"> | ||
141 | <widget class="QLineEdit" name="endpointPortLineEdit"> | 98 | <widget class="QCheckBox" name="peerRouteCheckBox"> | ||
142 | <property name="toolTip"> | 99 | <property name="toolTip"> | ||
143 | <string>Optional. | 100 | <string>Whether to automatically add routes for the AllowedIPs ranges | ||
144 | An endpoint port number.</string> | 101 | of the peers.</string> | ||
145 | </property> | 102 | </property> | ||
146 | </widget> | 103 | </widget> | ||
147 | </item> | 104 | </item> | ||
148 | | ||||
149 | | ||||
150 | </layout> | 105 | </layout> | ||
151 | </widget> | 106 | </widget> | ||
152 | </item> | 107 | </item> | ||
153 | | ||||
154 | <item> | 108 | <item> | ||
155 | <layout class="QHBoxLayout" name="horizontalLayout"> | 109 | <layout class="QHBoxLayout" name="horizontalLayout"> | ||
156 | <item> | 110 | <item> | ||
157 | <spacer name="horizontalSpacer"> | 111 | <spacer name="horizontalSpacer"> | ||
158 | <property name="orientation"> | 112 | <property name="orientation"> | ||
159 | <enum>Qt::Horizontal</enum> | 113 | <enum>Qt::Horizontal</enum> | ||
160 | </property> | 114 | </property> | ||
161 | <property name="sizeHint" stdset="0"> | 115 | <property name="sizeHint" stdset="0"> | ||
162 | <size> | 116 | <size> | ||
163 | <width>40</width> | 117 | <width>40</width> | ||
164 | <height>20</height> | 118 | <height>20</height> | ||
165 | </size> | 119 | </size> | ||
166 | </property> | 120 | </property> | ||
167 | </spacer> | 121 | </spacer> | ||
168 | </item> | 122 | </item> | ||
169 | <item> | 123 | <item> | ||
170 | <widget class="QPushButton" name="btnAdvanced"> | 124 | <widget class="QPushButton" name="btnPeers"> | ||
171 | <property name="text"> | 125 | <property name="text"> | ||
172 | <string>Advanced...</string> | 126 | <string>Peers...</string> | ||
173 | </property> | 127 | </property> | ||
174 | </widget> | 128 | </widget> | ||
175 | </item> | 129 | </item> | ||
176 | </layout> | 130 | </layout> | ||
177 | </item> | 131 | </item> | ||
132 | | ||||
133 | | ||||
178 | <item> | 134 | <item> | ||
179 | <spacer name="verticalSpacer"> | 135 | <spacer name="verticalSpacer"> | ||
180 | <property name="orientation"> | 136 | <property name="orientation"> | ||
181 | <enum>Qt::Vertical</enum> | 137 | <enum>Qt::Vertical</enum> | ||
182 | </property> | 138 | </property> | ||
183 | <property name="sizeHint" stdset="0"> | 139 | <property name="sizeHint" stdset="0"> | ||
184 | <size> | 140 | <size> | ||
185 | <width>20</width> | 141 | <width>20</width> | ||
Show All 17 Lines |