Mercurial > hg > svgui
comparison view/Overview.h @ 806:4c8ca536b54f warnfix_no_size_t
Some more unsigned/long removal
author | Chris Cannam |
---|---|
date | Tue, 17 Jun 2014 15:36:56 +0100 |
parents | b9380f679f70 |
children | 2857e6352b06 4a578a360011 |
comparison
equal
deleted
inserted
replaced
805:1d526ba11a24 | 806:4c8ca536b54f |
---|---|
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 modelChanged(size_t startFrame, size_t endFrame); | 44 virtual void modelChangedWithin(int startFrame, int endFrame); |
45 virtual void modelReplaced(); | 45 virtual void modelReplaced(); |
46 | 46 |
47 virtual void globalCentreFrameChanged(unsigned long); | 47 virtual void globalCentreFrameChanged(int); |
48 virtual void viewCentreFrameChanged(View *, unsigned long); | 48 virtual void viewCentreFrameChanged(View *, int); |
49 virtual void viewZoomLevelChanged(View *, unsigned long, bool); | 49 virtual void viewZoomLevelChanged(View *, int, bool); |
50 virtual void viewManagerPlaybackFrameChanged(unsigned long); | 50 virtual void viewManagerPlaybackFrameChanged(int); |
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); |
60 virtual bool shouldLabelSelections() const { return false; } | 60 virtual bool shouldLabelSelections() const { return false; } |
61 | 61 |
62 QPoint m_clickPos; | 62 QPoint m_clickPos; |
63 QPoint m_mousePos; | 63 QPoint m_mousePos; |
64 bool m_clickedInRange; | 64 bool m_clickedInRange; |
65 size_t m_dragCentreFrame; | 65 int m_dragCentreFrame; |
66 QTime m_modelTestTime; | 66 QTime m_modelTestTime; |
67 | 67 |
68 typedef std::set<View *> ViewSet; | 68 typedef std::set<View *> ViewSet; |
69 ViewSet m_views; | 69 ViewSet m_views; |
70 }; | 70 }; |