MainWindow 0 0 380 670 QWidget { font: 16px "Lato"; outline: none; font-style: normal; font-weight: normal; } /*----------------------*/ QPushButton { border: none; color: rgb(216, 216, 216); } QPushButton:disabled { border: none; color: rgb(127, 127, 127); } /*----------------------*/ QLabel { color: #181922; } QLabel:disabled { color: #A7A7A7; } /*----------------------*/ QMessageBox { background-color: #333333; } QMessageBox QLabel { color: #aaa; } /*----------------------*/ 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: rgb(200, 200, 200); font: 63 11pt "Open Sans"; /*font: 11pt "JMH Cthulhumbus";*/ background: transparent; } QCheckBox::indicator { min-height: 20px; min-width: 20px; border-image: url(:/images/controls/checkbox_unchecked.png) 0 0 0 0 stretch stretch; } QCheckBox::indicator:unchecked { border-image: url(:/images/controls/checkbox_unchecked.png) 0 0 0 0 stretch stretch; } QCheckBox::indicator:unchecked:hover { border-image: url(:/images/controls/checkbox_hover.png); } QCheckBox::indicator:checked { border-image: url(:/images/controls/checkbox_checked.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 #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 QStackedWidget#stackedWidget_main{ background: transparent; } QStackedWidget QWidget { background: transparent; } 2 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 40 220 301 41 background: #181922; border-radius: 4px; 24 Qt::AlignCenter true Connecting... 110 590 150 22 image: url(:/images/AmneziaVPN.png); 40 160 300 40 background: #F4F4F4; /* grey */ border: 1px solid #A7A7A7; color: #333333; 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; } 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; } Connect 50 115 281 21 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 12 7 false false color: rgb(66, 209, 133); font: 63 12pt "Lato"; 0 Mbps Qt::AlignCenter 0 20 127 30 Lato 12 7 false false color: rgb(65, 113, 214); font: 63 12pt "Lato"; 0 Mbps Qt::AlignCenter 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; } + 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 false 20 490 341 19 For all connections true false 20 520 341 19 For selected sites false 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 19 50 341 41 font-family: Lato; font-style: normal; font-weight: bold; font-size: 20px; line-height: 25px; /* or 125% */ /* black */ color: #181922; These sites will open via 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, rutor.org or 17.21.111.8 true 310 150 51 31 PointingHandCursor /* black */ background: #181922; border-radius: 4px; font-size: 18pt; + true 90 584 201 21 PointingHandCursor color: #181922; Delete selected item 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; 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 1 image: url(:/images/line.png); 30 60 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/server_settings.png); background-repeat: no-repeat; background-position: left center; Server settings 10 110 360 1 image: url(:/images/line.png); true 30 130 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 180 360 1 image: url(:/images/line.png); 10 620 360 1 image: url(:/images/line.png); true 30 570 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 550 360 1 image: url(:/images/line.png); true 40 490 301 41 Please wait, configuring process may take up to 5 minutes true 40 100 171 21 font-family: Lato; font-style: normal; font-weight: normal; font-size: 16px; line-height: 150%; /* or 24px */ /* text */ color: #333333; You connected to 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; } 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; } 10 40 361 71 font-family: Lato; font-style: normal; font-weight: bold; font-size: 24px; 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; } 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; } Forget this server 40 130 321 41 font-family: Lato; font-style: normal; font-weight: normal; font-size: 24px; color: #333333; root@yourserver.org label_server_settings_wait_info label_13 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 341 41 font-family: Lato; font-style: normal; font-weight: bold; font-size: 20px; line-height: 25px; /* or 125% */ /* black */ color: #181922; Connection string Qt::AlignLeading|Qt::AlignLeft|Qt::AlignVCenter true 30 100 320 151 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 20 <!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:\\aosdiufhafafsuhgqejghuserhglaidhgauhgalgadg</span></p></body></html> 20 280 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; } Copy 30 350 321 101 font-family: Lato; font-style: normal; font-weight: normal; font-size: 16px; line-height: 150%; /* or 24px */ /* grey */ color: #A7A7A7; Anyone who logs in with this code will have the same rights to use the VPN as you. To create a new code, change your login and / or password for connection in your server settings. Qt::AlignJustify|Qt::AlignVCenter true SlidingStackedWidget QStackedWidget
ui/Controls/SlidingStackedWidget.h
1