MainWindow 0 0 380 670 QLabel { color: #181922; } QLabel:disabled { color: #A7A7A7; } QMessageBox QLabel { font: 16px "Lato"; } /* QMessageBox QPushButton { border: 1; } */ /*----------------------*/ QLineEdit { border: none; border-bottom:2px solid rgb(120, 120, 120); color: rgb(140, 140, 140); /*font: 13pt "JMH Cthulhumbus";*/ background:transparent; selection-background-color: darkgray; } 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); } QCheckBox { color: #181922; font: 63 11pt "Open Sans"; /*font: 11pt "JMH Cthulhumbus";*/ 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: black; 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 { font: 16px "Lato"; outline: none; font-style: normal; font-weight: normal; } /*----------------------*/ QPushButton { border: none; } QPushButton:disabled { border: none; } /*----------------------*/ 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 8 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 background: #F4F4F4; /* grey */ border: 1px solid #A7A7A7; color: #333333; 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 170 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 255 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 340 171 21 font-family: Lato; font-style: normal; font-weight: normal; font-size: 16px; line-height: 150%; /* or 24px */ /* text */ color: #333333; Password 40 200 300 40 background: #F4F4F4; /* grey */ border: 1px solid #A7A7A7; color: #333333; 40 285 300 40 background: #F4F4F4; /* grey */ border: 1px solid #A7A7A7; color: #333333; root 40 370 300 40 background: #F4F4F4; /* grey */ border: 1px solid #A7A7A7; color: #333333; QLineEdit::Password 40 440 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 440 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 490 301 41 Please wait, configuring process may take up to 5 minutes true progressBar_new_server_connection label_2 label_4 label_5 label_6 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 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); 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; } 0 0 381 0 PointingHandCursor QAbstractItemView::NoEditTriggers 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 200 341 361 PointingHandCursor QAbstractItemView::NoEditTriggers 20 150 281 31 Lato -1 50 false false background: #FFFFFF; /* grey */ 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; } + true 90 584 201 21 PointingHandCursor color: #181922; Delete selected site 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 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 220 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 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 background: #F4F4F4; /* grey */ border: 1px solid #A7A7A7; color: #333333; 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 background: #F4F4F4; /* grey */ border: 1px solid #A7A7A7; color: #333333; 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 220 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; } 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 220 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... 110 590 150 22 image: url(:/images/AmneziaVPN.png); 40 280 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; } Clear server from Amnezia software 40 340 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; } Forget this server 20 80 341 41 font-family: Lato; font-style: normal; font-weight: normal; font-size: 24px; color: #333333; root@yourserver.org Qt::AlignCenter 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; } true 20 40 340 40 font-family: Lato; font-style: normal; font-weight: bold; font-size: 20px; line-height: 25px; color: #100A44; Connection string Qt::AlignCenter true 30 100 320 211 QTextEdit { background: #F5F5F5; border-radius: 10px; font-family: Consolas; font-style: normal; font-weight: bold; font-size: 22px; line-height: 110%; /* or 35px */ 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:22px; 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> 20 340 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:hover { background: #282932; } Copy 30 400 321 101 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 rights to use the VPN as you. This code includes your server credentials! Provide this code only to TRUSTED users. Qt::AlignJustify|Qt::AlignVCenter true 110 590 150 22 image: url(:/images/AmneziaVPN.png); SlidingStackedWidget QStackedWidget
ui/Controls/SlidingStackedWidget.h
1