Audacity 3.2.0
|
A dialog, that has "Send", "Don't send" and help buttons. More...
#include <ErrorReportDialog.h>
Public Member Functions | |
ErrorReportDialog (wxWindow *parent, const TranslatableString &dlogTitle, const TranslatableString &message, const ManualPageID &helpUrl, const wxString &log, const bool modal) | |
~ErrorReportDialog () | |
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 | OnSend (wxCommandEvent &event) |
void | OnDontSend (wxCommandEvent &event) |
void | OnHelp (wxCommandEvent &event) |
Private Attributes | |
std::unique_ptr< audacity::sentry::Report > | mReport |
ManualPageID | mHelpUrl |
wxTextCtrl * | mCommentsControl { nullptr } |
bool | mIsModal |
A dialog, that has "Send", "Don't send" and help buttons.
This dialog is used in place of error dialogs for Audacity errors when Sentry reporting is enabled.
Definition at line 35 of file ErrorReportDialog.h.
ErrorReportDialog::ErrorReportDialog | ( | wxWindow * | parent, |
const TranslatableString & | dlogTitle, | ||
const TranslatableString & | message, | ||
const ManualPageID & | helpUrl, | ||
const wxString & | log, | ||
const bool | modal | ||
) |
Definition at line 68 of file ErrorReportDialog.cpp.
References audacity::sentry::Exception::AddData(), ShuttleGui::AddSpace(), ShuttleGuiBase::AddTextBox(), ShuttleGuiBase::AddVariableText(), ThemeBase::Bitmap(), audacity::sentry::Exception::Create(), eIsCreating, ShuttleGuiBase::EndVerticalLay(), ErrorReportDialogHasUserComment, AccessibleLinksFormatter::FormatLink(), anonymous_namespace{ErrorReportDialog.cpp}::GetCollapsiblePaneBorder(), MaxUserCommentLength, ShuttleGui::MinSize(), ShuttleGui::Name(), AccessibleLinksFormatter::Populate(), S, safenew, ShuttleGuiBase::StartVerticalLay(), ShuttleGui::Style(), theTheme, audacity::ToUTF8(), wxT(), XC, and XO().
ErrorReportDialog::~ErrorReportDialog | ( | ) |
Definition at line 253 of file ErrorReportDialog.cpp.
|
private |
Definition at line 272 of file ErrorReportDialog.cpp.
|
private |
Definition at line 277 of file ErrorReportDialog.cpp.
References Identifier::GET(), HelpText(), mHelpUrl, HelpSystem::ShowHelp(), HelpSystem::ShowHtmlText(), TitleText(), and wxT().
|
private |
Definition at line 257 of file ErrorReportDialog.cpp.
References BasicUI::CallAfter(), mCommentsControl, mReport, and audacity::ToUTF8().
|
private |
Definition at line 55 of file ErrorReportDialog.h.
Referenced by OnSend().
|
private |
Definition at line 53 of file ErrorReportDialog.h.
Referenced by OnHelp().
|
private |
Definition at line 57 of file ErrorReportDialog.h.
|
private |
Definition at line 51 of file ErrorReportDialog.h.
Referenced by OnSend().