Audacity 3.2.0
|
An implementation of BasicUI::Services in terms of the wxWidgets toolkit. More...
#include <wxWidgetsBasicUI.h>
Public Member Functions | |
~wxWidgetsBasicUI () override | |
Public Member Functions inherited from BasicUI::Services | |
virtual | ~Services () |
virtual void | DoCallAfter (const Action &action)=0 |
virtual void | DoYield ()=0 |
virtual void | DoShowErrorDialog (const WindowPlacement &placement, const TranslatableString &dlogTitle, const TranslatableString &message, const ManualPageID &helpPage, const ErrorDialogOptions &options)=0 |
virtual MessageBoxResult | DoMessageBox (const TranslatableString &message, MessageBoxOptions options)=0 |
virtual std::unique_ptr< ProgressDialog > | DoMakeProgress (const TranslatableString &title, const TranslatableString &message, unsigned flag, const TranslatableString &remainingLabelText)=0 |
virtual std::unique_ptr< GenericProgressDialog > | DoMakeGenericProgress (const WindowPlacement &placement, const TranslatableString &title, const TranslatableString &message, int style)=0 |
virtual int | DoMultiDialog (const TranslatableString &message, const TranslatableString &title, const TranslatableStrings &buttons, const ManualPageID &helpPage, const TranslatableString &boxMsg, bool log)=0 |
virtual bool | DoOpenInDefaultBrowser (const wxString &url)=0 |
virtual std::unique_ptr< WindowPlacement > | DoFindFocus ()=0 |
virtual void | DoSetFocus (const WindowPlacement &focus)=0 |
virtual bool | IsUsingRtlLayout () const =0 |
virtual bool | IsUiThread () const =0 |
Protected Member Functions | |
void | DoCallAfter (const BasicUI::Action &action) override |
void | DoYield () override |
void | DoShowErrorDialog (const BasicUI::WindowPlacement &placement, const TranslatableString &dlogTitle, const TranslatableString &message, const ManualPageID &helpPage, const BasicUI::ErrorDialogOptions &options) override |
BasicUI::MessageBoxResult | DoMessageBox (const TranslatableString &message, BasicUI::MessageBoxOptions options) override |
std::unique_ptr< BasicUI::ProgressDialog > | DoMakeProgress (const TranslatableString &title, const TranslatableString &message, unsigned flags, const TranslatableString &remainingLabelText) override |
std::unique_ptr< BasicUI::GenericProgressDialog > | DoMakeGenericProgress (const BasicUI::WindowPlacement &placement, const TranslatableString &title, const TranslatableString &message, int style) override |
int | DoMultiDialog (const TranslatableString &message, const TranslatableString &title, const TranslatableStrings &buttons, const ManualPageID &helpPage, const TranslatableString &boxMsg, bool log) override |
bool | DoOpenInDefaultBrowser (const wxString &url) override |
std::unique_ptr< BasicUI::WindowPlacement > | DoFindFocus () override |
void | DoSetFocus (const BasicUI::WindowPlacement &focus) override |
bool | IsUsingRtlLayout () const override |
bool | IsUiThread () const override |
An implementation of BasicUI::Services in terms of the wxWidgets toolkit.
This is a singleton that doesn't need WX_INIT_API visibility
Definition at line 20 of file wxWidgetsBasicUI.h.
|
overridedefault |
|
overrideprotectedvirtual |
Implements BasicUI::Services.
Definition at line 29 of file wxWidgetsBasicUI.cpp.
|
overrideprotectedvirtual |
Implements BasicUI::Services.
Definition at line 243 of file wxWidgetsBasicUI.cpp.
References BasicUI::FindFocus().
|
overrideprotectedvirtual |
Implements BasicUI::Services.
Definition at line 208 of file wxWidgetsBasicUI.cpp.
References wxWidgetsWindowPlacement::GetParent(), BasicUI::ProgressAppModal, BasicUI::ProgressCanAbort, BasicUI::ProgressShowElapsedTime, BasicUI::ProgressSmooth, anonymous_namespace{AudacityDontAskAgainMessageDialog.cpp}::style, and title.
|
overrideprotectedvirtual |
Implements BasicUI::Services.
Definition at line 159 of file wxWidgetsBasicUI.cpp.
References pdlgConfirmStopCancel, pdlgHideCancelButton, pdlgHideElapsedTime, pdlgHideStopButton, BasicUI::ProgressConfirmStopOrCancel, BasicUI::ProgressHideTime, BasicUI::ProgressShowCancel, BasicUI::ProgressShowStop, and title.
|
overrideprotectedvirtual |
Implements BasicUI::Services.
Definition at line 88 of file wxWidgetsBasicUI.cpp.
References AudacityMessageBox(), BasicUI::MessageBoxOptions::buttonStyle, BasicUI::MessageBoxOptions::cancelButton, BasicUI::MessageBoxOptions::caption, BasicUI::MessageBoxOptions::centered, wxWidgetsWindowPlacement::GetParent(), BasicUI::MessageBoxOptions::iconStyle, BasicUI::MessageBoxOptions::parent, anonymous_namespace{AudacityDontAskAgainMessageDialog.cpp}::style, and BasicUI::MessageBoxOptions::yesOrOkDefaultButton.
|
overrideprotectedvirtual |
Implements BasicUI::Services.
Definition at line 229 of file wxWidgetsBasicUI.cpp.
References BasicUI::ShowMultiDialog(), and title.
|
overrideprotectedvirtual |
Implements BasicUI::Services.
Definition at line 238 of file wxWidgetsBasicUI.cpp.
|
overrideprotectedvirtual |
Implements BasicUI::Services.
Definition at line 248 of file wxWidgetsBasicUI.cpp.
References wxWidgetsWindowPlacement::GetParent().
|
overrideprotectedvirtual |
Implements BasicUI::Services.
Definition at line 39 of file wxWidgetsBasicUI.cpp.
References wxWidgetsWindowPlacement::GetParent(), BasicUI::ErrorDialogOptions::log, BasicUI::ErrorDialogOptions::modalHelp, safenew, and BasicUI::ErrorDialogOptions::type.
|
overrideprotectedvirtual |
Implements BasicUI::Services.
Definition at line 34 of file wxWidgetsBasicUI.cpp.
|
overrideprotectedvirtual |
Implements BasicUI::Services.
Definition at line 259 of file wxWidgetsBasicUI.cpp.
|
overrideprotectedvirtual |
Implements BasicUI::Services.
Definition at line 254 of file wxWidgetsBasicUI.cpp.