Cleanups.
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user