MCPcopy Create free account
hub / github.com/KDE/labplot / CDockAreaWidget

Method CDockAreaWidget

src/3rdparty/Qt-Advanced-Docking-System/src/DockAreaWidget.cpp:440–456  ·  view source on GitHub ↗

============================================================================

Source from the content-addressed store, hash-verified

438
439//============================================================================
440CDockAreaWidget::CDockAreaWidget(CDockManager* DockManager, CDockContainerWidget* parent) :
441 QFrame(parent),
442 d(new DockAreaWidgetPrivate(this))
443{
444 d->DockManager = DockManager;
445 d->Layout = new QBoxLayout(QBoxLayout::TopToBottom);
446 d->Layout->setContentsMargins(0, 0, 0, 0);
447 d->Layout->setSpacing(0);
448 setLayout(d->Layout);
449
450 d->createTitleBar();
451 d->ContentsLayout = new DockAreaLayout(d->Layout);
452 if (d->DockManager)
453 {
454 Q_EMIT d->DockManager->dockAreaCreated(this);
455 }
456}
457
458//============================================================================
459CDockAreaWidget::~CDockAreaWidget()

Callers

nothing calls this directly

Calls 2

setSpacingMethod · 0.80
createTitleBarMethod · 0.80

Tested by

no test coverage detected