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

Method createTitleBar

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

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

Source from the content-addressed store, hash-verified

359
360//============================================================================
361void DockAreaWidgetPrivate::createTitleBar()
362{
363 TitleBar = componentsFactory()->createDockAreaTitleBar(_this);
364 Layout->addWidget(TitleBar);
365 QObject::connect(tabBar(), &CDockAreaTabBar::tabCloseRequested, _this, &CDockAreaWidget::onTabCloseRequested);
366 QObject::connect(TitleBar, &CDockAreaTitleBar::tabBarClicked, _this, &CDockAreaWidget::setCurrentIndex);
367 QObject::connect(tabBar(), &CDockAreaTabBar::tabMoved, _this, &CDockAreaWidget::reorderDockWidget);
368}
369
370
371//============================================================================

Callers 1

CDockAreaWidgetMethod · 0.80

Calls 1

Tested by

no test coverage detected