Audacity  2.2.0
TimerRecordDialog Class Referencefinal

Dialog for Timer Record, i.e., timed or long recording. More...

#include <TimerRecordDialog.h>

Inheritance diagram for TimerRecordDialog:
wxTabTraversalWrapper< Base >

Public Member Functions

 TimerRecordDialog (wxWindow *parent, bool bAlreadySaved)
 
 ~TimerRecordDialog ()
 
void OnTimer (wxTimerEvent &event)
 
int RunWaitDialog ()
 Runs the wait for start dialog. Returns false if the user clicks stop. More...
 
- Public Member Functions inherited from wxTabTraversalWrapper< Base >
template<typename... Args>
 wxTabTraversalWrapper (Args &&...args)
 
 ~wxTabTraversalWrapper ()
 

Private Member Functions

void OnDatePicker_Start (wxDateEvent &event)
 
void OnTimeText_Start (wxCommandEvent &event)
 
void OnDatePicker_End (wxDateEvent &event)
 
void OnTimeText_End (wxCommandEvent &event)
 
void OnTimeText_Duration (wxCommandEvent &event)
 
void OnOK (wxCommandEvent &event)
 
void OnHelpButtonClick (wxCommandEvent &event)
 
wxString GetDisplayDate (wxDateTime &dt)
 
void PopulateOrExchange (ShuttleGui &S)
 
bool TransferDataFromWindow () override
 
void UpdateDuration ()
 
void UpdateEnd ()
 
ProgressResult WaitForStart ()
 
void OnAutoSavePathButton_Click (wxCommandEvent &event)
 
void OnAutoExportPathButton_Click (wxCommandEvent &event)
 
void OnAutoSaveCheckBox_Change (wxCommandEvent &event)
 
void OnAutoExportCheckBox_Change (wxCommandEvent &event)
 
void EnableDisableAutoControls (bool bEnable, int iControlGoup)
 
void UpdateTextBoxControls ()
 
bool HaveFilesToRecover ()
 
bool RemoveAllAutoSaveFiles ()
 
TimerRecordPathCtrlNewPathControl (wxWindow *wParent, const int iID, const wxString &sCaption, const wxString &sValue)
 
int ExecutePostRecordActions (bool bWasStopped)
 
ProgressResult PreActionDelay (int iActionIndex, TimerRecordCompletedActions eCompletedActions)
 

Private Attributes

wxDateTime m_DateTime_Start
 
wxDateTime m_DateTime_End
 
wxTimeSpan m_TimeSpan_Duration
 
wxDatePickerCtrl * m_pDatePickerCtrl_Start
 
NumericTextCtrlm_pTimeTextCtrl_Start
 
wxDatePickerCtrl * m_pDatePickerCtrl_End
 
NumericTextCtrlm_pTimeTextCtrl_End
 
NumericTextCtrlm_pTimeTextCtrl_Duration
 
wxTimer m_timer
 
wxCheckBox * m_pTimerAutoSaveCheckBoxCtrl
 
TimerRecordPathCtrlm_pTimerSavePathTextCtrl
 
wxButton * m_pTimerSavePathButtonCtrl
 
wxCheckBox * m_pTimerAutoExportCheckBoxCtrl
 
TimerRecordPathCtrlm_pTimerExportPathTextCtrl
 
wxButton * m_pTimerExportPathButtonCtrl
 
wxChoice * m_pTimerAfterCompleteChoiceCtrl
 
bool m_bProjectCleanupRequired
 
bool m_bAutoSaveEnabled
 
wxFileName m_fnAutoSaveFile
 
bool m_bAutoExportEnabled
 
wxFileName m_fnAutoExportFile
 
int m_iAutoExportFormat
 
int m_iAutoExportSubFormat
 
int m_iAutoExportFilterIndex
 
bool m_bProjectAlreadySaved
 
wxString m_sTimerAfterCompleteOption
 
wxArrayString m_sTimerAfterCompleteOptionsArray
 

Detailed Description

Dialog for Timer Record, i.e., timed or long recording.

Constructor & Destructor Documentation

