Audacity  2.2.0
TagsEditor Class Referencefinal

Derived from ExpandingToolBar, this dialog allows editing of Tags. More...

#include <Tags.h>

Inheritance diagram for TagsEditor:
wxTabTraversalWrapper< Base >

Public Member Functions

 TagsEditor (wxWindow *parent, const wxString &title, Tags *tags, bool editTitle, bool editTrackNumber)
 
virtual ~TagsEditor ()
 
bool IsEscapeKey (const wxKeyEvent &) override
 
void PopulateOrExchange (ShuttleGui &S)
 
bool TransferDataToWindow () override
 
bool TransferDataFromWindow () override
 
- Public Member Functions inherited from wxTabTraversalWrapper< Base >
template<typename... Args>
 wxTabTraversalWrapper (Args &&...args)
 
 ~wxTabTraversalWrapper ()
 

Private Member Functions

void PopulateGenres ()
 
void SetEditors ()
 
void OnChange (wxGridEvent &event)
 
void OnEdit (wxCommandEvent &event)
 
void OnReset (wxCommandEvent &event)
 
void OnClear (wxCommandEvent &event)
 
void OnLoad (wxCommandEvent &event)
 
void OnSave (wxCommandEvent &event)
 
void OnSaveDefaults (wxCommandEvent &event)
 
void OnAdd (wxCommandEvent &event)
 
void OnRemove (wxCommandEvent &event)
 
void OnOk (wxCommandEvent &event)
 
void DoCancel (bool escKey)
 
void OnCancel (wxCommandEvent &event)
 
void OnKeyDown (wxKeyEvent &event)
 
bool IsWindowRectValid (const wxRect *windowRect) const
 

Private Attributes

TagsmTags
 
bool mEditTitle
 
bool mEditTrack
 
Tags mLocal
 
GridmGrid
 
ComboEditormComboEditor
 
wxGridCellStringRenderer * mStringRenderer
 

Detailed Description

Derived from ExpandingToolBar, this dialog allows editing of Tags.

Constructor & Destructor Documentation

TagsEditor::TagsEditor ( wxWindow *  parent,
const wxString &  title,
Tags tags,
bool  editTitle,
bool  editTrackNumber 
)
TagsEditor::~TagsEditor ( )
virtual

Member Function Documentation

void TagsEditor::DoCancel ( bool  escKey)
private

References mGrid.

Referenced by OnCancel(), and OnKeyDown().

bool TagsEditor::IsEscapeKey ( const wxKeyEvent &  )
inlineoverride
bool TagsEditor::IsWindowRectValid ( const wxRect *  windowRect) const
private
void TagsEditor::OnAdd ( wxCommandEvent &  event)
private

References mGrid.

void TagsEditor::OnCancel ( wxCommandEvent &  event)
private

References DoCancel().

void TagsEditor::OnChange ( wxGridEvent &  event)
private

References labelmap, mGrid, and STATICCNT.

void TagsEditor::OnClear ( wxCommandEvent &  event)
private
void TagsEditor::OnKeyDown ( wxKeyEvent &  event)
private

References DoCancel().

void TagsEditor::OnOk ( wxCommandEvent &  event)
private
void TagsEditor::OnRemove ( wxCommandEvent &  event)
private
void TagsEditor::OnReset ( wxCommandEvent &  event)
private
void TagsEditor::OnSaveDefaults ( wxCommandEvent &  event)
private
void TagsEditor::PopulateGenres ( )
private
void TagsEditor::SetEditors ( )
private

References label, LABEL_GENRE, and mGrid.

Referenced by TransferDataToWindow().

bool TagsEditor::TransferDataToWindow ( )
override

Member Data Documentation

ComboEditor* TagsEditor::mComboEditor
private

Referenced by PopulateOrExchange().

bool TagsEditor::mEditTitle
private
bool TagsEditor::mEditTrack
private
wxGridCellStringRenderer* TagsEditor::mStringRenderer
private

Referenced by PopulateOrExchange().

Tags* TagsEditor::mTags
private

Referenced by OnOk().


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