Contant lines/limits on XY-Plot

This commit is contained in:
Jan Käberich 2022-04-22 13:46:46 +02:00
parent cacea26e3f
commit 27490e1a33
14 changed files with 201 additions and 33 deletions

View file

@ -22,7 +22,8 @@ TracePlot::TracePlot(TraceModel &model, QWidget *parent)
traceRemovalPending(false),
dropPending(false),
dropTrace(nullptr),
marginTop(20)
marginTop(20),
limitPassing(true)
{
contextmenu = new QMenu();
markedForDeletion = false;
@ -492,6 +493,11 @@ void TracePlot::markerRemoved(Marker *m)
triggerReplot();
}
bool TracePlot::getLimitPassing() const
{
return limitPassing;
}
TraceModel &TracePlot::getModel() const
{
return model;