Home screen.

Took 2 hours 18 minutes

Took 9 seconds

Took 23 seconds
This commit is contained in:
Lukas Brübach 2025-06-15 17:01:00 +02:00
parent 9601a1fa4e
commit aa5a6222fd
9 changed files with 285 additions and 2 deletions

View file

@ -0,0 +1,25 @@
#include "home_styled_button.h"
HomeStyledButton::HomeStyledButton(const QString &text, QWidget *parent) : QPushButton(text, parent)
{
setSizePolicy(QSizePolicy::Expanding, QSizePolicy::Expanding);
setStyleSheet(R"(
QPushButton {
font-size: 16px;
padding: 10px;
color: black;
border: 1px solid #0b5e2e;
border-radius: 6px;
background: qlineargradient(x1:0, y1:1, x2:0, y2:0,
stop:0 #92de58, stop:1 #139740);
}
QPushButton:hover {
background: qlineargradient(x1:0, y1:1, x2:0, y2:0,
stop:0 #aaf57a, stop:1 #1bb24e);
}
QPushButton:pressed {
background: qlineargradient(x1:0, y1:0, x2:0, y2:1,
stop:0 #139740, stop:1 #0a4d23);
}
)");
}