MCPcopy Create free account
hub / github.com/analogdevicesinc/scopy / CursorController

Method CursorController

gui/src/cursorcontroller.cpp:27–46  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

25using namespace scopy;
26
27CursorController::CursorController(PlotWidget *plot, QObject *parent)
28 : QObject(parent)
29 , m_plot(plot)
30 , xEn(true)
31 , xLock(false)
32 , xTrack(false)
33 , yEn(true)
34 , yLock(false)
35 , readoutDragsEn(false)
36 , m_visible(false)
37{
38 initUI();
39
40 y1Cursor = plotCursors->getY1Cursor();
41 y2Cursor = plotCursors->getY2Cursor();
42 x1Cursor = plotCursors->getX1Cursor();
43 x2Cursor = plotCursors->getX2Cursor();
44
45 // connectSignals();
46}
47
48CursorController::~CursorController() {}
49

Callers

nothing calls this directly

Calls 4

getY1CursorMethod · 0.80
getY2CursorMethod · 0.80
getX1CursorMethod · 0.80
getX2CursorMethod · 0.80

Tested by

no test coverage detected