Skip to content
Permalink
Browse files

Setup a panel widget stack in temporal controller dock

  • Loading branch information
nyalldawson committed Mar 12, 2020
1 parent c040952 commit 2dc4c34dabba10cd51c032d0c4c6af43a8d37654
Showing with 4 additions and 1 deletion.
  1. +4 −1 src/app/qgstemporalcontrollerdockwidget.cpp
@@ -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()

0 comments on commit 2dc4c34

Please sign in to comment.
You can’t perform that action at this time.