Audacity  3.0.3
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 93 of file ExportFFmpegDialogs.h.

Constructor & Destructor Documentation

◆ ExportFFmpegAACOptions()

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

Definition at line 258 of file ExportFFmpegDialogs.cpp.

259 : wxPanelWrapper(parent, wxID_ANY)
260 {
263 
265 }

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

Here is the call graph for this function:

◆ ~ExportFFmpegAACOptions()

ExportFFmpegAACOptions::~ExportFFmpegAACOptions ( )
virtual

Definition at line 267 of file ExportFFmpegDialogs.cpp.

268 {
270 }

References TransferDataFromWindow().

Here is the call graph for this function:

Member Function Documentation

◆ PopulateOrExchange()

void ExportFFmpegAACOptions::PopulateOrExchange ( ShuttleGui S)

Definition at line 274 of file ExportFFmpegDialogs.cpp.

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

References ShuttleGuiBase::EndHorizontalLay(), ShuttleGuiBase::EndMultiColumn(), ShuttleGuiBase::EndVerticalLay(), ShuttleGui::Prop(), ShuttleGuiBase::SetSizerProportion(), ShuttleGuiBase::SetStretchyCol(), ShuttleGuiBase::StartHorizontalLay(), ShuttleGuiBase::StartMultiColumn(), ShuttleGuiBase::StartVerticalLay(), ShuttleGuiBase::TieSlider(), and XXO.

Referenced by ExportFFmpegAACOptions(), and TransferDataFromWindow().

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

◆ TransferDataFromWindow()

bool ExportFFmpegAACOptions::TransferDataFromWindow ( )
override

Definition at line 304 of file ExportFFmpegDialogs.cpp.

305 {
306  ShuttleGui S(this, eIsSavingToPrefs);
308 
309  gPrefs->Flush();
310 
311  return true;
312 }

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

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 297 of file ExportFFmpegDialogs.cpp.

298 {
299  return true;
300 }

Referenced by ExportFFmpegAACOptions().

Here is the caller graph for this function:

The documentation for this class was generated from the following files:
ShuttleGuiBase::StartVerticalLay
void StartVerticalLay(int iProp=1)
Definition: ShuttleGui.cpp:1184
gPrefs
FileConfig * gPrefs
Definition: Prefs.cpp:70
ExportFFmpegAACOptions::TransferDataToWindow
bool TransferDataToWindow() override
Definition: ExportFFmpegDialogs.cpp:297
ShuttleGuiBase::TieSlider
wxSlider * TieSlider(const TranslatableString &Prompt, int &pos, const int max, const int min=0)
Definition: ShuttleGui.cpp:1687
ShuttleGuiBase::EndMultiColumn
void EndMultiColumn()
Definition: ShuttleGui.cpp:1238
ShuttleGuiBase::SetSizerProportion
void SetSizerProportion(int iProp)
Definition: ShuttleGui.h:491
XXO
#define XXO(s)
Definition: Internat.h:44
ShuttleGuiBase::EndHorizontalLay
void EndHorizontalLay()
Definition: ShuttleGui.cpp:1177
ShuttleGuiBase::StartHorizontalLay
void StartHorizontalLay(int PositionFlags=wxALIGN_CENTRE, int iProp=1)
Definition: ShuttleGui.cpp:1167
ShuttleGuiBase::StartMultiColumn
void StartMultiColumn(int nCols, int PositionFlags=wxALIGN_LEFT)
Definition: ShuttleGui.cpp:1229
ShuttleGuiBase::EndVerticalLay
void EndVerticalLay()
Definition: ShuttleGui.cpp:1203
ExportFFmpegAACOptions::TransferDataFromWindow
bool TransferDataFromWindow() override
Definition: ExportFFmpegDialogs.cpp:304
ShuttleGui::Prop
ShuttleGui & Prop(int iProp)
Definition: ShuttleGui.h:725
eIsSavingToPrefs
@ eIsSavingToPrefs
Definition: ShuttleGui.h:48
FileConfig::Flush
virtual bool Flush(bool bCurrentOnly=false) wxOVERRIDE
Definition: FileConfig.cpp:143
ExportFFmpegAACOptions::PopulateOrExchange
void PopulateOrExchange(ShuttleGui &S)
Definition: ExportFFmpegDialogs.cpp:274
wxPanelWrapper::wxPanelWrapper
wxPanelWrapper()
Definition: wxPanelWrapper.h:44
eIsCreatingFromPrefs
@ eIsCreatingFromPrefs
Definition: ShuttleGui.h:47
ShuttleGuiBase::SetStretchyCol
void SetStretchyCol(int i)
Used to modify an already placed FlexGridSizer to make a column stretchy.
Definition: ShuttleGui.cpp:202
ShuttleGui
Derived from ShuttleGuiBase, an Audacity specific class for shuttling data to and from GUI.
Definition: ShuttleGui.h:631