Preparations for waterfall display

This commit is contained in:
Jan Käberich 2022-03-15 16:59:52 +01:00
parent 754ded1d08
commit a7fcaf7d97
12 changed files with 613 additions and 21 deletions

View file

@ -396,15 +396,6 @@ void TraceSmithChart::draw(QPainter &p) {
}
}
void TraceSmithChart::traceDropped(Trace *t, QPoint position)
{
Q_UNUSED(t)
Q_UNUSED(position);
if(supported(t)) {
enableTrace(t, true);
}
}
QString TraceSmithChart::mouseText(QPoint pos)
{
auto data = pixelToData(pos);
@ -485,11 +476,6 @@ void TraceSmithChart::updateContextMenu()
}
bool TraceSmithChart::supported(Trace *t)
{
return dropSupported(t);
}
bool TraceSmithChart::dropSupported(Trace *t)
{
if(!t->isReflection()) {
return false;