Added getter & setter for BCValue
This commit is contained in:
@@ -57,8 +57,8 @@ public:
|
||||
void setEditorData(QWidget *editor, const QModelIndex& index) const override;
|
||||
void setModelData(QWidget *editor, QAbstractItemModel *model, const QModelIndex& index) const override;
|
||||
void updateEditorGeometry(QWidget *editor, const QStyleOptionViewItem &option, const QModelIndex& index) const override;
|
||||
|
||||
QSize sizeHint(const QStyleOptionViewItem &option,const QModelIndex& index) const override;
|
||||
//void destroyEditor(QWidget *editor, const QModelIndex &index) const override;
|
||||
//QSize sizeHint(const QStyleOptionViewItem &option,const QModelIndex& index) const override;
|
||||
void paint(QPainter *painter, const QStyleOptionViewItem &option, const QModelIndex& index) const override;
|
||||
|
||||
void clearAllHighlights();
|
||||
@@ -68,10 +68,6 @@ public slots:
|
||||
void onHighlightRow(int row);
|
||||
|
||||
|
||||
signals:
|
||||
|
||||
//void viewUpdateNeeded();
|
||||
|
||||
protected:
|
||||
|
||||
void updateRow(int row);
|
||||
@@ -87,10 +83,13 @@ protected:
|
||||
|
||||
QPropertyAnimation* _animation{};
|
||||
|
||||
|
||||
QHash<int, qreal> _rowOpacities;
|
||||
QHash<int, QVariantAnimation*> _rowAnimations;
|
||||
|
||||
static constexpr int cTextBlockOffset = 130;
|
||||
static constexpr int cPaddingRight = 8;
|
||||
static constexpr int cSliderWidth = 117;
|
||||
|
||||
};
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user