kopia lustrzana https://gitlab.com/eliggett/wfview
Allow plot click to display frequency if nothing else is under it
rodzic
a511282505
commit
b334241ea0
|
@ -5285,6 +5285,10 @@ void wfmain::handlePlotClick(QMouseEvent* me)
|
|||
this->mousePressFreq = plot->xAxis->pixelToCoord(cursor);
|
||||
showStatusBarText(QString("Selected %1 MHz").arg(this->mousePressFreq));
|
||||
}
|
||||
else {
|
||||
double x = plot->xAxis->pixelToCoord(cursor);
|
||||
showStatusBarText(QString("Selected %1 MHz").arg(x));
|
||||
}
|
||||
}
|
||||
else if (me->button() == Qt::RightButton)
|
||||
{
|
||||
|
|
Ładowanie…
Reference in New Issue