MCPcopy Create free account
hub / github.com/ON4QZ/QSSTV / showMarker

Method showMarker

src/scope/scopeplot.cpp:526–536  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

524
525
526void scopePlot::showMarker()
527{
528 QString t1,t2,t3;
529
530 t1="M1 : "+QString::number(marker1->xValue(),'g',7).rightJustified(11)+QString::number(marker1->yValue(),'g',7).rightJustified(11);
531 t2="M2 : "+QString::number(marker2->xValue(),'g',7).rightJustified(11)+QString::number(marker2->yValue(),'g',7).rightJustified(11);
532 t3="DIF: "+QString::number(marker2->xValue()-marker1->xValue(),'g',7).rightJustified(11)+QString::number(marker2->yValue()-marker1->yValue(),'g',7).rightJustified(11);
533 ui.marker1Label->setText(t1);
534 ui.marker2Label->setText(t2);
535 ui.marker3Label->setText(t3);
536}
537
538
539

Callers

nothing calls this directly

Calls 1

setTextMethod · 0.45

Tested by

no test coverage detected