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

Method orientation

src/3rdparty/Qt-Advanced-Docking-System/src/ResizeHandle.cpp:258–270  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

256
257//============================================================================
258Qt::Orientation CResizeHandle::orientation() const
259{
260 switch (d->HandlePosition)
261 {
262 case Qt::LeftEdge: // fall through
263 case Qt::RightEdge: return Qt::Horizontal;
264
265 case Qt::TopEdge: // fall through
266 case Qt::BottomEdge: return Qt::Vertical;
267 }
268
269 return Qt::Horizontal;
270}
271
272
273//============================================================================

Callers 2

pickMethod · 0.45
isHorizontalMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected