MCPcopy Create free account
hub / github.com/aethersdr/AetherSDR / normalizedSpectrumCursorShape

Function normalizedSpectrumCursorShape

src/gui/SpectrumWidget.cpp:349–362  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

347}
348
349static Qt::CursorShape normalizedSpectrumCursorShape(Qt::CursorShape shape)
350{
351#ifdef Q_OS_MAC
352 switch (shape) {
353 case Qt::SplitVCursor:
354 return Qt::SizeVerCursor;
355 case Qt::SizeAllCursor:
356 return Qt::OpenHandCursor;
357 default:
358 break;
359 }
360#endif
361 return shape;
362}
363
364static void setCursorOverride(QWidget* widget, Qt::CursorShape shape)
365{

Callers 2

setCursorOverrideFunction · 0.85
setSpectrumCursorMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected