First steps.

This commit is contained in:
2026-01-06 13:05:19 +01:00
parent 5c52b1e936
commit c21bb2cf4e
30 changed files with 232 additions and 151 deletions

View File

@@ -43,23 +43,25 @@ BCThemeSwitchButton::BCThemeSwitchButton(QWidget *parent )
// CSS: Transparent, damit es sich nahtlos in den StatusBar einfügt
// Schriftgröße etwas erhöhen, damit die Emojis gut erkennbar sind
/*
setStyleSheet(R"(
QPushButton {
BCThemeSwitchButton
{
border: none;
background-color: transparent;
background-color: green;
font-size: 11pt;
}
QPushButton:hover {
background-color: rgba(128, 128, 128, 30); // Leichter Hover-Effekt
BCThemeSwitchButton:Hover
{
background-color: rgba(128, 128, 128, 30);
border-radius: 24px;
}
)");
*/
// Initialer Status (Startet im Dark Mode -> zeigt Mond)
updateIcon();
connect(this, &QPushButton::clicked, this, &BCThemeSwitchButton::toggle);
connect(this, &QPushButton::clicked, this, &BCThemeSwitchButton::toggleMode);
}