22 mDockableWidgetHelper =
new QgsDockableWidgetHelper(
true, tr(
"Code Editor" ),
23 this, QgsDockableWidgetHelper::sOwnerWindow, Qt::BottomDockWidgetArea, QStringList(),
true, windowGeometrySettingsKey, usePersistentWidget );
25 mDockToggleButton = mDockableWidgetHelper->createDockUndockToolButton();
26 mDockToggleButton->setToolTip( tr(
"Dock Code Editor" ) );
27 connect( mDockableWidgetHelper, &QgsDockableWidgetHelper::closed,
this, [ = ]()