Audacity 3.2.0
|
A dialog used (at start up) to present the user with a choice of languages for Audacity. More...
Public Member Functions | |
LangChoiceDialog (wxWindow *parent, wxWindowID id, const TranslatableString &title) | |
wxString | GetLang () |
Public Member Functions inherited from wxDialogWrapper | |
wxDialogWrapper () | |
wxDialogWrapper (wxWindow *parent, wxWindowID id, const TranslatableString &title, const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxDefaultSize, long style=wxDEFAULT_DIALOG_STYLE, const TranslatableString &name=XO("Dialog")) | |
bool | Create (wxWindow *parent, wxWindowID id, const TranslatableString &title, const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxDefaultSize, long style=wxDEFAULT_DIALOG_STYLE, const TranslatableString &name=XO("Dialog")) |
void | SetTitle (const TranslatableString &title) |
void | SetLabel (const TranslatableString &title) |
void | SetName (const TranslatableString &title) |
void | SetName () |
Public Member Functions inherited from wxTabTraversalWrapper< wxDialog > | |
wxTabTraversalWrapper (Args &&... args) | |
wxTabTraversalWrapper (const wxTabTraversalWrapper &)=delete | |
wxTabTraversalWrapper (wxTabTraversalWrapper &&)=delete | |
wxTabTraversalWrapper & | operator= (const wxTabTraversalWrapper &)=delete |
wxTabTraversalWrapper & | operator= (wxTabTraversalWrapper &&)=delete |
Private Member Functions | |
void | OnOk (wxCommandEvent &event) |
Private Attributes | |
wxChoice * | mChoice |
wxString | mLang |
int | mNumLangs |
wxArrayString | mLangCodes |
TranslatableStrings | mLangNames |
A dialog used (at start up) to present the user with a choice of languages for Audacity.
Definition at line 28 of file LangChoice.cpp.
LangChoiceDialog::LangChoiceDialog | ( | wxWindow * | parent, |
wxWindowID | id, | ||
const TranslatableString & | title | ||
) |
Definition at line 67 of file LangChoice.cpp.
References FileNames::AudacityPathList(), eIsCreating, eOkButton, Languages::GetLanguages(), Languages::GetSystemLanguageCode(), make_iterator_range(), S, and XXO().
|
inline |
Definition at line 34 of file LangChoice.cpp.
References mLang.
Referenced by ChooseLanguage().
|
private |
Definition at line 99 of file LangChoice.cpp.
References AudacityMessageBox(), FileNames::AudacityPathList(), Languages::GetSystemLanguageCode(), make_iterator_range(), mChoice, mLang, mLangCodes, mLangNames, and XO().
|
private |
Definition at line 39 of file LangChoice.cpp.
Referenced by OnOk().
|
private |
Definition at line 40 of file LangChoice.cpp.
|
private |
Definition at line 43 of file LangChoice.cpp.
Referenced by OnOk().
|
private |
Definition at line 44 of file LangChoice.cpp.
Referenced by OnOk().
|
private |
Definition at line 42 of file LangChoice.cpp.