Skip to content

Commit

Permalink
Setup a panel widget stack in temporal controller dock
Browse files Browse the repository at this point in the history
  • Loading branch information
nyalldawson committed Mar 13, 2020
1 parent c040952 commit 2dc4c34
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/app/qgstemporalcontrollerdockwidget.cpp
Expand Up @@ -17,14 +17,17 @@

#include "qgstemporalcontrollerdockwidget.h"
#include "qgstemporalcontrollerwidget.h"
#include "qgspanelwidgetstack.h"

QgsTemporalControllerDockWidget::QgsTemporalControllerDockWidget( const QString &name, QWidget *parent )
: QgsDockWidget( parent )
{
setWindowTitle( name );
mControllerWidget = new QgsTemporalControllerWidget();

setWidget( mControllerWidget );
QgsPanelWidgetStack *stack = new QgsPanelWidgetStack();
stack->setMainPanel( mControllerWidget );
setWidget( stack );
}

QgsTemporalController *QgsTemporalControllerDockWidget::temporalController()
Expand Down

0 comments on commit 2dc4c34

Please sign in to comment.