Audacity 3.2.0
|
A PrefsPanel used to select playback options. More...
#include <PlaybackPrefs.h>
Public Member Functions | |
PlaybackPrefs (wxWindow *parent, wxWindowID winid) | |
virtual | ~PlaybackPrefs () |
ComponentInterfaceSymbol | GetSymbol () const override |
TranslatableString | GetDescription () const override |
bool | Commit () override |
ManualPageID | HelpPageName () override |
If not empty string, the Help button is added below the panel. More... | |
void | PopulateOrExchange (ShuttleGui &S) override |
Public Member Functions inherited from PrefsPanel | |
PrefsPanel (wxWindow *parent, wxWindowID winid, const TranslatableString &title) | |
virtual | ~PrefsPanel () |
virtual void | Preview () |
virtual bool | Commit ()=0 |
virtual PluginPath | GetPath () const override |
virtual VendorSymbol | GetVendor () const override |
virtual wxString | GetVersion () const override |
virtual bool | ShowsPreviewButton () |
virtual void | PopulateOrExchange (ShuttleGui &WXUNUSED(S)) |
virtual ManualPageID | HelpPageName () |
If not empty string, the Help button is added below the panel. More... | |
virtual void | Cancel () |
Public Member Functions inherited from wxPanelWrapper | |
wxPanelWrapper () | |
wxPanelWrapper (wxWindow *parent, wxWindowID winid=wxID_ANY, const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxDefaultSize, long style=wxTAB_TRAVERSAL|wxNO_BORDER, const TranslatableString &name=XO("Panel")) | |
bool | Create (wxWindow *parent, wxWindowID winid=wxID_ANY, const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxDefaultSize, long style=wxTAB_TRAVERSAL|wxNO_BORDER, const TranslatableString &name=XO("Panel")) |
void | SetLabel (const TranslatableString &label) |
void | SetName (const TranslatableString &name) |
void | SetToolTip (const TranslatableString &toolTip) |
void | SetName () |
Public Member Functions inherited from wxTabTraversalWrapper< wxPanel > | |
wxTabTraversalWrapper (Args &&... args) | |
wxTabTraversalWrapper (const wxTabTraversalWrapper &)=delete | |
wxTabTraversalWrapper (wxTabTraversalWrapper &&)=delete | |
wxTabTraversalWrapper & | operator= (const wxTabTraversalWrapper &)=delete |
wxTabTraversalWrapper & | operator= (wxTabTraversalWrapper &&)=delete |
Static Public Member Functions | |
static bool | GetUnpinnedScrubbingPreference () |
Static Public Member Functions inherited from PrefsPanel | |
static Factories & | DefaultFactories () |
Private Member Functions | |
void | Populate () |
Additional Inherited Members | |
Public Types inherited from PrefsPanel | |
using | Factories = std::vector< PrefsPanel::PrefsNode > |
using | Factory = std::function< PrefsPanel *(wxWindow *parent, wxWindowID winid, AudacityProject *) > |
A PrefsPanel used to select playback options.
Presents interface for user to update the various playback options like previewing and seeking.
Definition at line 23 of file PlaybackPrefs.h.
PlaybackPrefs::PlaybackPrefs | ( | wxWindow * | parent, |
wxWindowID | winid | ||
) |
Definition at line 30 of file PlaybackPrefs.cpp.
References Populate().
|
virtual |
Definition at line 36 of file PlaybackPrefs.cpp.
|
overridevirtual |
Implements PrefsPanel.
Definition at line 176 of file PlaybackPrefs.cpp.
References eIsSavingToPrefs, anonymous_namespace{PlaybackPrefs.cpp}::iPreferenceUnpinned, PopulateOrExchange(), and S.
|
overridevirtual |
Implements ComponentInterface.
Definition at line 45 of file PlaybackPrefs.cpp.
References XO().
|
overridevirtual |
Implements ComponentInterface.
Definition at line 40 of file PlaybackPrefs.cpp.
References PLAYBACK_PREFS_PLUGIN_SYMBOL.
|
static |
Definition at line 165 of file PlaybackPrefs.cpp.
References gPrefs, anonymous_namespace{PlaybackPrefs.cpp}::iPreferenceUnpinned, audacity::BasicSettings::ReadBool(), anonymous_namespace{PlaybackPrefs.cpp}::UnpinnedScrubbingPreferenceDefault(), and anonymous_namespace{PlaybackPrefs.cpp}::UnpinnedScrubbingPreferenceKey().
Referenced by Scrubber::ShouldScrubPinned().
|
overridevirtual |
If not empty string, the Help button is added below the panel.
Default returns empty string.
Reimplemented from PrefsPanel.
Definition at line 50 of file PlaybackPrefs.cpp.
|
private |
Definition at line 55 of file PlaybackPrefs.cpp.
References eIsCreatingFromPrefs, PopulateOrExchange(), and S.
Referenced by PlaybackPrefs().
|
override |
Definition at line 78 of file PlaybackPrefs.cpp.
References S, anonymous_namespace{PlaybackPrefs.cpp}::UnpinnedScrubbingPreferenceDefault(), anonymous_namespace{PlaybackPrefs.cpp}::UnpinnedScrubbingPreferenceKey(), wxT(), XO(), and XXO().
Referenced by Commit(), and Populate().