Skip to content

Commit

Permalink
Enable/Disable fft length label along with spin box.
Browse files Browse the repository at this point in the history
  • Loading branch information
netterfield committed Mar 20, 2014
1 parent 619ae03 commit e06f042
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
3 changes: 2 additions & 1 deletion src/widgets/fftoptions.cpp
Expand Up @@ -42,7 +42,7 @@ FFTOptions::FFTOptions(QWidget *parent)
_apodize->setProperty("si","Apodi&ze");
textLabel2->setProperty("si","Fun&ction:");
_removeMean->setProperty("si","Remo&ve mean");
TextLabel1_9->setProperty("si","FFT &length: 2^");
_FFTLengthLabel->setProperty("si","FFT &length: 2^");
_interleavedAverage->setProperty("si","Interleave&d average");
_interpolateOverHoles->setProperty("si","Interpolate over &holes");
TextLabel1_9_2->setProperty("si","Sa&mple rate:");
Expand Down Expand Up @@ -257,6 +257,7 @@ void FFTOptions::changedApodizeFxn() {

void FFTOptions::clickedInterleaved() {
_FFTLength->setEnabled(_interleavedAverage->isChecked());
_FFTLengthLabel->setEnabled(_interleavedAverage->isChecked());
}


Expand Down
6 changes: 3 additions & 3 deletions src/widgets/fftoptions.ui
Expand Up @@ -6,8 +6,8 @@
<rect>
<x>0</x>
<y>0</y>
<width>739</width>
<height>196</height>
<width>737</width>
<height>194</height>
</rect>
</property>
<layout class="QGridLayout" name="gridLayout_2">
Expand Down Expand Up @@ -171,7 +171,7 @@
<number>0</number>
</property>
<item row="0" column="2">
<widget class="QLabel" name="TextLabel1_9">
<widget class="QLabel" name="_FFTLengthLabel">
<property name="sizePolicy">
<sizepolicy hsizetype="Fixed" vsizetype="Fixed">
<horstretch>0</horstretch>
Expand Down

0 comments on commit e06f042

Please sign in to comment.