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

Method sideBarMouseZone

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

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

Source from the content-addressed store, hash-verified

382
383//============================================================================
384int DockOverlayPrivate::sideBarMouseZone(SideBarLocation sideBarLocation)
385{
386 auto Container = qobject_cast<CDockContainerWidget*>(TargetWidget.data());
387 auto SideBar = Container->autoHideSideBar(sideBarLocation);
388 if (!SideBar || !SideBar->isVisibleTo(Container))
389 {
390 return AutoHideAreaMouseZone;
391 }
392 else
393 {
394 return (SideBar->orientation() == Qt::Horizontal) ? SideBar->height() : SideBar->width();
395 }
396}
397
398
399//============================================================================

Callers 1

dropAreaUnderCursorMethod · 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