Added fake toggle switch.
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user