![]() |
Audacity 3.2.0
|
The AboutDialog shows the program version and developer credits. More...
#include <AboutDialog.h>
Public Member Functions | |
AboutDialog (wxWindow *parent) | |
virtual | ~AboutDialog () |
void | OnOK (wxCommandEvent &event) |
![]() | |
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 () |
![]() | |
wxTabTraversalWrapper (Args &&... args) | |
wxTabTraversalWrapper (const wxTabTraversalWrapper &)=delete | |
wxTabTraversalWrapper (wxTabTraversalWrapper &&)=delete | |
wxTabTraversalWrapper & | operator= (const wxTabTraversalWrapper &)=delete |
wxTabTraversalWrapper & | operator= (wxTabTraversalWrapper &&)=delete |
Static Public Member Functions | |
static AboutDialog * | ActiveIntance () |
Public Attributes | |
wxStaticBitmap * | icon |
Private Types | |
enum | Role { roleTeamMember , roleEmeritusTeam , roleDeceased , roleContributor , roleGraphics , roleLibrary , roleThanks } |
Private Member Functions | |
void | PopulateAudacityPage (ShuttleGui &S) |
void | PopulateLicensePage (ShuttleGui &S) |
void | PopulateInformationPage (ShuttleGui &S) |
: Fills out the "Information" tab of the preferences dialogue More... | |
void | CreateCreditsList () |
void | AddCredit (const wxString &name, Role role) |
void | AddCredit (const wxString &name, TranslatableString format, Role role) |
wxString | GetCreditsByRole (AboutDialog::Role role) |
void | AddBuildinfoRow (wxTextOutputStream *str, const wxChar *libname, const TranslatableString &libdesc, const TranslatableString &status) |
Add a table row saying if a library is used or not. More... | |
void | AddBuildinfoRow (wxTextOutputStream *str, const TranslatableString &description, const wxChar *spec) |
Add a table row saying if a library is used or not. More... | |
Private Attributes | |
AboutDialogCreditItemsList | creditItems |
The AboutDialog shows the program version and developer credits.
It is a simple scrolling window with an 'OK... Audacious!' button to close it.
Definition at line 32 of file AboutDialog.h.
|
private |
Enumerator | |
---|---|
roleTeamMember | |
roleEmeritusTeam | |
roleDeceased | |
roleContributor | |
roleGraphics | |
roleLibrary | |
roleThanks |
Definition at line 48 of file AboutDialog.h.
AboutDialog::AboutDialog | ( | wxWindow * | parent | ) |
Definition at line 310 of file AboutDialog.cpp.
References ThemeBase::Colour(), eIsCreating, icon, PopulateAudacityPage(), PopulateInformationPage(), PopulateLicensePage(), S, anonymous_namespace{AboutDialog.cpp}::sActiveInstance, wxDialogWrapper::SetName(), theTheme, and XXO().
|
virtual |
Definition at line 893 of file AboutDialog.cpp.
References anonymous_namespace{AboutDialog.cpp}::sActiveInstance.
|
static |
Definition at line 305 of file AboutDialog.cpp.
References anonymous_namespace{AboutDialog.cpp}::sActiveInstance.
Referenced by AudacityApp::OnMenuAbout().
|
private |
Add a table row saying if a library is used or not.
Used when creating the build information tab to show build dates and file paths
Definition at line 881 of file AboutDialog.cpp.
|
private |
Add a table row saying if a library is used or not.
Used when creating the build information tab to show if each optional library is enabled or not, and what it does
Definition at line 863 of file AboutDialog.cpp.
Referenced by PopulateInformationPage().
|
private |
Definition at line 825 of file AboutDialog.cpp.
References AddCredit(), and name.
Referenced by AddCredit(), and CreateCreditsList().
|
private |
Definition at line 830 of file AboutDialog.cpp.
References creditItems, anonymous_namespace{ExportPCM.cpp}::format, name, str, and Verbatim().
|
private |
Definition at line 79 of file AboutDialog.cpp.
References AddCredit(), roleContributor, roleEmeritusTeam, roleGraphics, roleLibrary, roleTeamMember, roleThanks, wxT(), and XO().
Referenced by PopulateAudacityPage().
|
private |
Definition at line 839 of file AboutDialog.cpp.
References creditItems, and wxT().
Referenced by PopulateAudacityPage().
void AboutDialog::OnOK | ( | wxCommandEvent & | event | ) |
Definition at line 898 of file AboutDialog.cpp.
|
private |
Definition at line 343 of file AboutDialog.cpp.
References ABOUT_DIALOG_WIDTH, CreateCreditsList(), FormatHtmlText(), GetCreditsByRole(), icon, LOGOWITHNAME_HEIGHT, LOGOWITHNAME_WIDTH, ProgramName, roleContributor, roleEmeritusTeam, roleGraphics, roleLibrary, roleTeamMember, roleThanks, S, safenew, Verbatim(), wxImage(), wxT(), and XO().
Referenced by AboutDialog().
|
private |
: Fills out the "Information" tab of the preferences dialogue
Provides as much information as possible about build-time options and the libraries used, to try and make Linux support easier. Basically anything about the build we might wish to know should be visible here
Definition at line 497 of file AboutDialog.cpp.
References ABOUT_DIALOG_WIDTH, AddBuildinfoRow(), FileNames::CacheDir(), FileNames::ConfigDir(), FileNames::DataDir(), TranslatableString::Format(), FormatHtmlText(), REV_IDENT, S, safenew, FileNames::StateDir(), Verbatim(), wxT(), and XO().
Referenced by AboutDialog().
|
private |
Definition at line 776 of file AboutDialog.cpp.
References ABOUT_DIALOG_WIDTH, FormatHtmlText(), AccessibleLinksFormatter::FormatLink(), GPL_TEXT(), AccessibleLinksFormatter::Populate(), S, safenew, wxT(), XC, and XO().
Referenced by AboutDialog().
|
private |
Definition at line 58 of file AboutDialog.h.
Referenced by AddCredit(), and GetCreditsByRole().
wxStaticBitmap* AboutDialog::icon |
Definition at line 43 of file AboutDialog.h.
Referenced by AboutDialog(), and PopulateAudacityPage().