17#include "moc_qgscodeeditordockwidget.cpp"
23 mDockableWidgetHelper =
new QgsDockableWidgetHelper(
true, tr(
"Code Editor" ),
24 this, QgsDockableWidgetHelper::sOwnerWindow, Qt::BottomDockWidgetArea, QStringList(),
true, windowGeometrySettingsKey, usePersistentWidget );
26 mDockToggleButton = mDockableWidgetHelper->createDockUndockToolButton();
27 mDockToggleButton->setToolTip( tr(
"Dock Code Editor" ) );
28 connect( mDockableWidgetHelper, &QgsDockableWidgetHelper::closed,
this, [ = ]()
38 delete mDockableWidgetHelper;
43 mDockableWidgetHelper->setWindowTitle( title );
48 return mDockToggleButton;
53 mDockableWidgetHelper->setDockObjectName( name );
58 return mDockableWidgetHelper->isUserVisible();
63 mDockableWidgetHelper->setUserVisible( visible );