diff options
Diffstat (limited to 'src/viewmarkingscrollbar.h')
| -rw-r--r-- | src/viewmarkingscrollbar.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/viewmarkingscrollbar.h b/src/viewmarkingscrollbar.h index 6947a018..01b5a8c0 100644 --- a/src/viewmarkingscrollbar.h +++ b/src/viewmarkingscrollbar.h @@ -13,6 +13,10 @@ public: protected:
void paintEvent(QPaintEvent *event) override;
+ // retrieve the color of the marker for the given index
+ //
+ virtual QColor color(const QModelIndex& index) const;
+
private:
QTreeView* m_view;
int m_role;
|
