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

Method sideBarOverlaySize

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

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

Source from the content-addressed store, hash-verified

366
367//============================================================================
368int DockOverlayPrivate::sideBarOverlaySize(SideBarLocation sideBarLocation)
369{
370 auto Container = qobject_cast<CDockContainerWidget*>(TargetWidget.data());
371 auto SideBar = Container->autoHideSideBar(sideBarLocation);
372 if (!SideBar || !SideBar->isVisibleTo(Container))
373 {
374 return AutoHideAreaWidth;
375 }
376 else
377 {
378 return (SideBar->orientation() == Qt::Horizontal) ? SideBar->height() : SideBar->width();
379 }
380}
381
382
383//============================================================================

Callers 1

paintEventMethod · 0.80

Calls 5

heightMethod · 0.80
dataMethod · 0.45
autoHideSideBarMethod · 0.45
orientationMethod · 0.45
widthMethod · 0.45

Tested by

no test coverage detected