kopia lustrzana https://github.com/NanoVNA-Saver/nanovna-saver
button in one row
rodzic
134affab04
commit
f933027af5
|
@ -46,11 +46,15 @@ class MarkerControl(Control):
|
|||
|
||||
self.check_delta = QCheckBox("Enable Delta Marker")
|
||||
self.check_delta.toggled.connect(self.toggle_delta)
|
||||
self.layout.addRow(self.check_delta)
|
||||
|
||||
self.check_delta_reference = QCheckBox("Delta reference")
|
||||
self.check_delta_reference = QCheckBox("reference")
|
||||
self.check_delta_reference.toggled.connect(self.toggle_delta_reference)
|
||||
self.layout.addRow(self.check_delta_reference)
|
||||
|
||||
layout2 = QtWidgets.QHBoxLayout()
|
||||
layout2.addWidget(self.check_delta)
|
||||
layout2.addWidget(self.check_delta_reference)
|
||||
|
||||
self.layout.addRow(layout2)
|
||||
|
||||
self.showMarkerButton = QtWidgets.QPushButton()
|
||||
self.showMarkerButton.setFixedHeight(20)
|
||||
|
|
|
@ -473,7 +473,7 @@ class NanoVNASaver(QtWidgets.QWidget):
|
|||
m2 = None
|
||||
if self.marker_ref:
|
||||
if self.ref_data:
|
||||
m2 = Marker()
|
||||
m2 = Marker("Reference")
|
||||
m2.location = self.markers[0].location
|
||||
m2.resetLabels()
|
||||
m2.updateLabels(self.ref_data.s11,
|
||||
|
|
Ładowanie…
Reference in New Issue