Customizable graph colors

This commit is contained in:
Jan Käberich 2020-10-22 21:12:33 +02:00
parent 978ac89aa9
commit 74e068d8d1
22 changed files with 266 additions and 97 deletions

View file

@ -117,6 +117,8 @@ QString TraceMarker::readableData()
return ret;
}
break;
default:
return "Unknown marker type";
}
}
@ -378,6 +380,7 @@ void TraceMarker::adjustSettings(double value)
case Type::Delta:
default:
setFrequency(value);
/* no break */
case Type::Lowpass:
case Type::Highpass:
case Type::Bandpass:
@ -396,6 +399,7 @@ void TraceMarker::update()
}
switch(type) {
case Type::Manual:
case Type::Delta:
// nothing to do
break;
case Type::Maximum: