projects
/
quassel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fixing BR #308 - make column handle fade smoother
[quassel.git]
/
src
/
qtui
/
columnhandleitem.h
diff --git
a/src/qtui/columnhandleitem.h
b/src/qtui/columnhandleitem.h
index
9cc131b
..
881b899
100644
(file)
--- a/
src/qtui/columnhandleitem.h
+++ b/
src/qtui/columnhandleitem.h
@@
-45,6
+45,7
@@
public:
public slots:
void sceneRectChanged(const QRectF &);
public slots:
void sceneRectChanged(const QRectF &);
+ inline void setColor(const QColor &color) { _rulerColor = color; }
protected:
void hoverEnterEvent(QGraphicsSceneHoverEvent *event);
protected:
void hoverEnterEvent(QGraphicsSceneHoverEvent *event);
@@
-67,6
+68,7
@@
private:
bool _moving;
qreal _minXPos, _maxXPos;
QTimeLine _timeLine;
bool _moving;
qreal _minXPos, _maxXPos;
QTimeLine _timeLine;
+ QColor _rulerColor;
};
#endif
};
#endif