Mercurial > hg > svgui
diff layer/FlexiNoteLayer.h @ 660:8663a831838f tonioni
instrument is now "click" -- some other minor changes I don't remember
author | matthiasm |
---|---|
date | Thu, 20 Jun 2013 13:47:36 +0100 |
parents | 050404ae7799 |
children | ad12e428785b |
line wrap: on
line diff
--- a/layer/FlexiNoteLayer.h Thu Jun 20 11:07:57 2013 +0100 +++ b/layer/FlexiNoteLayer.h Thu Jun 20 13:47:36 2013 +0100 @@ -56,6 +56,8 @@ virtual void splitStart(View *v, QMouseEvent *); virtual void splitEnd(View *v, QMouseEvent *); + + virtual void addNote(View *v, QMouseEvent *e); virtual void mouseMoveEvent(View *v, QMouseEvent *); @@ -96,6 +98,8 @@ SplitNote, LeftBoundary }; + + void setIntelligentActions(bool on) { m_intelligentActions=on; } void setVerticalScale(VerticalScale scale); VerticalScale getVerticalScale() const { return m_verticalScale; } @@ -161,6 +165,7 @@ FlexiNoteModel *m_model; bool m_editing; + bool m_intelligentActions; int m_dragPointX; int m_dragPointY; int m_dragStartX;