Mercurial > hg > svgui
comparison view/Pane.h @ 320:984c1975f1ff
* Some tidying up to handling of alignment; add alignment status label to
pane; ensure alignment when dragging with mouse as well as when playing
author | Chris Cannam |
---|---|
date | Thu, 25 Oct 2007 14:32:23 +0000 |
parents | c0b9eec70639 |
children | 4f4f38a11cd2 |
comparison
equal
deleted
inserted
replaced
319:2a50c1ecc990 | 320:984c1975f1ff |
---|---|
71 | 71 |
72 public slots: | 72 public slots: |
73 virtual void toolModeChanged(); | 73 virtual void toolModeChanged(); |
74 virtual void zoomWheelsEnabledChanged(); | 74 virtual void zoomWheelsEnabledChanged(); |
75 virtual void viewZoomLevelChanged(View *v, unsigned long z, bool locked); | 75 virtual void viewZoomLevelChanged(View *v, unsigned long z, bool locked); |
76 virtual void modelAlignmentCompletionChanged(); | |
76 | 77 |
77 virtual void horizontalThumbwheelMoved(int value); | 78 virtual void horizontalThumbwheelMoved(int value); |
78 virtual void verticalThumbwheelMoved(int value); | 79 virtual void verticalThumbwheelMoved(int value); |
79 virtual void verticalZoomChanged(); | 80 virtual void verticalZoomChanged(); |
80 virtual void verticalPannerMoved(float x, float y, float w, float h); | 81 virtual void verticalPannerMoved(float x, float y, float w, float h); |
102 void drawFeatureDescription(Layer *, QPainter &); | 103 void drawFeatureDescription(Layer *, QPainter &); |
103 void drawCentreLine(int, QPainter &, bool omitLine); | 104 void drawCentreLine(int, QPainter &, bool omitLine); |
104 void drawDurationAndRate(QRect, const Model *, int, QPainter &); | 105 void drawDurationAndRate(QRect, const Model *, int, QPainter &); |
105 void drawLayerNames(QRect, QPainter &); | 106 void drawLayerNames(QRect, QPainter &); |
106 void drawEditingSelection(QPainter &); | 107 void drawEditingSelection(QPainter &); |
108 void drawAlignmentStatus(QRect, QPainter &, const Model *); | |
107 | 109 |
108 virtual bool render(QPainter &paint, int x0, size_t f0, size_t f1); | 110 virtual bool render(QPainter &paint, int x0, size_t f0, size_t f1); |
109 | 111 |
110 Selection getSelectionAt(int x, bool &closeToLeft, bool &closeToRight) const; | 112 Selection getSelectionAt(int x, bool &closeToLeft, bool &closeToRight) const; |
111 | 113 |