Mercurial > hg > svgui
comparison view/Pane.h @ 771:a964151832a7
Merge from branch tony_integration
author | Chris Cannam |
---|---|
date | Wed, 14 May 2014 09:54:34 +0100 |
parents | 30bc7b2155dc |
children | 584b11df8e4f 4c8ca536b54f |
comparison
equal
deleted
inserted
replaced
768:8b614632568c | 771:a964151832a7 |
---|---|
65 signals: | 65 signals: |
66 void paneInteractedWith(); | 66 void paneInteractedWith(); |
67 void rightButtonMenuRequested(QPoint position); | 67 void rightButtonMenuRequested(QPoint position); |
68 void dropAccepted(QStringList uriList); | 68 void dropAccepted(QStringList uriList); |
69 void dropAccepted(QString text); | 69 void dropAccepted(QString text); |
70 void doubleClickSelectInvoked(size_t frame); | |
71 void regionOutlined(QRect rect); | |
70 | 72 |
71 public slots: | 73 public slots: |
72 virtual void toolModeChanged(); | 74 virtual void toolModeChanged(); |
73 virtual void zoomWheelsEnabledChanged(); | 75 virtual void zoomWheelsEnabledChanged(); |
74 virtual void viewZoomLevelChanged(View *v, unsigned long z, bool locked); | 76 virtual void viewZoomLevelChanged(View *v, unsigned long z, bool locked); |
81 virtual void editVerticalPannerExtents(); | 83 virtual void editVerticalPannerExtents(); |
82 | 84 |
83 virtual void layerParametersChanged(); | 85 virtual void layerParametersChanged(); |
84 | 86 |
85 virtual void propertyContainerSelected(View *, PropertyContainer *pc); | 87 virtual void propertyContainerSelected(View *, PropertyContainer *pc); |
88 | |
89 void zoomToRegion(QRect r); | |
86 | 90 |
87 void mouseEnteredWidget(); | 91 void mouseEnteredWidget(); |
88 void mouseLeftWidget(); | 92 void mouseLeftWidget(); |
89 | 93 |
90 protected: | 94 protected: |
101 virtual void dropEvent(QDropEvent *e); | 105 virtual void dropEvent(QDropEvent *e); |
102 | 106 |
103 void drawVerticalScale(QRect r, Layer *, QPainter &); | 107 void drawVerticalScale(QRect r, Layer *, QPainter &); |
104 void drawFeatureDescription(Layer *, QPainter &); | 108 void drawFeatureDescription(Layer *, QPainter &); |
105 void drawCentreLine(int, QPainter &, bool omitLine); | 109 void drawCentreLine(int, QPainter &, bool omitLine); |
110 void drawModelTimeExtents(QRect, QPainter &, const Model *); | |
106 void drawDurationAndRate(QRect, const Model *, int, QPainter &); | 111 void drawDurationAndRate(QRect, const Model *, int, QPainter &); |
107 void drawWorkTitle(QRect, QPainter &, const Model *); | 112 void drawWorkTitle(QRect, QPainter &, const Model *); |
108 void drawLayerNames(QRect, QPainter &); | 113 void drawLayerNames(QRect, QPainter &); |
109 void drawEditingSelection(QPainter &); | 114 void drawEditingSelection(QPainter &); |
110 void drawAlignmentStatus(QRect, QPainter &, const Model *, bool down); | 115 void drawAlignmentStatus(QRect, QPainter &, const Model *, bool down); |
127 QString *unit = 0); | 132 QString *unit = 0); |
128 bool setTopLayerDisplayExtents(float displayMin, float displayMax); | 133 bool setTopLayerDisplayExtents(float displayMin, float displayMax); |
129 | 134 |
130 void dragTopLayer(QMouseEvent *e); | 135 void dragTopLayer(QMouseEvent *e); |
131 void dragExtendSelection(QMouseEvent *e); | 136 void dragExtendSelection(QMouseEvent *e); |
132 void zoomToRegion(int x0, int y0, int x1, int y1); | |
133 void updateContextHelp(const QPoint *pos); | 137 void updateContextHelp(const QPoint *pos); |
134 void edgeScrollMaybe(int x); | 138 void edgeScrollMaybe(int x); |
139 | |
140 Layer *getTopFlexiNoteLayer(); | |
135 | 141 |
136 bool m_identifyFeatures; | 142 bool m_identifyFeatures; |
137 QPoint m_identifyPoint; | 143 QPoint m_identifyPoint; |
138 QPoint m_clickPos; | 144 QPoint m_clickPos; |
139 QPoint m_mousePos; | 145 QPoint m_mousePos; |