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

Method setupPlotButtonManager

gui/src/plotwidget.cpp:294–304  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

292}
293
294void PlotWidget::setupPlotButtonManager()
295{
296 m_plotButtonManager = new PlotButtonManager(this);
297 m_plotButtonManager->setCollapseOrientation(PlotButtonManager::PBM_RIGHT);
298 HoverWidget *hoverPlotButtonManager = new HoverWidget(m_plotButtonManager, m_plot->canvas(), m_plot->canvas());
299 hoverPlotButtonManager->setAnchorPos(HoverPosition::HP_BOTTOMRIGHT);
300 hoverPlotButtonManager->setContentPos(HoverPosition::HP_TOPLEFT);
301 hoverPlotButtonManager->setAnchorOffset(QPoint(0, -20));
302 hoverPlotButtonManager->setRelative(true);
303 hoverPlotButtonManager->show();
304}
305
306QwtSymbol::Style PlotWidget::getCurveStyle(int i)
307{

Callers

nothing calls this directly

Calls 8

QPointClass · 0.85
canvasMethod · 0.80
setAnchorPosMethod · 0.80
setContentPosMethod · 0.80
setAnchorOffsetMethod · 0.80
setRelativeMethod · 0.80
showMethod · 0.45

Tested by

no test coverage detected