From 08b3c704970bd12e4a72750ba25cd9662538257e Mon Sep 17 00:00:00 2001 From: Marcel Date: Thu, 22 Feb 2018 11:16:56 +0100 Subject: [PATCH] [add] labels auto/manu --- pylot/RELEASE-VERSION | 2 +- pylot/core/util/widgets.py | 17 +++++++++++------ 2 files changed, 12 insertions(+), 7 deletions(-) diff --git a/pylot/RELEASE-VERSION b/pylot/RELEASE-VERSION index f3453f06..02b383be 100644 --- a/pylot/RELEASE-VERSION +++ b/pylot/RELEASE-VERSION @@ -1 +1 @@ -fa46-dirty +69955-dirty diff --git a/pylot/core/util/widgets.py b/pylot/core/util/widgets.py index 0aa46631..e69f93a5 100644 --- a/pylot/core/util/widgets.py +++ b/pylot/core/util/widgets.py @@ -4613,14 +4613,19 @@ class FilterOptionsWidget(QWidget): self.autoMinFreq = QLabel('{} Hz') self.autoMaxFreq = QLabel('{} Hz') + self.manuLabel = QLabel('manual') + self.autoLabel = QLabel('auto') + self.freqGroupBox = QGroupBox("Frequency range") self.freqGroupLayout = QGridLayout() - self.freqGroupLayout.addWidget(self.freqminLabel, 0, 0) - self.freqGroupLayout.addWidget(self.freqminSpinBox, 0, 1) - self.freqGroupLayout.addWidget(self.autoMinFreq, 0, 2) - self.freqGroupLayout.addWidget(self.freqmaxLabel, 1, 0) - self.freqGroupLayout.addWidget(self.freqmaxSpinBox, 1, 1) - self.freqGroupLayout.addWidget(self.autoMaxFreq, 1, 2) + self.freqGroupLayout.addWidget(self.manuLabel, 0, 1, 80) + self.freqGroupLayout.addWidget(self.autoLabel, 0, 2, 80) + self.freqGroupLayout.addWidget(self.freqminLabel, 1, 0) + self.freqGroupLayout.addWidget(self.freqminSpinBox, 1, 1) + self.freqGroupLayout.addWidget(self.autoMinFreq, 1, 2) + self.freqGroupLayout.addWidget(self.freqmaxLabel, 2, 0) + self.freqGroupLayout.addWidget(self.freqmaxSpinBox, 2, 1) + self.freqGroupLayout.addWidget(self.autoMaxFreq, 2, 2) self.freqGroupLayout.setColumnStretch(0, 1) self.freqGroupLayout.setColumnStretch(1, 1) self.freqGroupLayout.setColumnStretch(2, 1)