comparison base/Layer.h @ 13:1fa7cc0d008b

* Add basic drag editing of time instants. Plenty of tuning to do for both this and drawing.
author Chris Cannam
date Thu, 26 Jan 2006 18:01:38 +0000
parents f67ddc287bc3
children 47500c27ac26
comparison
equal deleted inserted replaced
12:f67ddc287bc3 13:1fa7cc0d008b
98 // Draw and edit modes: 98 // Draw and edit modes:
99 // 99 //
100 // Layer needs to get actual mouse events, I guess. Draw mode is 100 // Layer needs to get actual mouse events, I guess. Draw mode is
101 // probably the easier. 101 // probably the easier.
102 102
103 virtual void drawStart(QMouseEvent *e) { } 103 virtual void drawStart(QMouseEvent *) { }
104 virtual void drawDrag(QMouseEvent *e) { } 104 virtual void drawDrag(QMouseEvent *) { }
105 virtual void drawEnd(QMouseEvent *e) { } 105 virtual void drawEnd(QMouseEvent *) { }
106
107 virtual void editStart(QMouseEvent *) { }
108 virtual void editDrag(QMouseEvent *) { }
109 virtual void editEnd(QMouseEvent *) { }
106 110
107 // Text mode: 111 // Text mode:
108 // 112 //
109 // Label nearest feature. We need to get the feature coordinates 113 // Label nearest feature. We need to get the feature coordinates
110 // and current label from the layer, and then the pane can pop up 114 // and current label from the layer, and then the pane can pop up