Editor Refactoring

Refactoring the editors' code. Introduced a new superclass for them providing a toolbar.
This is a try to make the code somewhat maintainable, but there's just so much done wrong there, it's still a long way.
On 12/08/2014 09:43 PM, Lukas W wrote:
>
> In include/AutomationEditor.h:
>
> > @@ -89,6 +88,14 @@ class AutomationEditor : public QWidget, public JournallingObject
> >  	void setVertexColor( const QColor & c );
> >  	void setScaleColor( const QBrush & c );
> >  
> > +	enum editModes
> > +	{
> > +		DRAW,
>
> I didn't invent that enum, I just moved it to public ;)
>

Yeah I know, just thought that since you're already refactoring things,
you wouldn't mind some extra work ;)