17#include "moc_qgscodeeditordockwidget.cpp"
23 mDockableWidgetHelper =
new QgsDockableWidgetHelper(
true, tr(
"Code Editor" ),
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, [=]() {
36 delete mDockableWidgetHelper;
41 mDockableWidgetHelper->setWindowTitle( title );
46 return mDockToggleButton;
51 mDockableWidgetHelper->setDockObjectName( name );
56 return mDockableWidgetHelper->isUserVisible();
61 mDockableWidgetHelper->setUserVisible( visible );