Audacity 3.2.0
|
#include <ProjectsListDialog.h>
Classes | |
class | ProjectsTableData |
Public Member Functions | |
ProjectsListDialog (wxWindow *parent, AudacityProject *project) | |
~ProjectsListDialog () override | |
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 | SetupHandlers () |
void | OnBeforeRefresh () |
void | OnRefreshCompleted (bool success) |
void | FormatPageLabel () |
void | OnOpen () |
void | OnOpenAudioCom () |
void | OnGridSelect (wxGridRangeSelectEvent &event) |
void | OnSelectCell (wxGridEvent &event) |
void | OnSearchTextChanged () |
void | OnSearchTextSubmitted () |
Private Attributes | |
AudacityProject * | mProject { nullptr } |
wxTextCtrl * | mSearchCtrl { nullptr } |
wxGrid * | mProjectsTable { nullptr } |
ProjectsTableData * | mProjectsTableData { nullptr } |
wxStaticText * | mPageLabel { nullptr } |
wxButton * | mPrevPageButton { nullptr } |
wxButton * | mNextPageButton { nullptr } |
wxButton * | mOpenButton { nullptr } |
wxButton * | mOpenAudioCom { nullptr } |
wxString | mLastSearchValue |
std::unique_ptr< wxTimer > | mSearchTimer |
bool | mInRangeSelection { false } |
Definition at line 33 of file ProjectsListDialog.h.
audacity::cloud::audiocom::sync::ProjectsListDialog::ProjectsListDialog | ( | wxWindow * | parent, |
AudacityProject * | project | ||
) |
Definition at line 549 of file ProjectsListDialog.cpp.
References BasicUI::CallAfter(), audacity::cloud::audiocom::sync::ProjectsListDialog::ProjectsTableData::GetColWidth(), audacity::cloud::audiocom::sync::ProjectsListDialog::ProjectsTableData::GetNumberCols(), mLastSearchValue, mNextPageButton, mOpenAudioCom, mOpenButton, mPageLabel, mPrevPageButton, mProjectsTable, mProjectsTableData, mSearchCtrl, mSearchTimer, audacity::cloud::audiocom::sync::ProjectsListDialog::ProjectsTableData::Refresh(), safenew, SetupHandlers(), and XO().
|
overridedefault |
|
private |
Definition at line 771 of file ProjectsListDialog.cpp.
References audacity::cloud::audiocom::sync::ProjectsListDialog::ProjectsTableData::GetCurrentPage(), audacity::cloud::audiocom::sync::ProjectsListDialog::ProjectsTableData::GetPagesCount(), mPageLabel, mProjectsTableData, and XO().
Referenced by OnRefreshCompleted().
|
private |
Definition at line 748 of file ProjectsListDialog.cpp.
References mNextPageButton, mPrevPageButton, and mProjectsTable.
Referenced by audacity::cloud::audiocom::sync::ProjectsListDialog::ProjectsTableData::Refresh().
|
private |
Definition at line 841 of file ProjectsListDialog.cpp.
Referenced by SetupHandlers().
|
private |
Definition at line 786 of file ProjectsListDialog.cpp.
References BasicUI::CallAfter(), audacity::cloud::audiocom::sync::AudioComDialogBase::CancelButtonIdentifier(), audacity::cloud::audiocom::CloudSyncService::GetProjectState(), audacity::cloud::audiocom::sync::ProjectsListDialog::ProjectsTableData::GetSelectedProjectInfo(), audacity::cloud::audiocom::sync::ProjectsListDialog::ProjectsTableData::GetSelectedProjectUrl(), mProject, mProjectsTable, mProjectsTableData, BasicUI::OpenInDefaultBrowser(), audacity::cloud::audiocom::CloudSyncService::PendingSync, project, audacity::ToWXString(), and audacity::cloud::audiocom::sync::UnsyncedProjectDialog::VisitAudioComButtonIdentifier().
Referenced by SetupHandlers().
|
private |
Definition at line 828 of file ProjectsListDialog.cpp.
References BasicUI::OpenInDefaultBrowser(), and audacity::ToWXString().
Referenced by SetupHandlers().
|
private |
Definition at line 755 of file ProjectsListDialog.cpp.
References FormatPageLabel(), audacity::cloud::audiocom::sync::ProjectsListDialog::ProjectsTableData::HasNextPage(), audacity::cloud::audiocom::sync::ProjectsListDialog::ProjectsTableData::HasPrevPage(), mNextPageButton, mPrevPageButton, mProjectsTable, and mProjectsTableData.
Referenced by audacity::cloud::audiocom::sync::ProjectsListDialog::ProjectsTableData::Refresh().
|
private |
Definition at line 881 of file ProjectsListDialog.cpp.
Referenced by SetupHandlers().
|
private |
Definition at line 886 of file ProjectsListDialog.cpp.
Referenced by SetupHandlers().
|
private |
Definition at line 871 of file ProjectsListDialog.cpp.
Referenced by SetupHandlers().
|
private |
Definition at line 647 of file ProjectsListDialog.cpp.
References mNextPageButton, mOpenAudioCom, mOpenButton, mPrevPageButton, mProjectsTable, mProjectsTableData, mSearchCtrl, audacity::cloud::audiocom::sync::ProjectsListDialog::ProjectsTableData::NextPage(), OnGridSelect(), OnOpen(), OnOpenAudioCom(), OnSearchTextChanged(), OnSearchTextSubmitted(), OnSelectCell(), and audacity::cloud::audiocom::sync::ProjectsListDialog::ProjectsTableData::PrevPage().
Referenced by ProjectsListDialog().
|
private |
Definition at line 82 of file ProjectsListDialog.h.
|
private |
Definition at line 74 of file ProjectsListDialog.h.
Referenced by audacity::cloud::audiocom::sync::ProjectsListDialog::ProjectsTableData::NextPage(), audacity::cloud::audiocom::sync::ProjectsListDialog::ProjectsTableData::PrevPage(), and ProjectsListDialog().
|
private |
Definition at line 69 of file ProjectsListDialog.h.
Referenced by OnBeforeRefresh(), OnRefreshCompleted(), ProjectsListDialog(), and SetupHandlers().
|
private |
Definition at line 72 of file ProjectsListDialog.h.
Referenced by ProjectsListDialog(), and SetupHandlers().
|
private |
Definition at line 71 of file ProjectsListDialog.h.
Referenced by ProjectsListDialog(), and SetupHandlers().
|
private |
Definition at line 67 of file ProjectsListDialog.h.
Referenced by FormatPageLabel(), and ProjectsListDialog().
|
private |
Definition at line 68 of file ProjectsListDialog.h.
Referenced by OnBeforeRefresh(), OnRefreshCompleted(), ProjectsListDialog(), and SetupHandlers().
|
private |
Definition at line 60 of file ProjectsListDialog.h.
Referenced by OnOpen(), and audacity::cloud::audiocom::sync::ProjectsListDialog::ProjectsTableData::Refresh().
|
private |
Definition at line 64 of file ProjectsListDialog.h.
Referenced by audacity::cloud::audiocom::sync::ProjectsListDialog::ProjectsTableData::GetSelectedProjectInfo(), audacity::cloud::audiocom::sync::ProjectsListDialog::ProjectsTableData::GetSelectedProjectUrl(), OnBeforeRefresh(), OnOpen(), OnRefreshCompleted(), ProjectsListDialog(), and SetupHandlers().
|
private |
Definition at line 65 of file ProjectsListDialog.h.
Referenced by FormatPageLabel(), OnOpen(), OnRefreshCompleted(), ProjectsListDialog(), and SetupHandlers().
|
private |
Definition at line 62 of file ProjectsListDialog.h.
Referenced by ProjectsListDialog(), and SetupHandlers().
|
private |
Definition at line 76 of file ProjectsListDialog.h.
Referenced by ProjectsListDialog().