Audacity 3.2.0
|
#include <WaitForActionDialog.h>
Public Member Functions | |
WaitForActionDialog (const AudacityProject *project, const TranslatableString &title=XO("Waiting for audio.com"), const TranslatableString &message=XO("An action on audio.com is required before you can continue. Once you are done with it, click Retry"), bool retryButton=true) | |
Public Member Functions inherited from audacity::cloud::audiocom::sync::AudioComDialogBase | |
DialogButtonIdentifier | ShowDialog (std::function< DialogButtonIdentifier()> poller={}) |
Private Member Functions | |
bool | HasSeparator () const override |
Additional Inherited Members | |
Static Public Member Functions inherited from audacity::cloud::audiocom::sync::AudioComDialogBase | |
static DialogButtonIdentifier | CancelButtonIdentifier () |
Protected Types inherited from audacity::cloud::audiocom::sync::AudioComDialogBase | |
enum class | DialogMode { Opening , Saving } |
enum | ButtonType { None = 0 , DefaultButton = 1 , EscButton = 2 } |
Protected Member Functions inherited from audacity::cloud::audiocom::sync::AudioComDialogBase | |
AudioComDialogBase (const AudacityProject *project, const DialogIdentifier &optionalPrefsIdentifier={}, DialogMode dialogMode=DialogMode::Saving) | |
virtual | ~AudioComDialogBase ()=default |
void | AddTitle (const TranslatableString &title) |
void | AddParagraph (const TranslatableString ¶graph) |
void | AddButton (DialogButtonIdentifier identifier, const TranslatableString &text, int type=None) |
void | SetDialogTitle (const TranslatableString &dialog) |
virtual bool | HasSeparator () const |
void | EndDialog (DialogButtonIdentifier identifier) |
Definition at line 17 of file WaitForActionDialog.h.
audacity::cloud::audiocom::sync::WaitForActionDialog::WaitForActionDialog | ( | const AudacityProject * | project, |
const TranslatableString & | title = XO("Waiting for audio.com") , |
||
const TranslatableString & | message = XO( "An action on audio.com is required before you can continue. Once you are done with it, click Retry") , |
||
bool | retryButton = true |
||
) |
Definition at line 15 of file WaitForActionDialog.cpp.
References audacity::cloud::audiocom::sync::AudioComDialogBase::AddButton(), audacity::cloud::audiocom::sync::AudioComDialogBase::AddParagraph(), audacity::cloud::audiocom::sync::AudioComDialogBase::AddTitle(), audacity::cloud::audiocom::sync::AudioComDialogBase::CancelButtonIdentifier(), audacity::cloud::audiocom::sync::AudioComDialogBase::DefaultButton, audacity::cloud::audiocom::sync::AudioComDialogBase::EscButton, title, and XO().
|
overrideprivatevirtual |
Reimplemented from audacity::cloud::audiocom::sync::AudioComDialogBase.
Definition at line 28 of file WaitForActionDialog.cpp.