TimerRecordDialog::TimerRecordDialog ( wxWindow *  parent,
bool  bAlreadySaved 
)
TimerRecordDialog::~TimerRecordDialog ( )

Member Function Documentation

wxString TimerRecordDialog::GetDisplayDate ( wxDateTime &  dt)
private

Referenced by RunWaitDialog(), and WaitForStart().

bool TimerRecordDialog::HaveFilesToRecover ( )
private

References _(), and FileNames::AutoSaveDir().

TimerRecordPathCtrl * TimerRecordDialog::NewPathControl ( wxWindow *  wParent,
const int  iID,
const wxString &  sCaption,
const wxString &  sValue 
)
private

References safenew.

Referenced by PopulateOrExchange().

void TimerRecordDialog::OnAutoExportCheckBox_Change ( wxCommandEvent &  event)
private
void TimerRecordDialog::OnAutoSaveCheckBox_Change ( wxCommandEvent &  event)
private
void TimerRecordDialog::OnAutoSavePathButton_Click ( wxCommandEvent &  event)
private
void TimerRecordDialog::OnDatePicker_Start ( wxDateEvent &  event)
private
void TimerRecordDialog::OnHelpButtonClick ( wxCommandEvent &  event)
private
void TimerRecordDialog::OnTimer ( wxTimerEvent &  event)
void TimerRecordDialog::OnTimeText_Duration ( wxCommandEvent &  event)
private
void TimerRecordDialog::OnTimeText_End ( wxCommandEvent &  event)
private
void TimerRecordDialog::OnTimeText_Start ( wxCommandEvent &  event)
private
void TimerRecordDialog::PopulateOrExchange ( ShuttleGui S)
private
bool TimerRecordDialog::RemoveAllAutoSaveFiles ( )
private
int TimerRecordDialog::RunWaitDialog ( )
void TimerRecordDialog::UpdateDuration ( )
private

Member Data Documentation

bool TimerRecordDialog::m_bAutoExportEnabled
private
bool TimerRecordDialog::m_bAutoSaveEnabled
private
bool TimerRecordDialog::m_bProjectAlreadySaved
private
bool TimerRecordDialog::m_bProjectCleanupRequired
private
wxFileName TimerRecordDialog::m_fnAutoExportFile
private
wxFileName TimerRecordDialog::m_fnAutoSaveFile
private
int TimerRecordDialog::m_iAutoExportFilterIndex
private
int TimerRecordDialog::m_iAutoExportFormat
private
int TimerRecordDialog::m_iAutoExportSubFormat
private
wxDatePickerCtrl* TimerRecordDialog::m_pDatePickerCtrl_End
private
wxDatePickerCtrl* TimerRecordDialog::m_pDatePickerCtrl_Start
private
wxChoice* TimerRecordDialog::m_pTimerAfterCompleteChoiceCtrl
private
wxCheckBox* TimerRecordDialog::m_pTimerAutoExportCheckBoxCtrl
private
wxCheckBox* TimerRecordDialog::m_pTimerAutoSaveCheckBoxCtrl
private
wxButton* TimerRecordDialog::m_pTimerExportPathButtonCtrl
private
TimerRecordPathCtrl* TimerRecordDialog::m_pTimerExportPathTextCtrl
private
wxButton* TimerRecordDialog::m_pTimerSavePathButtonCtrl
private
TimerRecordPathCtrl* TimerRecordDialog::m_pTimerSavePathTextCtrl
private
NumericTextCtrl* TimerRecordDialog::m_pTimeTextCtrl_Duration
private
NumericTextCtrl* TimerRecordDialog::m_pTimeTextCtrl_End
private
NumericTextCtrl* TimerRecordDialog::m_pTimeTextCtrl_Start
private
wxString TimerRecordDialog::m_sTimerAfterCompleteOption
private

Referenced by PopulateOrExchange().

wxArrayString TimerRecordDialog::m_sTimerAfterCompleteOptionsArray
private

Referenced by PopulateOrExchange().

wxTimer TimerRecordDialog::m_timer
private

Referenced by OnOK().

wxTimeSpan TimerRecordDialog::m_TimeSpan_Duration
private

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