Audacity 3.2.0
Public Member Functions | Static Public Member Functions | List of all members
audacity::cloud::audiocom::sync::ConnectionIssuesDialog Class Referencefinal

#include <ConnectionIssuesDialog.h>

Inheritance diagram for audacity::cloud::audiocom::sync::ConnectionIssuesDialog:
[legend]
Collaboration diagram for audacity::cloud::audiocom::sync::ConnectionIssuesDialog:
[legend]

Public Member Functions

 ConnectionIssuesDialog (const AudacityProject *project)
 
- Public Member Functions inherited from audacity::cloud::audiocom::sync::AudioComDialogBase
DialogButtonIdentifier ShowDialog (std::function< DialogButtonIdentifier()> poller={})
 

Static Public Member Functions

static DialogButtonIdentifier OkButtonIdentifier ()
 
- Static Public Member Functions inherited from audacity::cloud::audiocom::sync::AudioComDialogBase
static DialogButtonIdentifier CancelButtonIdentifier ()
 

Additional Inherited Members

- 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 &paragraph)
 
void AddButton (DialogButtonIdentifier identifier, const TranslatableString &text, int type=None)
 
void SetDialogTitle (const TranslatableString &dialog)
 
virtual bool HasSeparator () const
 
void EndDialog (DialogButtonIdentifier identifier)
 

Detailed Description

Definition at line 17 of file ConnectionIssuesDialog.h.

Constructor & Destructor Documentation

◆ ConnectionIssuesDialog()

audacity::cloud::audiocom::sync::ConnectionIssuesDialog::ConnectionIssuesDialog ( const AudacityProject project)

Definition at line 16 of file ConnectionIssuesDialog.cpp.

18 : AudioComDialogBase { project, { "ConnectionIssuesDialog" } }
19{
20 AddTitle(XO("We encountered an issue syncing your file"));
22 "Don't worry, your changes will be saved to a temporary location and will be synchronized to your cloud copy when your internet connection resumes."));
24 OkButtonIdentifier(), XO("OK"),
26}
XO("Cut/Copy/Paste")
const auto project
void AddTitle(const TranslatableString &title)
void AddButton(DialogButtonIdentifier identifier, const TranslatableString &text, int type=None)
AudioComDialogBase(const AudacityProject *project, const DialogIdentifier &optionalPrefsIdentifier={}, DialogMode dialogMode=DialogMode::Saving)
void AddParagraph(const TranslatableString &paragraph)

Member Function Documentation

◆ OkButtonIdentifier()

DialogButtonIdentifier audacity::cloud::audiocom::sync::ConnectionIssuesDialog::OkButtonIdentifier ( )
static

Definition at line 27 of file ConnectionIssuesDialog.cpp.

28{
30}
TaggedIdentifier< DialogButtonIdentifierTag > DialogButtonIdentifier

The documentation for this class was generated from the following files: