From 56e2ca90f60cbf1fa3bc14e0522d00a5868fc32f Mon Sep 17 00:00:00 2001 From: Mateusz Wozniak Date: Thu, 28 Mar 2024 18:48:09 +0100 Subject: [PATCH] Add log in window UI --- source/Frontend/src/app/mainwindow.ui | 296 +++++++++++++++++++++++++- 1 file changed, 291 insertions(+), 5 deletions(-) diff --git a/source/Frontend/src/app/mainwindow.ui b/source/Frontend/src/app/mainwindow.ui index cd4835e..e2849a1 100644 --- a/source/Frontend/src/app/mainwindow.ui +++ b/source/Frontend/src/app/mainwindow.ui @@ -6,20 +6,306 @@ 0 0 - 800 - 600 + 640 + 480 + + + Ubuntu Mono + + - MainWindow + Password Manager + + + MainWindow{ +background-color: #d6e2ea; +} + +#widget { + background-color: #ffffff; + border-radius: 2px; +} + +QLabel { + color: rgb(0, 0, 0); + padding-bottom: 20px; +} + +QLineEdit { + background-color: #f1f1f1; + padding-left: 10px; + padding-right: 10px; +} + +QPushButton { + background-color: #303030; + border-bottom-right-radius: 5px; + border-bottom-left-radius: 5px; + padding-left: 5px; + padding-right: 5px; + color: #f1f1f1; +} + +QPushButton:hover { + background-color: #414141; +} + + - + + + + + + Qt::Vertical + + + + 20 + 75 + + + + + + + + Qt::Horizontal + + + + 167 + 20 + + + + + + + + + + + Qt::Vertical + + + + 20 + 26 + + + + + + + + Qt::Horizontal + + + + 35 + 20 + + + + + + + + 3 + + + QLayout::SetDefaultConstraint + + + + + + 18 + + + + Welcome + + + Qt::AlignCenter + + + + + + + 3 + + + + + + 0 + 0 + + + + + 0 + 33 + + + + + 12 + + + + 100 + + + false + + + username + + + + + + + + 0 + 0 + + + + + 0 + 33 + + + + + 12 + + + + 100 + + + false + + + QLineEdit::Password + + + password + + + + + + + + + true + + + + 0 + 0 + + + + + 0 + 33 + + + + + 13 + true + + + + PointingHandCursor + + + Log in + + + + 16 + 16 + + + + + + + + + + Qt::Horizontal + + + + 35 + 20 + + + + + + + + Qt::Vertical + + + + 20 + 30 + + + + + + + + + + + Qt::Horizontal + + + + 167 + 20 + + + + + + + + Qt::Vertical + + + + 20 + 74 + + + + + + 0 0 - 800 + 640 22