Audacity 3.2.0
Public Member Functions | List of all members
ExportFFmpegAACOptions Class Referencefinal

Options dialog for FFmpeg exporting of AAC format. More...

#include <ExportFFmpegDialogs.h>

Inheritance diagram for ExportFFmpegAACOptions:
[legend]
Collaboration diagram for ExportFFmpegAACOptions:
[legend]

Public Member Functions

 ExportFFmpegAACOptions (wxWindow *parent, int format)
 
virtual ~ExportFFmpegAACOptions ()
 
void PopulateOrExchange (ShuttleGui &S)
 
bool TransferDataToWindow () override
 
bool TransferDataFromWindow () override
 
- 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
 
wxTabTraversalWrapperoperator= (const wxTabTraversalWrapper &)=delete
 
wxTabTraversalWrapperoperator= (wxTabTraversalWrapper &&)=delete
 

Detailed Description

Options dialog for FFmpeg exporting of AAC format.

Definition at line 92 of file ExportFFmpegDialogs.h.

Constructor & Destructor Documentation

◆ ExportFFmpegAACOptions()

ExportFFmpegAACOptions::ExportFFmpegAACOptions ( wxWindow *  parent,
int  format 
)

Definition at line 257 of file ExportFFmpegDialogs.cpp.

258: wxPanelWrapper(parent, wxID_ANY)
259{
262
264}
@ eIsCreatingFromPrefs
Definition: ShuttleGui.h:48
#define S(N)
Definition: ToChars.cpp:64
bool TransferDataToWindow() override
void PopulateOrExchange(ShuttleGui &S)
Derived from ShuttleGuiBase, an Audacity specific class for shuttling data to and from GUI.
Definition: ShuttleGui.h:628

References eIsCreatingFromPrefs, PopulateOrExchange(), S, and TransferDataToWindow().

Here is the call graph for this function:

◆ ~ExportFFmpegAACOptions()

ExportFFmpegAACOptions::~ExportFFmpegAACOptions ( )
virtual

Definition at line 266 of file ExportFFmpegDialogs.cpp.

267{
269}
bool TransferDataFromWindow() override

References TransferDataFromWindow().

Here is the call graph for this function:

Member Function Documentation

◆ PopulateOrExchange()

void ExportFFmpegAACOptions::PopulateOrExchange ( ShuttleGui S)

Definition at line 273 of file ExportFFmpegDialogs.cpp.

274{
275 S.StartVerticalLay();
276 {
277 S.StartHorizontalLay(wxEXPAND);
278 {
279 S.SetSizerProportion(1);
280 S.StartMultiColumn(2, wxCENTER);
281 {
282 S.SetStretchyCol(1);
283 S.Prop(1).TieSlider(
284 XXO("Quality (kbps):"),
285 {wxT("/FileFormats/AACQuality"), 160},320, 98);
286 }
287 S.EndMultiColumn();
288 }
289 S.EndHorizontalLay();
290 }
291 S.EndVerticalLay();
292}
#define XXO(s)
Definition: Internat.h:44

References S, and XXO.

Referenced by ExportFFmpegAACOptions(), and TransferDataFromWindow().

Here is the caller graph for this function:

◆ TransferDataFromWindow()

bool ExportFFmpegAACOptions::TransferDataFromWindow ( )
override

Definition at line 303 of file ExportFFmpegDialogs.cpp.

304{
307
308 gPrefs->Flush();
309
310 return true;
311}
FileConfig * gPrefs
Definition: Prefs.cpp:71
@ eIsSavingToPrefs
Definition: ShuttleGui.h:49
virtual bool Flush(bool bCurrentOnly=false) wxOVERRIDE
Definition: FileConfig.cpp:143

References eIsSavingToPrefs, FileConfig::Flush(), gPrefs, PopulateOrExchange(), and S.

Referenced by ~ExportFFmpegAACOptions().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ TransferDataToWindow()

bool ExportFFmpegAACOptions::TransferDataToWindow ( )
override

Definition at line 296 of file ExportFFmpegDialogs.cpp.

297{
298 return true;
299}

Referenced by ExportFFmpegAACOptions().

Here is the caller graph for this function:

The documentation for this class was generated from the following files: