Audacity 3.2.0
|
#include <CloudProjectPropertiesDialog.h>
Public Types | |
enum class | Action { Cancel , SaveToCloud , SaveLocally } |
Static Public Member Functions | |
static std::pair< Action, std::string > | Show (const ServiceConfig &serviceConfig, OAuthService &authService, UserService &userService, const wxString &projectName, wxWindow *parent, bool allowLocalSave, AudiocomTrace) |
Private Member Functions | |
CloudProjectPropertiesDialog (const ServiceConfig &serviceConfig, OAuthService &authService, UserService &userService, const wxString &projectName, wxWindow *parent, AudiocomTrace) | |
~CloudProjectPropertiesDialog () override | |
bool | OnSubmit () |
void | LayoutControls () |
void | SetupEvents () |
std::string | GetProjectName () const |
void | OnUpdateCloudSaveState () |
Private Attributes | |
UserPanel * | mUserPanel {} |
wxTextCtrl * | mProjectName {} |
wxButton * | mSaveToCloud {} |
wxButton * | mSaveLocally {} |
wxButton * | mCancel {} |
Additional Inherited Members | |
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 |
Definition at line 37 of file CloudProjectPropertiesDialog.h.
|
strong |
Enumerator | |
---|---|
Cancel | |
SaveToCloud | |
SaveLocally |
Definition at line 46 of file CloudProjectPropertiesDialog.h.
|
private |
Definition at line 31 of file CloudProjectPropertiesDialog.cpp.
References audacity::cloud::audiocom::GetAuthorizationHandler(), LayoutControls(), mCancel, mProjectName, mSaveLocally, mSaveToCloud, mUserPanel, OnUpdateCloudSaveState(), audacity::cloud::audiocom::AuthorizationHandler::PushSuppressDialogs(), SetupAccessibility(), SetupEvents(), audacity::cloud::audiocom::UserPanel::SignIn, and XO().
|
overrideprivate |
Definition at line 74 of file CloudProjectPropertiesDialog.cpp.
References audacity::cloud::audiocom::GetAuthorizationHandler(), and audacity::cloud::audiocom::AuthorizationHandler::PopSuppressDialogs().
|
private |
Definition at line 204 of file CloudProjectPropertiesDialog.cpp.
References mProjectName, and audacity::ToUTF8().
Referenced by OnSubmit(), and OnUpdateCloudSaveState().
|
private |
Definition at line 113 of file CloudProjectPropertiesDialog.cpp.
References mCancel, mProjectName, mSaveLocally, mSaveToCloud, mUserPanel, and XO().
Referenced by CloudProjectPropertiesDialog().
|
private |
Definition at line 101 of file CloudProjectPropertiesDialog.cpp.
References GetProjectName(), audacity::cloud::audiocom::UserPanel::IsAuthorized(), and mUserPanel.
Referenced by SetupEvents().
|
private |
Definition at line 211 of file CloudProjectPropertiesDialog.cpp.
References GetProjectName(), and mSaveToCloud.
Referenced by CloudProjectPropertiesDialog(), and SetupEvents().
|
private |
Definition at line 154 of file CloudProjectPropertiesDialog.cpp.
References LoginDialog::Create, audacity::cloud::audiocom::GetOAuthService(), mCancel, mProjectName, mSaveLocally, mSaveToCloud, OnSubmit(), OnUpdateCloudSaveState(), and LoginDialog::SignIn().
Referenced by CloudProjectPropertiesDialog().
|
static |
Definition at line 80 of file CloudProjectPropertiesDialog.cpp.
References Cancel, SaveLocally, and SaveToCloud.
|
private |
Definition at line 72 of file CloudProjectPropertiesDialog.h.
Referenced by CloudProjectPropertiesDialog(), LayoutControls(), and SetupEvents().
|
private |
Definition at line 67 of file CloudProjectPropertiesDialog.h.
Referenced by CloudProjectPropertiesDialog(), GetProjectName(), LayoutControls(), and SetupEvents().
|
private |
Definition at line 71 of file CloudProjectPropertiesDialog.h.
Referenced by CloudProjectPropertiesDialog(), LayoutControls(), and SetupEvents().
|
private |
Definition at line 70 of file CloudProjectPropertiesDialog.h.
Referenced by CloudProjectPropertiesDialog(), LayoutControls(), OnUpdateCloudSaveState(), and SetupEvents().
|
private |
Definition at line 66 of file CloudProjectPropertiesDialog.h.
Referenced by CloudProjectPropertiesDialog(), LayoutControls(), and OnSubmit().