Cleanups II.

This commit is contained in:
Christoph Holzheuer
2026-02-10 14:25:06 +01:00
parent afe8588cd3
commit 0ea9ce2e0f
13 changed files with 545 additions and 47 deletions

View File

@@ -69,8 +69,8 @@ protected:
void updateRow(int row);
void paintHighlightRow(QPainter* painter, const QStyleOptionViewItem& option, int row) const;
void paintToggleSwitch(QPainter* painter, const QStyleOptionViewItem& option, const BCValue& bcValue) const;
void paintSlider(QPainter* painter, const QRect& rect, double ratio ) const;
void paintPlainToggleSwitch(QPainter* painter, const QStyleOptionViewItem& option, const BCValue& bcValue) const;
void paintPlainSliderIndicator(QPainter* painter, const QRect& rect, double ratio ) const;
// Das ist ein Quickhack, der Delegate sollte
// nichts über die Originaldaten wissen. Die
// Datenbeschaffung ist alleine Sache des Models.