Config export

This commit is contained in:
pokamest 2021-05-10 02:33:31 +03:00
parent de67f244da
commit e3fb239de9
28 changed files with 1247 additions and 349 deletions

View file

@ -287,7 +287,7 @@ QPushButton:hover {
<string notr="true"/>
</property>
<property name="currentIndex">
<number>14</number>
<number>11</number>
</property>
<widget class="QWidget" name="page_start">
<widget class="QLabel" name="label_25">
@ -1206,6 +1206,16 @@ border: none;
</item>
<item row="1" column="1">
<widget class="QComboBox" name="comboBox_new_server_ss_cipher">
<item>
<property name="text">
<string>chacha20-ietf-poly1305</string>
</property>
</item>
<item>
<property name="text">
<string>xchacha20-ietf-poly1305</string>
</property>
</item>
<item>
<property name="text">
<string>aes-256-gcm</string>
@ -1221,16 +1231,6 @@ border: none;
<string>aes-128-gcm</string>
</property>
</item>
<item>
<property name="text">
<string>chacha20-ietf-poly1305</string>
</property>
</item>
<item>
<property name="text">
<string>xchacha20-ietf-poly1305</string>
</property>
</item>
</widget>
</item>
</layout>
@ -2984,7 +2984,7 @@ padding:0px;
<bool>true</bool>
</property>
</widget>
<widget class="QPushButton" name="pushButton_server_settings_reinstall">
<widget class="QPushButton" name="pushButton_server_settings_clear_client_cache">
<property name="geometry">
<rect>
<x>40</x>
@ -3015,7 +3015,7 @@ background: #211966;
}</string>
</property>
<property name="text">
<string>Reinstall Amnezia server</string>
<string>Clear client cached profile</string>
</property>
</widget>
<widget class="QPushButton" name="pushButton_back_from_server_settings">
@ -3078,50 +3078,6 @@ color: #100A44;
<bool>true</bool>
</property>
</widget>
<widget class="QProgressBar" name="progressBar_server_settings_reinstall">
<property name="geometry">
<rect>
<x>40</x>
<y>350</y>
<width>300</width>
<height>40</height>
</rect>
</property>
<property name="styleSheet">
<string notr="true">QProgressBar{
color:rgb(212, 212, 212);
border-radius: 4px;
font-family: Lato;
font-style: normal;
font-weight: normal;
font-size: 16px;
line-height: 21px;
background: #100A44;
border-radius: 4px;
}
QProgressBar::chunk {
background: rgba(255, 255, 255, 0.15);
border-radius: 4px 0px 0px 4px;
}
</string>
</property>
<property name="value">
<number>24</number>
</property>
<property name="alignment">
<set>Qt::AlignCenter</set>
</property>
<property name="textVisible">
<bool>true</bool>
</property>
<property name="format">
<string>Configuring...</string>
</property>
</widget>
<widget class="QLabel" name="label_17">
<property name="geometry">
<rect>
@ -3322,9 +3278,8 @@ font-size: 20px;
</widget>
<zorder>label_server_settings_wait_info</zorder>
<zorder>label_16</zorder>
<zorder>progressBar_server_settings_reinstall</zorder>
<zorder>label_17</zorder>
<zorder>pushButton_server_settings_reinstall</zorder>
<zorder>pushButton_server_settings_clear_client_cache</zorder>
<zorder>pushButton_server_settings_clear</zorder>
<zorder>pushButton_server_settings_forget</zorder>
<zorder>label_server_settings_server</zorder>
@ -4144,8 +4099,7 @@ background: transparent;
}
QToolBox &gt; QWidget {
font: 25px &quot;Lato&quot;;
font: 25px &quot;Lato&quot;;
background: transparent;
border-radius: 5px;
@ -4163,7 +4117,7 @@ border-radius: 2px;
font-family: Lato;
font-style: normal;
font-weight: bold;
font-size: 23px;
font-size: 18px;
color: #100A44;
image: url(:/images/share.png);
image-position: left;
@ -4188,15 +4142,15 @@ QToolBox::tab:hover {
<number>1</number>
</property>
<property name="tabSpacing">
<number>2</number>
<number>6</number>
</property>
<widget class="QWidget" name="page_share_main">
<widget class="QWidget" name="page_share_full_access">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>360</width>
<height>500</height>
<height>360</height>
</rect>
</property>
<property name="styleSheet">
@ -4205,12 +4159,12 @@ QToolBox::tab:hover {
<attribute name="label">
<string> Full access</string>
</attribute>
<widget class="QTextEdit" name="textEdit_sharing_code">
<widget class="QTextEdit" name="textEdit_share_full_code">
<property name="geometry">
<rect>
<x>10</x>
<y>10</y>
<width>330</width>
<width>341</width>
<height>100</height>
</rect>
</property>
@ -4255,7 +4209,7 @@ p, li { white-space: pre-wrap; }
<rect>
<x>10</x>
<y>180</y>
<width>321</width>
<width>341</width>
<height>111</height>
</rect>
</property>
@ -4275,18 +4229,18 @@ This code includes your server credentials!
Provide this code only to TRUSTED users.</string>
</property>
<property name="alignment">
<set>Qt::AlignJustify|Qt::AlignVCenter</set>
<set>Qt::AlignJustify|Qt::AlignTop</set>
</property>
<property name="wordWrap">
<bool>true</bool>
</property>
</widget>
<widget class="QPushButton" name="pushButton_copy_sharing_code">
<widget class="QPushButton" name="pushButton_share_full_copy">
<property name="geometry">
<rect>
<x>10</x>
<y>130</y>
<width>331</width>
<width>341</width>
<height>40</height>
</rect>
</property>
@ -4318,20 +4272,346 @@ background: #282932;
</property>
</widget>
</widget>
<widget class="QWidget" name="page_share_amnezia">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>360</width>
<height>360</height>
</rect>
</property>
<attribute name="label">
<string> Share for Amnezia client</string>
</attribute>
<widget class="QTextEdit" name="textEdit_share_amnezia_code">
<property name="geometry">
<rect>
<x>10</x>
<y>10</y>
<width>341</width>
<height>100</height>
</rect>
</property>
<property name="styleSheet">
<string notr="true">QTextEdit {
background: #F5F5F5;
border-radius: 10px;
font-family: Consolas;
font-style: normal;
font-weight: bold;
font-size: 20px;
text-align: center;
color: #15CDCB;
}
</string>
</property>
<property name="lineWrapMode">
<enum>QTextEdit::FixedColumnWidth</enum>
</property>
<property name="lineWrapColumnOrWidth">
<number>30</number>
</property>
<property name="readOnly">
<bool>true</bool>
</property>
<property name="html">
<string>&lt;!DOCTYPE HTML PUBLIC &quot;-//W3C//DTD HTML 4.0//EN&quot; &quot;http://www.w3.org/TR/REC-html40/strict.dtd&quot;&gt;
&lt;html&gt;&lt;head&gt;&lt;meta name=&quot;qrichtext&quot; content=&quot;1&quot; /&gt;&lt;style type=&quot;text/css&quot;&gt;
p, li { white-space: pre-wrap; }
&lt;/style&gt;&lt;/head&gt;&lt;body style=&quot; font-family:'Consolas'; font-size:20px; font-weight:600; font-style:normal;&quot;&gt;
&lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;span style=&quot; font-size:20pt;&quot;&gt;vpn:\\xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx&lt;/span&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
</property>
</widget>
<widget class="QLabel" name="label_41">
<property name="geometry">
<rect>
<x>10</x>
<y>230</y>
<width>341</width>
<height>81</height>
</rect>
</property>
<property name="styleSheet">
<string notr="true">font-family: Lato;
font-style: normal;
font-weight: normal;
font-size: 16px;
line-height: 150%;
color: #181922;
</string>
</property>
<property name="text">
<string>Anyone who logs in with this code will be able to connect to this VPN server.
This code does not include server credentials.</string>
</property>
<property name="alignment">
<set>Qt::AlignJustify|Qt::AlignTop</set>
</property>
<property name="wordWrap">
<bool>true</bool>
</property>
</widget>
<widget class="QPushButton" name="pushButton_share_amnezia_copy">
<property name="geometry">
<rect>
<x>10</x>
<y>180</y>
<width>341</width>
<height>40</height>
</rect>
</property>
<property name="cursor">
<cursorShape>PointingHandCursor</cursorShape>
</property>
<property name="styleSheet">
<string notr="true">QPushButton {
font-size: 13pt;
font: &quot;Open Sans Semibold&quot;;
color:rgb(212, 212, 212);
background: #181922;
border-radius: 4px;
font-family: Lato;
font-style: normal;
font-weight: normal;
font-size: 16px;
line-height: 21px;
}
QPushButton:hover {
background: #282932;
}</string>
</property>
<property name="text">
<string>Copy</string>
</property>
</widget>
<widget class="QPushButton" name="pushButton_share_amnezia_generate">
<property name="geometry">
<rect>
<x>10</x>
<y>130</y>
<width>341</width>
<height>40</height>
</rect>
</property>
<property name="cursor">
<cursorShape>PointingHandCursor</cursorShape>
</property>
<property name="styleSheet">
<string notr="true">QPushButton {
font-size: 13pt;
font: &quot;Open Sans Semibold&quot;;
color:rgb(212, 212, 212);
background: #181922;
border-radius: 4px;
font-family: Lato;
font-style: normal;
font-weight: normal;
font-size: 16px;
line-height: 21px;
}
QPushButton:hover {
background: #282932;
}</string>
</property>
<property name="text">
<string>Generate config</string>
</property>
</widget>
</widget>
<widget class="QWidget" name="page_share_openvpn">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>360</width>
<height>360</height>
</rect>
</property>
<attribute name="label">
<string> Share for OpenVPN client</string>
</attribute>
<widget class="QTextEdit" name="textEdit_share_openvpn_code">
<property name="geometry">
<rect>
<x>10</x>
<y>10</y>
<width>341</width>
<height>100</height>
</rect>
</property>
<property name="styleSheet">
<string notr="true">QTextEdit {
background: #F5F5F5;
border-radius: 10px;
font-family: Consolas;
font-style: normal;
font-weight: bold;
font-size: 20px;
text-align: center;
color: #15CDCB;
}
</string>
</property>
<property name="lineWrapMode">
<enum>QTextEdit::FixedColumnWidth</enum>
</property>
<property name="lineWrapColumnOrWidth">
<number>30</number>
</property>
<property name="readOnly">
<bool>true</bool>
</property>
<property name="html">
<string>&lt;!DOCTYPE HTML PUBLIC &quot;-//W3C//DTD HTML 4.0//EN&quot; &quot;http://www.w3.org/TR/REC-html40/strict.dtd&quot;&gt;
&lt;html&gt;&lt;head&gt;&lt;meta name=&quot;qrichtext&quot; content=&quot;1&quot; /&gt;&lt;style type=&quot;text/css&quot;&gt;
p, li { white-space: pre-wrap; }
&lt;/style&gt;&lt;/head&gt;&lt;body style=&quot; font-family:'Consolas'; font-size:20px; font-weight:600; font-style:normal;&quot;&gt;
&lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;span style=&quot; font-size:20pt;&quot;&gt;vpn:\\xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx&lt;/span&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
</property>
</widget>
<widget class="QPushButton" name="pushButton_share_openvpn_copy">
<property name="geometry">
<rect>
<x>10</x>
<y>180</y>
<width>341</width>
<height>40</height>
</rect>
</property>
<property name="cursor">
<cursorShape>PointingHandCursor</cursorShape>
</property>
<property name="styleSheet">
<string notr="true">QPushButton {
font-size: 13pt;
font: &quot;Open Sans Semibold&quot;;
color:rgb(212, 212, 212);
background: #181922;
border-radius: 4px;
font-family: Lato;
font-style: normal;
font-weight: normal;
font-size: 16px;
line-height: 21px;
}
QPushButton:hover {
background: #282932;
}</string>
</property>
<property name="text">
<string>Copy</string>
</property>
</widget>
<widget class="QPushButton" name="pushButton_share_openvpn_save">
<property name="geometry">
<rect>
<x>10</x>
<y>230</y>
<width>341</width>
<height>40</height>
</rect>
</property>
<property name="cursor">
<cursorShape>PointingHandCursor</cursorShape>
</property>
<property name="styleSheet">
<string notr="true">QPushButton {
font-size: 13pt;
font: &quot;Open Sans Semibold&quot;;
color:rgb(212, 212, 212);
background: #181922;
border-radius: 4px;
font-family: Lato;
font-style: normal;
font-weight: normal;
font-size: 16px;
line-height: 21px;
}
QPushButton:hover {
background: #282932;
}</string>
</property>
<property name="text">
<string>Save file</string>
</property>
</widget>
<widget class="QPushButton" name="pushButton_share_openvpn_generate">
<property name="geometry">
<rect>
<x>10</x>
<y>130</y>
<width>341</width>
<height>40</height>
</rect>
</property>
<property name="cursor">
<cursorShape>PointingHandCursor</cursorShape>
</property>
<property name="styleSheet">
<string notr="true">QPushButton {
font-size: 13pt;
font: &quot;Open Sans Semibold&quot;;
color:rgb(212, 212, 212);
background: #181922;
border-radius: 4px;
font-family: Lato;
font-style: normal;
font-weight: normal;
font-size: 16px;
line-height: 21px;
}
QPushButton:hover {
background: #282932;
}</string>
</property>
<property name="text">
<string>Generate config</string>
</property>
</widget>
</widget>
<widget class="QWidget" name="page_share_shadowsocks">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>360</width>
<height>500</height>
<height>360</height>
</rect>
</property>
<property name="styleSheet">
<string notr="true"/>
</property>
<attribute name="label">
<string> ShadowSocks</string>
<string> Share for ShadowSocks client</string>
</attribute>
<widget class="QLabel" name="label_13">
<property name="geometry">
@ -4462,7 +4742,7 @@ background: #282932;
<string>Connection string</string>
</property>
</widget>
<widget class="QPushButton" name="pushButton_share_ss_code">
<widget class="QPushButton" name="pushButton_share_ss_copy">
<property name="geometry">
<rect>
<x>10</x>
@ -4542,6 +4822,19 @@ color: #15CDCB;
</property>
</widget>
</widget>
<widget class="QWidget" name="page_share_cloak">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>360</width>
<height>360</height>
</rect>
</property>
<attribute name="label">
<string> Share for Cloak client</string>
</attribute>
</widget>
</widget>
</widget>
<widget class="QWidget" name="page_proto_openvpn">
@ -4644,7 +4937,7 @@ QPushButton:hover {
<property name="geometry">
<rect>
<x>30</x>
<y>330</y>
<y>380</y>
<width>151</width>
<height>31</height>
</rect>
@ -4694,6 +4987,11 @@ QPushButton:hover {
<string>CAMELLIA-256-CBC</string>
</property>
</item>
<item>
<property name="text">
<string>none</string>
</property>
</item>
</widget>
<widget class="QLabel" name="label_99">
<property name="enabled">
@ -4702,7 +5000,7 @@ QPushButton:hover {
<property name="geometry">
<rect>
<x>30</x>
<y>300</y>
<y>350</y>
<width>151</width>
<height>21</height>
</rect>
@ -4718,7 +5016,7 @@ QPushButton:hover {
<property name="geometry">
<rect>
<x>200</x>
<y>330</y>
<y>380</y>
<width>151</width>
<height>31</height>
</rect>
@ -4776,7 +5074,7 @@ QPushButton:hover {
<property name="geometry">
<rect>
<x>200</x>
<y>300</y>
<y>350</y>
<width>151</width>
<height>21</height>
</rect>
@ -4792,7 +5090,7 @@ QPushButton:hover {
<property name="geometry">
<rect>
<x>30</x>
<y>390</y>
<y>440</y>
<width>321</width>
<height>21</height>
</rect>
@ -4807,9 +5105,9 @@ QPushButton:hover {
<widget class="QPushButton" name="pushButton_proto_openvpn_save">
<property name="geometry">
<rect>
<x>40</x>
<x>30</x>
<y>530</y>
<width>300</width>
<width>311</width>
<height>40</height>
</rect>
</property>
@ -4911,7 +5209,7 @@ background: #211966;
<property name="geometry">
<rect>
<x>30</x>
<y>270</y>
<y>320</y>
<width>321</width>
<height>21</height>
</rect>
@ -4926,9 +5224,9 @@ background: #211966;
<widget class="QProgressBar" name="progressBar_proto_openvpn_reset">
<property name="geometry">
<rect>
<x>40</x>
<x>30</x>
<y>530</y>
<width>301</width>
<width>311</width>
<height>40</height>
</rect>
</property>
@ -4989,6 +5287,41 @@ border-radius: 4px 0px 0px 4px;
<bool>true</bool>
</property>
</widget>
<widget class="QLineEdit" name="lineEdit_proto_openvpn_port">
<property name="geometry">
<rect>
<x>200</x>
<y>260</y>
<width>151</width>
<height>31</height>
</rect>
</property>
<property name="styleSheet">
<string notr="true"/>
</property>
<property name="text">
<string/>
</property>
</widget>
<widget class="QLabel" name="label_103">
<property name="enabled">
<bool>true</bool>
</property>
<property name="geometry">
<rect>
<x>30</x>
<y>260</y>
<width>151</width>
<height>31</height>
</rect>
</property>
<property name="text">
<string>Port</string>
</property>
<property name="wordWrap">
<bool>true</bool>
</property>
</widget>
<zorder>progressBar_proto_openvpn_reset</zorder>
<zorder>label_38</zorder>
<zorder>pushButton_back_from_openvpn_settings</zorder>
@ -5004,6 +5337,8 @@ border-radius: 4px 0px 0px 4px;
<zorder>frame_3</zorder>
<zorder>checkBox_proto_openvpn_auto_encryption</zorder>
<zorder>label_proto_openvpn_info</zorder>
<zorder>lineEdit_proto_openvpn_port</zorder>
<zorder>label_103</zorder>
</widget>
<widget class="QWidget" name="page_proto_shadowsocks">
<widget class="QLabel" name="label_43">
@ -5090,33 +5425,13 @@ QPushButton:hover {
<string>aes-128-gcm</string>
</property>
</item>
<item>
<property name="text">
<string>aes-256-cfb</string>
</property>
</item>
<item>
<property name="text">
<string>aes-128-cfb</string>
</property>
</item>
<item>
<property name="text">
<string>chacha20</string>
</property>
</item>
<item>
<property name="text">
<string>chacha20-ietf</string>
</property>
</item>
</widget>
<widget class="QProgressBar" name="progressBar_proto_shadowsocks_reset">
<property name="geometry">
<rect>
<x>40</x>
<x>30</x>
<y>530</y>
<width>301</width>
<width>311</width>
<height>40</height>
</rect>
</property>
@ -5158,9 +5473,9 @@ border-radius: 4px 0px 0px 4px;
<widget class="QPushButton" name="pushButton_proto_shadowsocks_save">
<property name="geometry">
<rect>
<x>40</x>
<x>30</x>
<y>530</y>
<width>300</width>
<width>311</width>
<height>40</height>
</rect>
</property>
@ -5230,6 +5545,41 @@ background: #211966;
<bool>true</bool>
</property>
</widget>
<widget class="QLineEdit" name="lineEdit_proto_shadowsocks_port">
<property name="geometry">
<rect>
<x>190</x>
<y>130</y>
<width>151</width>
<height>31</height>
</rect>
</property>
<property name="styleSheet">
<string notr="true"/>
</property>
<property name="text">
<string/>
</property>
</widget>
<widget class="QLabel" name="label_104">
<property name="enabled">
<bool>true</bool>
</property>
<property name="geometry">
<rect>
<x>30</x>
<y>130</y>
<width>151</width>
<height>31</height>
</rect>
</property>
<property name="text">
<string>Port</string>
</property>
<property name="wordWrap">
<bool>true</bool>
</property>
</widget>
</widget>
<widget class="QWidget" name="page_proto_cloak">
<widget class="QLabel" name="label_44">
@ -5251,7 +5601,7 @@ color: #100A44;
</string>
</property>
<property name="text">
<string>OpenVPN Settings</string>
<string>Cloak Settings</string>
</property>
<property name="alignment">
<set>Qt::AlignCenter</set>
@ -5311,6 +5661,11 @@ QPushButton:hover {
<string>aes-256-gcm</string>
</property>
</item>
<item>
<property name="text">
<string>aes-192-gcm</string>
</property>
</item>
<item>
<property name="text">
<string>aes-128-gcm</string>
@ -5344,9 +5699,9 @@ QPushButton:hover {
<widget class="QProgressBar" name="progressBar_proto_cloak_reset">
<property name="geometry">
<rect>
<x>40</x>
<x>30</x>
<y>530</y>
<width>301</width>
<width>311</width>
<height>40</height>
</rect>
</property>
@ -5410,9 +5765,9 @@ border-radius: 4px 0px 0px 4px;
<widget class="QPushButton" name="pushButton_proto_cloak_save">
<property name="geometry">
<rect>
<x>40</x>
<x>30</x>
<y>530</y>
<width>300</width>
<width>311</width>
<height>40</height>
</rect>
</property>
@ -5441,6 +5796,82 @@ background: #211966;
<string>Save and restart VPN</string>
</property>
</widget>
<widget class="QLabel" name="label_47">
<property name="geometry">
<rect>
<x>30</x>
<y>130</y>
<width>130</width>
<height>31</height>
</rect>
</property>
<property name="minimumSize">
<size>
<width>130</width>
<height>0</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>130</width>
<height>16777215</height>
</size>
</property>
<property name="text">
<string>Fake Web Site</string>
</property>
</widget>
<widget class="QLineEdit" name="lineEdit_proto_cloak_port">
<property name="geometry">
<rect>
<x>190</x>
<y>180</y>
<width>151</width>
<height>31</height>
</rect>
</property>
<property name="styleSheet">
<string notr="true"/>
</property>
<property name="text">
<string/>
</property>
</widget>
<widget class="QLabel" name="label_105">
<property name="enabled">
<bool>true</bool>
</property>
<property name="geometry">
<rect>
<x>30</x>
<y>180</y>
<width>151</width>
<height>31</height>
</rect>
</property>
<property name="text">
<string>Port</string>
</property>
<property name="wordWrap">
<bool>true</bool>
</property>
</widget>
<widget class="QLineEdit" name="lineEdit_proto_cloak_site">
<property name="geometry">
<rect>
<x>190</x>
<y>130</y>
<width>151</width>
<height>31</height>
</rect>
</property>
<property name="styleSheet">
<string notr="true"/>
</property>
<property name="text">
<string>mail.ru</string>
</property>
</widget>
</widget>
</widget>
</widget>