============================================================================
| 438 | |
| 439 | //============================================================================ |
| 440 | CDockAreaWidget::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 | //============================================================================ |
| 459 | CDockAreaWidget::~CDockAreaWidget() |
nothing calls this directly
no test coverage detected