Mercurial > hg > svgui
comparison view/Pane.h @ 261:11021509c4eb
* some more work on measurement tool, and refactor Pane::paintEvent
author | Chris Cannam |
---|---|
date | Thu, 14 Jun 2007 16:28:27 +0000 |
parents | 2d891e02c5ce |
children | dae479593572 |
comparison
equal
deleted
inserted
replaced
260:6d113226bb4c | 261:11021509c4eb |
---|---|
86 virtual void mouseDoubleClickEvent(QMouseEvent *e); | 86 virtual void mouseDoubleClickEvent(QMouseEvent *e); |
87 virtual void leaveEvent(QEvent *e); | 87 virtual void leaveEvent(QEvent *e); |
88 virtual void wheelEvent(QWheelEvent *e); | 88 virtual void wheelEvent(QWheelEvent *e); |
89 virtual void resizeEvent(QResizeEvent *e); | 89 virtual void resizeEvent(QResizeEvent *e); |
90 | 90 |
91 void drawVerticalScale(QRect r, Layer *, QPainter &); | |
92 void drawFeatureDescription(Layer *, QPainter &); | |
93 void drawCentreLine(int, QPainter &); | |
94 void drawDurationAndRate(QRect, const Model *, int, QPainter &); | |
95 void drawLayerNames(QRect, QPainter &); | |
96 void drawMeasurementRect(Layer *, QPainter &); | |
97 void drawEditingSelection(QPainter &); | |
98 | |
91 virtual bool render(QPainter &paint, int x0, size_t f0, size_t f1); | 99 virtual bool render(QPainter &paint, int x0, size_t f0, size_t f1); |
92 | 100 |
93 Selection getSelectionAt(int x, bool &closeToLeft, bool &closeToRight) const; | 101 Selection getSelectionAt(int x, bool &closeToLeft, bool &closeToRight) const; |
94 | 102 |
95 bool editSelectionStart(QMouseEvent *e); | 103 bool editSelectionStart(QMouseEvent *e); |