Audacity 3.2.0
|
Public Member Functions | |
InitialStatePanel (ShareAudioDialog &parent) | |
void | PopulateInitialStatePanel (ShuttleGui &s) |
void | UpdateUserData () |
void | OnLinkButtonPressed () |
void | SetAnonymousState () |
wxString | GetTrackTitle () const |
bool | HasValidTitle () const |
Public Attributes | |
ShareAudioDialog & | parent |
wxWindow * | root { nullptr } |
UserImage * | avatar { nullptr } |
wxStaticText * | name { nullptr } |
wxButton * | oauthButton { nullptr } |
wxPanel * | anonInfoPanel { nullptr } |
wxPanel * | authorizedInfoPanel { nullptr } |
wxTextCtrl * | trackTitle { nullptr } |
Observer::Subscription | mUserDataChangedSubscription |
Definition at line 64 of file ShareAudioDialog.h.
|
explicit |
Definition at line 590 of file ShareAudioDialog.cpp.
References UpdateUserData().
wxString cloud::audiocom::ShareAudioDialog::InitialStatePanel::GetTrackTitle | ( | ) | const |
Definition at line 782 of file ShareAudioDialog.cpp.
Referenced by cloud::audiocom::ShareAudioDialog::StartUploadProcess().
bool cloud::audiocom::ShareAudioDialog::InitialStatePanel::HasValidTitle | ( | ) | const |
Definition at line 789 of file ShareAudioDialog.cpp.
Referenced by cloud::audiocom::ShareAudioDialog::Populate().
void cloud::audiocom::ShareAudioDialog::InitialStatePanel::OnLinkButtonPressed | ( | ) |
Definition at line 746 of file ShareAudioDialog.cpp.
References URLSchemesRegistry::Get(), cloud::audiocom::GetOAuthService(), cloud::audiocom::GetServiceConfig(), URLSchemesRegistry::IsURLHandlingSupported(), BasicUI::OpenInDefaultBrowser(), and audacity::ToWXString().
void cloud::audiocom::ShareAudioDialog::InitialStatePanel::PopulateInitialStatePanel | ( | ShuttleGui & | s | ) |
Definition at line 597 of file ShareAudioDialog.cpp.
References ShuttleGuiBase::AddButton(), ShuttleGuiBase::AddFixedText(), ShuttleGui::AddSpace(), ShuttleGuiBase::AddTextBox(), ShuttleGuiBase::AddVariableText(), ShuttleGuiBase::AddWindow(), cloud::audiocom::anonymous_namespace{ShareAudioDialog.cpp}::avatarSize, ShuttleGuiBase::EndHorizontalLay(), ShuttleGuiBase::EndInvisiblePanel(), ShuttleGuiBase::EndVerticalLay(), AccessibleLinksFormatter::FormatLink(), ShuttleGuiBase::GetParent(), name, AccessibleLinksFormatter::Populate(), safenew, ShuttleGuiBase::SetBorder(), ShuttleGuiBase::StartHorizontalLay(), ShuttleGuiBase::StartInvisiblePanel(), ShuttleGuiBase::StartVerticalLay(), XO(), and XXO().
Referenced by cloud::audiocom::ShareAudioDialog::Populate().
void cloud::audiocom::ShareAudioDialog::InitialStatePanel::SetAnonymousState | ( | ) |
Definition at line 767 of file ShareAudioDialog.cpp.
References ThemeBase::Bitmap(), name, theTheme, XO(), and XXO().
void cloud::audiocom::ShareAudioDialog::InitialStatePanel::UpdateUserData | ( | ) |
Definition at line 687 of file ShareAudioDialog.cpp.
References ThemeBase::Bitmap(), cloud::audiocom::anonymous_namespace{UserService.cpp}::displayName, cloud::audiocom::GetOAuthService(), cloud::audiocom::GetUserService(), name, theTheme, and XXO().
Referenced by InitialStatePanel().
wxPanel* cloud::audiocom::ShareAudioDialog::InitialStatePanel::anonInfoPanel { nullptr } |
Definition at line 75 of file ShareAudioDialog.h.
wxPanel* cloud::audiocom::ShareAudioDialog::InitialStatePanel::authorizedInfoPanel { nullptr } |
Definition at line 76 of file ShareAudioDialog.h.
UserImage* cloud::audiocom::ShareAudioDialog::InitialStatePanel::avatar { nullptr } |
Definition at line 72 of file ShareAudioDialog.h.
Observer::Subscription cloud::audiocom::ShareAudioDialog::InitialStatePanel::mUserDataChangedSubscription |
Definition at line 79 of file ShareAudioDialog.h.
wxStaticText* cloud::audiocom::ShareAudioDialog::InitialStatePanel::name { nullptr } |
Definition at line 73 of file ShareAudioDialog.h.
wxButton* cloud::audiocom::ShareAudioDialog::InitialStatePanel::oauthButton { nullptr } |
Definition at line 74 of file ShareAudioDialog.h.
ShareAudioDialog& cloud::audiocom::ShareAudioDialog::InitialStatePanel::parent |
Definition at line 68 of file ShareAudioDialog.h.
wxWindow* cloud::audiocom::ShareAudioDialog::InitialStatePanel::root { nullptr } |
Definition at line 70 of file ShareAudioDialog.h.
Referenced by cloud::audiocom::ShareAudioDialog::StartUploadProcess().
wxTextCtrl* cloud::audiocom::ShareAudioDialog::InitialStatePanel::trackTitle { nullptr } |
Definition at line 77 of file ShareAudioDialog.h.
Referenced by cloud::audiocom::ShareAudioDialog::Populate().