Cleanups.

This commit is contained in:
2026-01-06 15:59:57 +01:00
parent 6c15d99119
commit 1a2d815634
20 changed files with 73 additions and 295 deletions

View File

@@ -61,21 +61,6 @@ public:
QSize sizeHint(const QStyleOptionViewItem &option,const QModelIndex& index) const override;
void paint(QPainter *painter, const QStyleOptionViewItem &option, const QModelIndex& index) const override;
/*
qreal highlightOpacity() const
{
return _opacity;
}
void setHighlightOpacity(qreal opacity)
{
_opacity = opacity;
//qDebug() << " --- opa: " << opacity;
// __fix! unsinn!
emit viewUpdateNeeded();
}
*/
void clearAllHighlights();
public slots:
@@ -91,13 +76,11 @@ private:
void updateRow(int row);
void paintHighlightRow(QPainter* painter, const QStyleOptionViewItem& option, const QModelIndex& index) const;
void paintSliderIndicator(QPainter* painter, const QStyleOptionViewItem& option, const QModelIndex& index) const;
const BCValueList& _valueList;
QTableView* _view{};
//int _highlightedRow{-1};
//qreal _opacity{1.0};
QPropertyAnimation* _animation{};
private: