mirror of
https://github.com/jankae/LibreVNA.git
synced 2026-04-08 16:03:43 +00:00
Preparations for waterfall display
This commit is contained in:
parent
754ded1d08
commit
a7fcaf7d97
12 changed files with 613 additions and 21 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue