Mercurial > hg > svgui
diff 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 |
line wrap: on
line diff
--- a/view/Pane.h Thu Jun 14 15:20:49 2007 +0000 +++ b/view/Pane.h Thu Jun 14 16:28:27 2007 +0000 @@ -88,6 +88,14 @@ virtual void wheelEvent(QWheelEvent *e); virtual void resizeEvent(QResizeEvent *e); + void drawVerticalScale(QRect r, Layer *, QPainter &); + void drawFeatureDescription(Layer *, QPainter &); + void drawCentreLine(int, QPainter &); + void drawDurationAndRate(QRect, const Model *, int, QPainter &); + void drawLayerNames(QRect, QPainter &); + void drawMeasurementRect(Layer *, QPainter &); + void drawEditingSelection(QPainter &); + virtual bool render(QPainter &paint, int x0, size_t f0, size_t f1); Selection getSelectionAt(int x, bool &closeToLeft, bool &closeToRight) const;