comparison view/Overview.h @ 922:26da827e8fb5 tonioni

Merge from cxx11 branch
author Chris Cannam
date Mon, 23 Mar 2015 11:26:28 +0000
parents 2857e6352b06 4a578a360011
children 73b0dc7d6ec1
comparison
equal deleted inserted replaced
921:4968bbaf1ed8 922:26da827e8fb5
39 void unregisterView(View *view); 39 void unregisterView(View *view);
40 40
41 virtual QString getPropertyContainerIconName() const { return "panner"; } 41 virtual QString getPropertyContainerIconName() const { return "panner"; }
42 42
43 public slots: 43 public slots:
44 virtual void modelChangedWithin(int startFrame, int endFrame); 44 virtual void modelChangedWithin(sv_frame_t startFrame, sv_frame_t endFrame);
45 virtual void modelReplaced(); 45 virtual void modelReplaced();
46 46
47 virtual void globalCentreFrameChanged(int); 47 virtual void globalCentreFrameChanged(sv_frame_t);
48 virtual void viewCentreFrameChanged(View *, int); 48 virtual void viewCentreFrameChanged(View *, sv_frame_t);
49 virtual void viewZoomLevelChanged(View *, int, bool); 49 virtual void viewZoomLevelChanged(View *, int, bool);
50 virtual void viewManagerPlaybackFrameChanged(int); 50 virtual void viewManagerPlaybackFrameChanged(sv_frame_t);
51 51
52 protected: 52 protected:
53 virtual void paintEvent(QPaintEvent *e); 53 virtual void paintEvent(QPaintEvent *e);
54 virtual void mousePressEvent(QMouseEvent *e); 54 virtual void mousePressEvent(QMouseEvent *e);
55 virtual void mouseReleaseEvent(QMouseEvent *e); 55 virtual void mouseReleaseEvent(QMouseEvent *e);
63 QColor getFillWithout() const; 63 QColor getFillWithout() const;
64 64
65 QPoint m_clickPos; 65 QPoint m_clickPos;
66 QPoint m_mousePos; 66 QPoint m_mousePos;
67 bool m_clickedInRange; 67 bool m_clickedInRange;
68 int m_dragCentreFrame; 68 sv_frame_t m_dragCentreFrame;
69 QTime m_modelTestTime; 69 QTime m_modelTestTime;
70 70
71 typedef std::set<View *> ViewSet; 71 typedef std::set<View *> ViewSet;
72 ViewSet m_views; 72 ViewSet m_views;
73 }; 73 };