22 #include "../../settingsforqt.h"
24 #include <QGridLayout>
30 QGridLayout *layout =
new QGridLayout;
32 layout->setColumnStretch(1, 1);
38 layout->addWidget(
new QLabel(tr(
"Synthesizer mode")), 0, 0);
43 synthesizerVolumeDynamicLabel->setWordWrap(
true);
44 layout->addWidget(synthesizerVolumeDynamicLabel, 1, 0);
49 stroboscopeLabel->setWordWrap(
true);
50 layout->addWidget(stroboscopeLabel, 2, 0);
54 QLabel *disableAutomaticKeySelectionLabel =
new PreferredTextSizeLabel(tr(
"Disable automatic key selection"));
55 disableAutomaticKeySelectionLabel->setWordWrap(
true);
56 layout->addWidget(disableAutomaticKeySelectionLabel, 3, 0);
59 layout->setRowStretch(5, 1);
68 QObject::connect(
mStroboscopeCheckBox, SIGNAL(toggled(
bool)), optionsDialog, SLOT(onChangesMade()));
QCheckBox * mSynthesizerVolumeDynamicCheckBox
QCheckBox * mDisableAutomaticKeySelecetionCheckBox
void apply() overridefinal
virtual void setSoundGeneratorVolumeDynamic(bool dynamic) overridefinal
Set flag for dynamic volume adaption in the tuning mode.
virtual void setStroboscopeMode(bool enable) overridefinal
Set flag indicating the stroboscopic mode of the tuning indicator.
virtual void setDisableAutomaticKeySelection(bool disable) overridefinal
Set flag disabling automatic selection of the key during tuning.
virtual void setSoundGeneratorMode(SoundGenerator::SoundGeneratorMode mode) overridefinal
Set the last operation mode of the sound generator.
PageEnvironmentTuning(OptionsDialog *optionsDialog)
Produce a sound which imitates the string.
Produce a simple sine wave as reference.
QComboBox * mSynthesizerModeComboBox
QCheckBox * mStroboscopeCheckBox
static SettingsForQt & getSingleton()
Getter function for the singleton.