58 return XO(
"Preferences for GUI");
63 return "Interface_Preferences";
110 S.StartStatic(
XO(
"Display"));
112 S.StartMultiColumn(2);
114 S.TieChoice(
XXO(
"&Language:"), LanguageSetting);
117 S.TieChoice(
XXO(
"Meter dB &range:"), DBSetting);
123 S.StartStatic(
XO(
"Options"));
126 S.TieCheckBox(
XXO(
"Show 'How to Get &Help' at launch"),
127 {
wxT(
"/GUI/ShowSplashScreen"),
129 S.TieCheckBox(
XXO(
"Show e&xtra menus"),
130 {
wxT(
"/GUI/ShowExtraMenus"),
132#ifdef EXPERIMENTAL_THEME_PREFS
135 S.TieCheckBox(
XXO(
"Show alternative &styling (Mac vs PC)"),
136 {
wxT(
"/GUI/ShowMac"),
139 S.TieCheckBox(
XXO(
"&Beep on completion of longer activities"),
140 {
wxT(
"/GUI/BeepOnCompletion"),
142 S.TieCheckBox(
XXO(
"Re&tain labels if selection snaps to a label"),
143 {
wxT(
"/GUI/RetainLabels"),
147 S.TieCheckBox(
XXO(
"Use mostly Left-to-Right layouts in RTL languages"),
148 {
"/GUI/RtlWorkaround",
151#ifdef EXPERIMENTAL_CEE_NUMBERS_OPTION
152 S.TieCheckBox(
XXO(
"Never use comma as decimal point"),
153 {
wxT(
"/Locale/CeeNumberFormat"),
171 if (!(lang.empty() || lang == L
"System") && (lang != usedLang)) {
198 static BoolSetting pref {
"/GUI/ShowClipping",
false };
IntSetting DecibelScaleCutoff
Negation of this value is the lowest dB level that should be shown in dB scales.
XXO("&Cut/Copy/Paste Toolbar")
BoolSetting & ShowRMSPref()
BoolSetting & ShowClippingPref()
#define GUI_PREFS_PLUGIN_SYMBOL
audacity::BasicSettings * gPrefs
THEME_API ChoiceSetting & GUITheme()
static void ApplyUpdatedImages()
The top-level handle to an Audacity project. It serves as a source of events that other objects can b...
This specialization of Setting for bool adds a Toggle method to negate the saved value.
ComponentInterfaceSymbol pairs a persistent string identifier used internally with an optional,...
A PrefsPanel for general GUI preferences.
GUIPrefs(wxWindow *parent, wxWindowID winid)
wxArrayStringEx mRangeCodes
TranslatableString GetDescription() const override
wxArrayStringEx mLangCodes
void PopulateOrExchange(ShuttleGui &S) override
ComponentInterfaceSymbol GetSymbol() const override
TranslatableStrings mLangNames
ManualPageID HelpPageName() override
If not empty string, the Help button is added below the panel.
TranslatableStrings mRangeChoices
Base class for a panel in the PrefsDialog. Classes derived from this class include BatchPrefs,...
void Invalidate() override
Derived from ShuttleGuiBase, an Audacity specific class for shuttling data to and from GUI.
void DeleteUnusedThemes()
static bool LoadPreferredTheme()
Holds a msgid for the translation catalog; may also bind format arguments.
virtual bool Flush() noexcept=0
virtual bool Write(const wxString &key, bool value)=0
virtual bool Read(const wxString &key, bool *value) const =0
iterator insert(const_iterator pos, std::initializer_list< T > items)
FILES_API const FilePaths & AudacityPathList()
A list of directories that should be searched for Audacity files (plug-ins, help files,...
AUDACITY_DLL_API wxString SetLang(const wxString &lang)
void GetLanguages(FilePaths pathList, wxArrayString &langCodes, TranslatableStrings &langNames)
PrefsPanel::Registration sAttachment