Audacity  2.2.2
Enumerations | Functions
ExportMultiple.cpp File Reference
#include "../Audacity.h"
#include "ExportMultiple.h"
#include <wx/defs.h>
#include <wx/button.h>
#include <wx/checkbox.h>
#include <wx/choice.h>
#include <wx/dialog.h>
#include <wx/dirdlg.h>
#include <wx/event.h>
#include <wx/filedlg.h>
#include <wx/filefn.h>
#include <wx/filename.h>
#include <wx/intl.h>
#include <wx/radiobut.h>
#include <wx/sizer.h>
#include <wx/statbox.h>
#include <wx/stattext.h>
#include <wx/textctrl.h>
#include <wx/textdlg.h>
#include "Export.h"
#include "../Internat.h"
#include "../FileFormats.h"
#include "../FileNames.h"
#include "../LabelTrack.h"
#include "../Project.h"
#include "../Prefs.h"
#include "../ShuttleGui.h"
#include "../Tags.h"
#include "../WaveTrack.h"
#include "../widgets/HelpSystem.h"
#include "../widgets/ErrorDialog.h"

Go to the source code of this file.

Enumerations

enum  {
  FormatID = 10001, OptionsID, DirID, CreateID,
  ChooseID, LabelID, FirstID, FirstFileNameID,
  TrackID, ByNameAndNumberID, ByNameID, ByNumberID,
  PrefixID, OverwriteID
}
 

Functions

 EVT_LIST_ITEM_ACTIVATED (wxID_ANY, SuccessDialog::OnItemActivated) ExportMultiple
 

Enumeration Type Documentation

anonymous enum
Enumerator
FormatID 
OptionsID 
DirID 
CreateID 
ChooseID 
LabelID 
FirstID 
FirstFileNameID 
TrackID 
ByNameAndNumberID 
ByNameID 
ByNumberID 
PrefixID 
OverwriteID 

Definition at line 56 of file ExportMultiple.cpp.

Function Documentation

EVT_LIST_ITEM_ACTIVATED ( wxID_ANY  ,
SuccessDialog::OnItemActivated   
)

Definition at line 96 of file ExportMultiple.cpp.

104 : wxDialogWrapper(project, wxID_ANY, wxString(_("Export Multiple")))
105 , mSelectionState{ project->GetSelectionState() }
106 {
107  SetName(GetTitle());
108 
109  mProject = project;
110  mTracks = project->GetTracks();
111  // Construct an array of non-owning pointers
112  for (const auto &plugin : mExporter.GetPlugins())
113  mPlugins.push_back(plugin.get());
114 
115  this->CountTracksAndLabels();
116 
117  mBook = NULL;
118 
120 
121  // Creating some of the widgets cause events to fire
122  // and we don't want that until after we're completely
123  // created. (Observed on Windows)
124  mInitialized = false;
125  PopulateOrExchange(S);
126  mInitialized = true;
127 
128  Layout();
129  Fit();
130  SetMinSize(GetSize());
131  Center();
132 
133  EnableControls();
134 }
Derived from ShuttleGuiBase, an Audacity specific class for shuttling data to and from GUI...
Definition: ShuttleGui.h:409
_("Move Track &Down")+wxT("\t")+(GetActiveProject() -> GetCommandManager() ->GetKeyFromName(wxT("TrackMoveDown")).Raw()), OnMoveTrack) POPUP_MENU_ITEM(OnMoveTopID, _("Move Track to &Top")+wxT("\t")+(GetActiveProject() ->GetCommandManager() ->GetKeyFromName(wxT("TrackMoveTop")).Raw()), OnMoveTrack) POPUP_MENU_ITEM(OnMoveBottomID, _("Move Track to &Bottom")+wxT("\t")+(GetActiveProject() ->GetCommandManager() ->GetKeyFromName(wxT("TrackMoveBottom")).Raw()), OnMoveTrack)#define SET_TRACK_NAME_PLUGIN_SYMBOLclass SetTrackNameCommand:public AudacityCommand