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

Method setupToolBar

src/3rdparty/Qt-Advanced-Docking-System/src/DockWidget.cpp:304–313  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

302
303//============================================================================
304void DockWidgetPrivate::setupToolBar()
305{
306 ToolBar = new QToolBar(_this);
307 ToolBar->setObjectName("dockWidgetToolBar");
308 Layout->insertWidget(0, ToolBar);
309 ToolBar->setIconSize(QSize(16, 16));
310 ToolBar->toggleViewAction()->setEnabled(false);
311 ToolBar->toggleViewAction()->setVisible(false);
312 _this->connect(_this, SIGNAL(topLevelChanged(bool)), SLOT(setToolbarFloatingStyle(bool)));
313}
314
315
316

Callers 1

createDefaultToolBarMethod · 0.80

Calls 5

setIconSizeMethod · 0.80
toggleViewActionMethod · 0.80
insertWidgetMethod · 0.45
setEnabledMethod · 0.45
setVisibleMethod · 0.45

Tested by

no test coverage detected