Added fake toggle switch.

This commit is contained in:
2026-03-31 18:18:37 +02:00
parent 5db2677d76
commit 075aadc665
6 changed files with 89 additions and 14 deletions

View File

@@ -22,6 +22,9 @@ public:
QSize sizeHint() const override;
// Statische Methode zum Zeichnen des passiven/deaktivierten Zustands
static void paintToggleIndicator(QPainter* p, const QRect& rect, bool isChecked, float position, const QPalette& palette);
protected:
void paintEvent(QPaintEvent *event) override;