mirror of
https://github.com/cookiengineer/audacity
synced 2025-06-16 16:10:06 +02:00
Built-in Generate and Analyse dialogs: add missing access keys
This commit is contained in:
parent
752580beb9
commit
203d801293
@ -345,15 +345,15 @@ void EffectDtmf::PopulateOrExchange(ShuttleGui & S)
|
|||||||
vldDtmf.SetIncludes(wxArrayString(WXSIZEOF(kSymbols), kSymbols));
|
vldDtmf.SetIncludes(wxArrayString(WXSIZEOF(kSymbols), kSymbols));
|
||||||
return vldDtmf;
|
return vldDtmf;
|
||||||
})
|
})
|
||||||
.AddTextBox(XO("DTMF sequence:"), wxT(""), 10);
|
.AddTextBox(XO("DTMF &sequence:"), wxT(""), 10);
|
||||||
|
|
||||||
S.Id(ID_Amplitude)
|
S.Id(ID_Amplitude)
|
||||||
.Validator<FloatingPointValidator<double>>(
|
.Validator<FloatingPointValidator<double>>(
|
||||||
3, &dtmfAmplitude, NumValidatorStyle::NO_TRAILING_ZEROES,
|
3, &dtmfAmplitude, NumValidatorStyle::NO_TRAILING_ZEROES,
|
||||||
MIN_Amplitude, MAX_Amplitude)
|
MIN_Amplitude, MAX_Amplitude)
|
||||||
.AddTextBox(XO("Amplitude (0-1):"), wxT(""), 10);
|
.AddTextBox(XO("&Amplitude (0-1):"), wxT(""), 10);
|
||||||
|
|
||||||
S.AddPrompt(XO("Duration:"));
|
S.AddPrompt(XO("&Duration:"));
|
||||||
mDtmfDurationT = safenew
|
mDtmfDurationT = safenew
|
||||||
NumericTextCtrl(S.GetParent(), ID_Duration,
|
NumericTextCtrl(S.GetParent(), ID_Duration,
|
||||||
NumericConverter::TIME,
|
NumericConverter::TIME,
|
||||||
@ -365,7 +365,7 @@ void EffectDtmf::PopulateOrExchange(ShuttleGui & S)
|
|||||||
S.Name(XO("Duration"))
|
S.Name(XO("Duration"))
|
||||||
.AddWindow(mDtmfDurationT);
|
.AddWindow(mDtmfDurationT);
|
||||||
|
|
||||||
S.AddFixedText(XO("Tone/silence ratio:"), false);
|
S.AddFixedText(XO("&Tone/silence ratio:"), false);
|
||||||
mDtmfDutyCycleS = S.Id(ID_DutyCycle)
|
mDtmfDutyCycleS = S.Id(ID_DutyCycle)
|
||||||
.Style(wxSL_HORIZONTAL | wxEXPAND)
|
.Style(wxSL_HORIZONTAL | wxEXPAND)
|
||||||
.MinSize( { -1, -1 } )
|
.MinSize( { -1, -1 } )
|
||||||
|
@ -246,11 +246,11 @@ void EffectFindClipping::PopulateOrExchange(ShuttleGui & S)
|
|||||||
{
|
{
|
||||||
S.Validator<IntegerValidator<int>>(
|
S.Validator<IntegerValidator<int>>(
|
||||||
&mStart, NumValidatorStyle::DEFAULT, MIN_Start)
|
&mStart, NumValidatorStyle::DEFAULT, MIN_Start)
|
||||||
.TieTextBox(XO("Start threshold (samples):"), mStart, 10);
|
.TieTextBox(XO("&Start threshold (samples):"), mStart, 10);
|
||||||
|
|
||||||
S.Validator<IntegerValidator<int>>(
|
S.Validator<IntegerValidator<int>>(
|
||||||
&mStop, NumValidatorStyle::DEFAULT, MIN_Stop)
|
&mStop, NumValidatorStyle::DEFAULT, MIN_Stop)
|
||||||
.TieTextBox(XO("Stop threshold (samples):"), mStop, 10);
|
.TieTextBox(XO("St&op threshold (samples):"), mStop, 10);
|
||||||
}
|
}
|
||||||
S.EndMultiColumn();
|
S.EndMultiColumn();
|
||||||
}
|
}
|
||||||
|
@ -232,14 +232,14 @@ void EffectNoise::PopulateOrExchange(ShuttleGui & S)
|
|||||||
S.StartMultiColumn(2, wxCENTER);
|
S.StartMultiColumn(2, wxCENTER);
|
||||||
{
|
{
|
||||||
S.Validator<wxGenericValidator>(&mType)
|
S.Validator<wxGenericValidator>(&mType)
|
||||||
.AddChoice(XO("Noise type:"), Msgids(kTypeStrings, nTypes));
|
.AddChoice(XO("&Noise type:"), Msgids(kTypeStrings, nTypes));
|
||||||
|
|
||||||
S.Validator<FloatingPointValidator<double>>(
|
S.Validator<FloatingPointValidator<double>>(
|
||||||
6, &mAmp, NumValidatorStyle::NO_TRAILING_ZEROES, MIN_Amp, MAX_Amp
|
6, &mAmp, NumValidatorStyle::NO_TRAILING_ZEROES, MIN_Amp, MAX_Amp
|
||||||
)
|
)
|
||||||
.AddTextBox(XO("Amplitude (0-1):"), wxT(""), 12);
|
.AddTextBox(XO("&Amplitude (0-1):"), wxT(""), 12);
|
||||||
|
|
||||||
S.AddPrompt(XO("Duration:"));
|
S.AddPrompt(XO("&Duration:"));
|
||||||
mNoiseDurationT = safenew
|
mNoiseDurationT = safenew
|
||||||
NumericTextCtrl(S.GetParent(), wxID_ANY,
|
NumericTextCtrl(S.GetParent(), wxID_ANY,
|
||||||
NumericConverter::TIME,
|
NumericConverter::TIME,
|
||||||
|
@ -70,7 +70,7 @@ void EffectSilence::PopulateOrExchange(ShuttleGui & S)
|
|||||||
{
|
{
|
||||||
S.StartHorizontalLay();
|
S.StartHorizontalLay();
|
||||||
{
|
{
|
||||||
S.AddPrompt(XO("Duration:"));
|
S.AddPrompt(XO("&Duration:"));
|
||||||
mDurationT = safenew
|
mDurationT = safenew
|
||||||
NumericTextCtrl(S.GetParent(), wxID_ANY,
|
NumericTextCtrl(S.GetParent(), wxID_ANY,
|
||||||
NumericConverter::TIME,
|
NumericConverter::TIME,
|
||||||
|
@ -352,7 +352,7 @@ void EffectToneGen::PopulateOrExchange(ShuttleGui & S)
|
|||||||
S.StartMultiColumn(2, wxCENTER);
|
S.StartMultiColumn(2, wxCENTER);
|
||||||
{
|
{
|
||||||
S.Validator<wxGenericValidator>(&mWaveform)
|
S.Validator<wxGenericValidator>(&mWaveform)
|
||||||
.AddChoice(XO("Waveform:"),
|
.AddChoice(XO("&Waveform:"),
|
||||||
Msgids( kWaveStrings, nWaveforms ) );
|
Msgids( kWaveStrings, nWaveforms ) );
|
||||||
|
|
||||||
if (mChirp)
|
if (mChirp)
|
||||||
@ -374,7 +374,7 @@ void EffectToneGen::PopulateOrExchange(ShuttleGui & S)
|
|||||||
}
|
}
|
||||||
S.EndHorizontalLay();
|
S.EndHorizontalLay();
|
||||||
|
|
||||||
S.AddPrompt(XO("Frequency (Hz):"));
|
S.AddPrompt(XO("&Frequency (Hz):"));
|
||||||
S.StartHorizontalLay(wxEXPAND);
|
S.StartHorizontalLay(wxEXPAND);
|
||||||
{
|
{
|
||||||
S.StartHorizontalLay(wxLEFT, 50);
|
S.StartHorizontalLay(wxLEFT, 50);
|
||||||
@ -405,7 +405,7 @@ void EffectToneGen::PopulateOrExchange(ShuttleGui & S)
|
|||||||
}
|
}
|
||||||
S.EndHorizontalLay();
|
S.EndHorizontalLay();
|
||||||
|
|
||||||
S.AddPrompt(XO("Amplitude (0-1):"));
|
S.AddPrompt(XO("&Amplitude (0-1):"));
|
||||||
S.StartHorizontalLay(wxEXPAND);
|
S.StartHorizontalLay(wxEXPAND);
|
||||||
{
|
{
|
||||||
S.StartHorizontalLay(wxLEFT, 50);
|
S.StartHorizontalLay(wxLEFT, 50);
|
||||||
@ -433,7 +433,7 @@ void EffectToneGen::PopulateOrExchange(ShuttleGui & S)
|
|||||||
S.EndHorizontalLay();
|
S.EndHorizontalLay();
|
||||||
|
|
||||||
S.Validator<wxGenericValidator>(&mInterpolation)
|
S.Validator<wxGenericValidator>(&mInterpolation)
|
||||||
.AddChoice(XO("Interpolation:"),
|
.AddChoice(XO("I&nterpolation:"),
|
||||||
Msgids( kInterStrings, nInterpolations ) );
|
Msgids( kInterStrings, nInterpolations ) );
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
@ -443,16 +443,16 @@ void EffectToneGen::PopulateOrExchange(ShuttleGui & S)
|
|||||||
MIN_Frequency,
|
MIN_Frequency,
|
||||||
mProjectRate / 2.0
|
mProjectRate / 2.0
|
||||||
)
|
)
|
||||||
.AddTextBox(XO("Frequency (Hz):"), wxT(""), 12);
|
.AddTextBox(XO("&Frequency (Hz):"), wxT(""), 12);
|
||||||
|
|
||||||
t = S.Validator<FloatingPointValidator<double>>(
|
t = S.Validator<FloatingPointValidator<double>>(
|
||||||
6, &mAmplitude[0], NumValidatorStyle::NO_TRAILING_ZEROES,
|
6, &mAmplitude[0], NumValidatorStyle::NO_TRAILING_ZEROES,
|
||||||
MIN_Amplitude, MAX_Amplitude
|
MIN_Amplitude, MAX_Amplitude
|
||||||
)
|
)
|
||||||
.AddTextBox(XO("Amplitude (0-1):"), wxT(""), 12);
|
.AddTextBox(XO("&Amplitude (0-1):"), wxT(""), 12);
|
||||||
}
|
}
|
||||||
|
|
||||||
S.AddPrompt(XO("Duration:"));
|
S.AddPrompt(XO("&Duration:"));
|
||||||
mToneDurationT = safenew
|
mToneDurationT = safenew
|
||||||
NumericTextCtrl(S.GetParent(), wxID_ANY,
|
NumericTextCtrl(S.GetParent(), wxID_ANY,
|
||||||
NumericConverter::TIME,
|
NumericConverter::TIME,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user