MainWindow 0 0 380 670 QWidget { font-family: "Lato"; } /*----------------------*/ QPushButton { font-size: 16px; outline: none; font-style: normal; font-weight: normal; border: none; } QPushButton:disabled { border: none; } QLabel { outline: none; font-size: 16px; font-style: normal; font-weight: normal; color: #181922; } QLabel:disabled { color: #A7A7A7; } QMessageBox QLabel { font: 16px "Lato"; } /*----------------------*/ QTextEdit { background: #F4F4F4; /* grey */ border: 1px solid #A7A7A7; color: #333333; } QLineEdit { font-size: 16px; selection-background-color: darkgray; background: #F4F4F4; border: 1px solid #A7A7A7; color: #333333; } QLineEdit:focus { border-bottom:2px solid rgb(200, 200, 200); } QLineEdit[error] { border-bottom:2px solid rgb(213, 40, 60); color: rgb(213, 40, 60); } QLineEdit:disabled { border-bottom:2px solid rgb(127, 127, 127); color: rgb(127, 127, 127); } QRadioButton { color: #181922; font-size: 16px; background: transparent; } QCheckBox { color: #181922; font-size: 16px; background: transparent; } QCheckBox::indicator { min-height: 20px; min-width: 20px; border-image: url(:/images/controls/check_off.png) 0 0 0 0 stretch stretch; } QCheckBox::indicator:unchecked { border-image: url(:/images/controls/check_off.png) 0 0 0 0 stretch stretch; } QCheckBox::indicator:checked { border-image: url(:/images/controls/check_on.png); } QScrollBar:vertical { /* The area behind the scrollbar covering entire height. */ background-color: grey; opacity: 100; width: 7px; /* set width to zero to hide scrollbar entirely. Can look quite clean and scrolling still works with mousewheel. */ margin: 0px 0px; /* Takes the height of the buttons + 3 extra pixels to leave some free space between handle and buttons */ } QScrollBar::handle:vertical { /* The handle you scroll with */ image-position: center; /* image is used as a small gripper in the center of the scrollbar.. You can also use background-image to use two images */ background-color: rgb(200, 200, 200); border-radius: 1px; min-height: 10px; } QScrollBar::handle:vertical:hover { /* state when you hover over the handle */ background-color: rgb(160, 160, 160); } QScrollBar::handle:vertical:pressed { /* state when you hover over the handle */ background-color: rgb(120, 120, 120); } QScrollBar::sub-line:vertical { /* button to scroll up */ background-color: rgb(240,240,240); height: 0px; subcontrol-position: top; subcontrol-origin: margin; } QScrollBar::sub-line:vertical:hover { /* hover state of button to scroll up */ background-color: rgb(200, 200, 200); } QScrollBar::up-arrow:vertical { /* arrow to scroll up with */ top: 2px; } QScrollBar::add-line:vertical { /* Button to scroll down */ background-color: rgb(240,240,240); height: 0px; subcontrol-position: bottom; subcontrol-origin: margin; } QScrollBar::add-line:vertical:hover { /* hover state of button to scroll down */ background-color: rgb(200, 200, 200); } QScrollBar::down-arrow:vertical { /* arrow to scroll down with */ bottom: 3px; } QScrollBar::add-page:vertical, QScrollBar::sub-page:vertical { background-color: black; } 0 0 380 670 QWidget #widget_main { background: white; } 0 0 380 30 true background: #F5F5F5; 330 10 16 16 PointingHandCursor image: url(:/images/listitembg.png); image-position: right; 360 8 13 13 PointingHandCursor QPushButton { image-position: right; image: url(:/images/close.png); padding:1px; } QPushButton:hover { padding:0px; } 0 30 380 640 5 10 40 361 71 font-family: Lato; font-style: normal; font-weight: bold; font-size: 24px; line-height: 25px; color: #100A44; Connect to the already created VPN server Qt::AlignCenter true 40 130 171 21 font-family: Lato; font-style: normal; font-weight: normal; font-size: 16px; line-height: 150%; /* or 24px */ /* text */ color: #333333; Connection code 110 590 150 22 image: url(:/images/AmneziaVPN.png); 40 160 300 40 vpn://... 40 220 301 40 PointingHandCursor QPushButton { font-size: 13pt; font: "Open Sans Semibold"; 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; } QPushButton:hover { background: #211966; } Connect 40 320 301 40 PointingHandCursor QPushButton { font-family: Lato; font-style: normal; font-weight: normal; font-size: 16px; color: #100A44; font-family: Lato; font-style: normal; font-weight: normal; font-size: 16px; line-height: 21px; border: 1px solid #211C4A; border-radius: 4px; } Set up your own server QLabel { font-family: Lato; font-style: normal; font-weight: normal; font-size: 16px; color: #211C4A; } QLineEdit { padding-left: 10px; border: 1px solid #A7A7A7; } 10 40 361 71 font-family: Lato; font-style: normal; font-weight: bold; font-size: 24px; line-height: 25px; color: #100A44; Connect your server to use VPN Qt::AlignCenter true 40 150 171 21 font-family: Lato; font-style: normal; font-weight: normal; font-size: 16px; line-height: 150%; /* or 24px */ /* text */ color: #333333; Server IP address 40 235 261 21 font-family: Lato; font-style: normal; font-weight: normal; font-size: 16px; line-height: 150%; /* or 24px */ /* text */ color: #333333; Login to connect via SSH 40 320 171 21 font-family: Lato; font-style: normal; font-weight: normal; font-size: 16px; line-height: 150%; /* or 24px */ /* text */ color: #333333; Password 40 180 300 40 40 265 300 40 root 40 350 300 40 background: #F4F4F4; /* grey */ border: 1px solid #A7A7A7; color: #333333; QLineEdit::Password 40 450 301 40 PointingHandCursor QPushButton { 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; } QPushButton:hover { background: #211966; } Connect 50 115 281 21 PointingHandCursor font-family: Lato; font-style: normal; font-weight: normal; font-size: 16px; line-height: 20px; text-align: center; /* акцент */ color: #15CDCB; Where to get connection data → 40 450 301 41 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; } 24 Qt::AlignCenter true Configuring... 10 10 26 20 PointingHandCursor QPushButton { image: url(:/images/arrow_right.png); image-position: left; text-align: left; /*font: 17pt "Ancient";*/ padding: 1px; image: url(:/images/arrow_left.png); } QPushButton:hover { padding: 0px; } 110 590 150 22 image: url(:/images/AmneziaVPN.png); true 40 500 301 41 Please wait, configuring process may take up to 5 minutes true 40 550 281 21 PointingHandCursor font-family: Lato; font-style: normal; font-weight: normal; font-size: 16px; line-height: 20px; text-align: center; /* акцент */ color: #15CDCB; Connect using SSH key true true 40 350 300 81 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd"> <html><head><meta name="qrichtext" content="1" /><style type="text/css"> p, li { white-space: pre-wrap; } </style></head><body style=" font-family:'Lato'; font-size:8.25pt; font-weight:400; font-style:normal;"> <p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-size:16px;"><br /></p></body></html> progressBar_new_server_connection label_2 label_4 label_5 label_new_server_password lineEdit_new_server_ip lineEdit_new_server_login lineEdit_new_server_password pushButton_new_server_connect_with_new_data pushButton_new_server_get_info pushButton_back_from_new_server label_7 label_new_server_wait_info pushButton_new_server_connect_key textEdit_new_server_ssh_key 0 0 380 325 border-image: url(:/images/background_connected.png); true 0 370 380 51 53 10 15 15 image: url(:/images/download.png); 311 10 15 15 image: url(:/images/upload.png); 260 20 118 30 Lato -1 50 false false color: rgb(66, 209, 133); font: 16px "Lato"; 0 Mbps Qt::AlignCenter 0 20 127 30 Lato -1 50 false false color: rgb(65, 113, 214); font: 16px "Lato"; 0 Mbps Qt::AlignCenter true 20 550 341 40 PointingHandCursor QPushButton { font-size: 13pt; font: "Open Sans Semibold"; 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:!enabled { background: #484952; } QPushButton:hover { background: #282932; } + Add site 340 10 31 31 PointingHandCursor image: url(:/images/settings.png); background: transparent 150 200 80 40 PointingHandCursor QPushButton:!checked { image: url(:/images/connect_button_disconnected.png); } QPushButton:checked { image: url(:/images/connect_button_connected.png); } true false 0 250 380 31 font-family: "Lato"; font-style: normal; font-weight: 600; font-size: 15px; color: #181922; Connected Qt::AlignCenter 20 424 341 1 background-image: url(:/images/Line.png); 20 450 281 31 font-family: "Lato"; font-style: normal; font-weight: 600; font-size: 15px; color: #181922; How to use VPN Qt::AlignLeading|Qt::AlignLeft|Qt::AlignVCenter true 20 490 341 19 For all connections true true 20 520 341 19 For selected sites false 0 290 381 61 Error text false Qt::AlignCenter true QListView { outline: 0; background: transparent; border: none; gridline-color: darkgray; } QListView::item { padding-left: 5px; border: none; color: #181922; } QListView::item:disabled { padding-left: 5px; border: none; color: #181922; } QListView::item:selected { border: none; background: rgba(167, 167, 167, 0.1); color: #181922; } 10 10 28 20 PointingHandCursor QPushButton { image: url(:/images/arrow_right.png); image-position: left; text-align: left; /*font: 17pt "Ancient";*/ padding: 1px; image: url(:/images/arrow_left.png); } QPushButton:hover { padding: 0px; } 10 0 360 0 List of the most popular prohibited sites Qt::AlignCenter true true 20 50 340 40 font-family: Lato; font-style: normal; font-weight: bold; font-size: 20px; line-height: 25px; color: #100A44; These sites will be opened using VPN Qt::AlignLeading|Qt::AlignLeft|Qt::AlignVCenter true 20 150 281 31 Lato -1 50 false false QLineEdit { border: none; font-size: 16px; background:transparent; selection-background-color: darkgray; border: 1px solid #A7A7A7; } Qt::AlignCenter For example, yousite.com or 17.21.111.8 true 310 150 51 31 PointingHandCursor QPushButton { background: #100A44; border-radius: 4px; font-size: 24px; color: white } QPushButton:hover { background: #211966; } + 20 115 311 21 font-family: Lato; font-style: normal; font-weight: normal; font-size: 16px; line-height: 150%; /* identical to box height, or 24px */ /* text */ color: #333333; Web site or hostname or IP address 20 200 340 400 QWidget { margin: 0px; padding: 0px; } QPushButton:hover { image: url(:/images/close.png); image-position: right center; } QListView { show-decoration-selected: 1; /* make the selection span the entire width of the view */ } QListView::item:selected:!active { background: transparent; border: none; } QListView::item:selected:active { background: transparent; border: none; } QListView::item:hover { background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 #FAFBFE, stop: 1 #ECEEFF); } QAbstractItemView::NoSelection 10 10 26 20 PointingHandCursor QPushButton { image: url(:/images/arrow_right.png); image-position: left; text-align: left; /*font: 17pt "Ancient";*/ padding: 1px; image: url(:/images/arrow_left.png); } QPushButton:hover { padding: 0px; } 10 40 360 10 image: url(:/images/line.png); 30 180 330 30 PointingHandCursor Reinstall server, clear server font-family: Lato; font-style: normal; font-weight: bold; font-size: 20px; line-height: 25px; Text-align:left; padding-left: 30px; /* black */ color: #100A44; background-image: url(:/images/server_settings.png); background-repeat: no-repeat; background-position: left center; Server management 10 160 360 10 image: url(:/images/line.png); true 30 240 330 30 PointingHandCursor font-family: Lato; font-style: normal; font-weight: bold; font-size: 20px; line-height: 25px; Text-align:left; padding-left: 30px; /* black */ color: #100A44; background-image: url(:/images/share.png); background-repeat: no-repeat; background-position: left center; Share connection 10 220 360 10 image: url(:/images/line.png); 10 620 360 10 image: url(:/images/line.png); true 30 580 330 30 PointingHandCursor font-family: Lato; font-style: normal; font-weight: bold; font-size: 20px; line-height: 25px; Text-align:left; padding-left: 30px; /* black */ color: #100A44; background-repeat: no-repeat; background-position: left center; Exit 10 560 360 10 image: url(:/images/line.png); 30 60 330 30 PointingHandCursor Auto start, Auto connect font-family: Lato; font-style: normal; font-weight: bold; font-size: 20px; line-height: 25px; Text-align:left; padding-left: 30px; /* black */ color: #100A44; background-image: url(:/images/settings.png); background-repeat: no-repeat; background-position: left center; App settings 10 280 360 10 image: url(:/images/line.png); 10 100 360 10 image: url(:/images/line.png); 30 120 330 30 PointingHandCursor Dns, Kill Switch font-family: Lato; font-style: normal; font-weight: bold; font-size: 20px; line-height: 25px; Text-align:left; padding-left: 30px; /* black */ color: #100A44; background-image: url(:/images/settings.png); background-repeat: no-repeat; background-position: left center; Network settings 10 10 26 20 PointingHandCursor QPushButton { image: url(:/images/arrow_right.png); image-position: left; text-align: left; /*font: 17pt "Ancient";*/ padding: 1px; image: url(:/images/arrow_left.png); } QPushButton:hover { padding: 0px; } 110 590 150 22 image: url(:/images/AmneziaVPN.png); 30 100 211 31 Auto start 20 50 340 40 font-family: Lato; font-style: normal; font-weight: bold; font-size: 20px; line-height: 25px; color: #100A44; Application Settings Qt::AlignCenter 30 140 211 31 Auto connect 30 250 321 41 PointingHandCursor QPushButton { 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; } QPushButton:hover { background: #211966; } Check for updates 30 210 281 21 Software version: 1.6.0 (31.03.2021) 20 20 26 20 PointingHandCursor QPushButton { image: url(:/images/arrow_right.png); image-position: left; text-align: left; /*font: 17pt "Ancient";*/ padding: 1px; image: url(:/images/arrow_left.png); } QPushButton:hover { padding: 0px; } 110 590 150 22 image: url(:/images/AmneziaVPN.png); 40 120 271 40 20 50 340 40 font-family: Lato; font-style: normal; font-weight: bold; font-size: 20px; line-height: 25px; color: #100A44; DNS Servers Qt::AlignCenter 40 200 271 40 true 320 130 18 18 PointingHandCursor Reset to default value QPushButton { image: url(:/images/reload.png); padding:1px; } QPushButton:hover { padding:0px; } true 320 210 18 18 PointingHandCursor Reset to default value QPushButton { image: url(:/images/reload.png); padding:1px; } QPushButton:hover { padding:0px; } true 40 95 291 21 Primary DNS server true true 40 175 291 21 Secondray DNS server true true 40 490 301 41 Please wait, configuring process may take up to 5 minutes true 40 150 300 40 PointingHandCursor QPushButton { 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; } QPushButton:hover { background: #211966; } Reinstall Amnezia server 10 10 26 20 PointingHandCursor QPushButton { image: url(:/images/arrow_right.png); image-position: left; text-align: left; /*font: 17pt "Ancient";*/ padding: 1px; image: url(:/images/arrow_left.png); } QPushButton:hover { padding: 0px; } 20 40 340 40 font-family: Lato; font-style: normal; font-weight: bold; font-size: 20px; line-height: 25px; color: #100A44; Your configured server Qt::AlignCenter true 40 150 300 40 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; } 24 Qt::AlignCenter true Configuring... 110 590 150 22 image: url(:/images/AmneziaVPN.png); 40 210 300 40 PointingHandCursor QPushButton { 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; } QPushButton:hover { background: #211966; } Clear server from Amnezia software 40 270 300 40 PointingHandCursor QPushButton { 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; } QPushButton:hover { background: #211966; } Forget this server 20 80 341 41 QLabel { font-family: Lato; font-style: normal; font-weight: normal; font-size: 24px; color: #333333; } root@yourserver.org Qt::AlignCenter Qt::LinksAccessibleByMouse|Qt::TextSelectableByMouse label_server_settings_wait_info pushButton_back_from_server_settings label_16 progressBar_server_settings_reinstall label_17 pushButton_server_settings_reinstall pushButton_server_settings_clear pushButton_server_settings_forget label_server_settings_server 10 10 26 20 PointingHandCursor QPushButton { image: url(:/images/arrow_right.png); image-position: left; text-align: left; /*font: 17pt "Ancient";*/ padding: 1px; image: url(:/images/arrow_left.png); } QPushButton:hover { padding: 0px; } 10 40 360 580 0 0 Lato 50 false false QToolBox { margins: 0px; } QToolBox QFrame { background: transparent; } QToolBox > QWidget { font: 25px "Lato"; background: transparent; border-radius: 5px; background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 #F1F1F1, stop: 0.4 #FFFFFF, stop: 0.5 #F8F8F8, stop: 1.0 #FFFFFF); } QToolBox::tab { background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 #E1E1E1, stop: 0.4 #DDDDDD, stop: 0.5 #D8D8D8, stop: 1.0 #D3D3D3); border-radius: 2px; font-family: Lato; font-style: normal; font-weight: bold; font-size: 23px; color: #100A44; image: url(:/images/share.png); image-position: left; padding-left: 10px; border-color: #DDDDDD; border-bottom: 2px solid #DDDDDD; } QToolBox::tab:hover { border-color: #148CD2; border-bottom: 2px solid #148CD2; } QFrame::NoFrame 0 1 2 0 0 100 30 Full access 10 10 330 100 QTextEdit { background: #F5F5F5; border-radius: 10px; font-family: Consolas; font-style: normal; font-weight: bold; font-size: 20px; text-align: center; color: #15CDCB; } QTextEdit::FixedColumnWidth 30 true <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd"> <html><head><meta name="qrichtext" content="1" /><style type="text/css"> p, li { white-space: pre-wrap; } </style></head><body style=" font-family:'Consolas'; font-size:20px; font-weight:600; font-style:normal;"> <p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-size:20pt;">vpn:\\xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx</span></p></body></html> 10 180 321 111 font-family: Lato; font-style: normal; font-weight: normal; font-size: 16px; line-height: 150%; color: #181922; Anyone who logs in with this code will have the same permissions to use VPN and your server as you. This code includes your server credentials! Provide this code only to TRUSTED users. Qt::AlignJustify|Qt::AlignVCenter true 10 130 331 40 PointingHandCursor QPushButton { font-size: 13pt; font: "Open Sans Semibold"; 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; } Copy 0 0 100 30 ShadowSocks 10 70 100 20 Password 10 10 100 20 Server: 10 50 100 20 Encryption: 10 30 100 20 Port: 130 10 111 20 Server: Qt::LinksAccessibleByMouse|Qt::TextSelectableByMouse 130 50 201 20 Encryption: Qt::LinksAccessibleByMouse|Qt::TextSelectableByMouse 130 30 111 20 Port: Qt::LinksAccessibleByMouse|Qt::TextSelectableByMouse 130 70 201 20 Password: Qt::LinksAccessibleByMouse|Qt::TextSelectableByMouse 10 100 191 20 Connection string 10 180 331 40 PointingHandCursor QPushButton { font-size: 13pt; font: "Open Sans Semibold"; 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; } Copy 65 250 240 240 10 130 331 40 QLineEdit { background: #F5F5F5; border-radius: 10px; font-family: Consolas; font-style: normal; font-weight: bold; font-size: 20px; text-align: center; color: #15CDCB; } SlidingStackedWidget QStackedWidget
ui/Controls/SlidingStackedWidget.h
1