From acb328eea26d9497e23d6c37aa1cd82527818b75 Mon Sep 17 00:00:00 2001 From: jupfi Date: Mon, 7 Aug 2023 14:35:59 +0200 Subject: [PATCH] Added calibration button. --- src/nqrduck_autotm/widget.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/nqrduck_autotm/widget.py b/src/nqrduck_autotm/widget.py index 6bb0d9f..010ea79 100644 --- a/src/nqrduck_autotm/widget.py +++ b/src/nqrduck_autotm/widget.py @@ -94,6 +94,9 @@ class Ui_Form(object): self.startButton = QtWidgets.QPushButton(parent=Form) self.startButton.setObjectName("startButton") self.verticalLayout_2.addWidget(self.startButton) + self.pushButton = QtWidgets.QPushButton(parent=Form) + self.pushButton.setObjectName("pushButton") + self.verticalLayout_2.addWidget(self.pushButton) self.pushButton_3 = QtWidgets.QPushButton(parent=Form) self.pushButton_3.setObjectName("pushButton_3") self.verticalLayout_2.addWidget(self.pushButton_3) @@ -108,7 +111,7 @@ class Ui_Form(object): self.scrollArea.setWidgetResizable(True) self.scrollArea.setObjectName("scrollArea") self.scrollAreaWidgetContents = QtWidgets.QWidget() - self.scrollAreaWidgetContents.setGeometry(QtCore.QRect(0, 0, 273, 229)) + self.scrollAreaWidgetContents.setGeometry(QtCore.QRect(0, 0, 273, 189)) self.scrollAreaWidgetContents.setObjectName("scrollAreaWidgetContents") self.scrollArea.setWidget(self.scrollAreaWidgetContents) self.verticalLayout_2.addWidget(self.scrollArea) @@ -146,6 +149,7 @@ class Ui_Form(object): self.label_7.setText(_translate("Form", "Stop Frequency:")) self.label_5.setText(_translate("Form", "Start Frequency:")) self.startButton.setText(_translate("Form", "Start Sweep")) + self.pushButton.setText(_translate("Form", "Calibrate")) self.pushButton_3.setText(_translate("Form", "T&M Settings")) self.titleinfoLabel.setText(_translate("Form", "Info Box:")) from nqrduck.contrib.mplwidget import MplWidget