Commit a92e4087 authored by Ludovic Fauvet's avatar Ludovic Fauvet

Expose a clear method from the timeline

parent 31ac41d4
......@@ -110,6 +110,12 @@ void Timeline::changeEvent( QEvent *e )
}
}
void Timeline::clear()
{
// The main workflow will ask the GUI to clear itself.
m_mainWorkflow->clear();
}
void Timeline::changeZoom( int factor )
{
m_tracksRuler->setPixelPerMark( factor );
......
......@@ -46,6 +46,7 @@ public:
static Timeline* getInstance() { return m_instance; }
public slots:
void clear();
void changeZoom( int factor );
void setDuration( int duration );
void setTool( ToolButtons button );
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment