Audacity 3.2.0
Classes | Namespaces | Macros | Enumerations | Functions | Variables
TagsEditor.cpp File Reference
#include "TagsEditor.h"
#include "ProjectWindows.h"
#include "SelectFile.h"
#include "ShuttleGui.h"
#include "AudacityMessageBox.h"
#include "widgets/Grid.h"
#include "HelpSystem.h"
#include "XMLFileReader.h"
#include <wx/combobox.h>
#include <wx/display.h>
#include <wx/scrolbar.h>
#include <wx/button.h>
#include <wx/bmpbuttn.h>
#include <wx/stattext.h>
#include "Theme.h"
#include "AllThemeResources.h"
#include "Project.h"
#include "ProjectHistory.h"
#include <wx/frame.h>
#include "CommandContext.h"
#include "MenuRegistry.h"
#include "CommonCommandFlags.h"
Include dependency graph for TagsEditor.cpp:

Go to the source code of this file.

Classes

class  ComboEditor
 

Namespaces

namespace  anonymous_namespace{TagsEditor.cpp}
 

Macros

#define LABEL_ARTIST   XO("Artist Name")
 
#define LABEL_TITLE   XO("Track Title")
 
#define LABEL_ALBUM   XO("Album Title")
 
#define LABEL_TRACK   XO("Track Number")
 
#define LABEL_YEAR   XO("Year")
 
#define LABEL_GENRE   XO("Genre")
 
#define LABEL_COMMENTS   XO("Comments")
 
#define STATICCNT   WXSIZEOF(labelmap)
 

Enumerations

enum  {
  ClearID = 10000 , PrevID , NextID , EditID ,
  ResetID , LoadID , SaveID , SaveDefaultsID ,
  AddID , RemoveID
}
 

Functions

void anonymous_namespace{TagsEditor.cpp}::OnEditMetadata (const CommandContext &context)
 

Variables

static TranslatableStrings names
 
struct {
   TranslatableString   label
 
   wxString   name
 
labelmap []
 
AttachedItem anonymous_namespace{TagsEditor.cpp}::sAttachment
 

Macro Definition Documentation

◆ LABEL_ALBUM

#define LABEL_ALBUM   XO("Album Title")

Definition at line 147 of file TagsEditor.cpp.

◆ LABEL_ARTIST

#define LABEL_ARTIST   XO("Artist Name")

Definition at line 145 of file TagsEditor.cpp.

◆ LABEL_COMMENTS

#define LABEL_COMMENTS   XO("Comments")

Definition at line 151 of file TagsEditor.cpp.

◆ LABEL_GENRE

#define LABEL_GENRE   XO("Genre")

Definition at line 150 of file TagsEditor.cpp.

◆ LABEL_TITLE

#define LABEL_TITLE   XO("Track Title")

Definition at line 146 of file TagsEditor.cpp.

◆ LABEL_TRACK

#define LABEL_TRACK   XO("Track Number")

Definition at line 148 of file TagsEditor.cpp.

◆ LABEL_YEAR

#define LABEL_YEAR   XO("Year")

Definition at line 149 of file TagsEditor.cpp.

◆ STATICCNT

#define STATICCNT   WXSIZEOF(labelmap)

Definition at line 179 of file TagsEditor.cpp.

Enumeration Type Documentation

◆ anonymous enum

anonymous enum
Enumerator
ClearID 
PrevID 
NextID 
EditID 
ResetID 
LoadID 
SaveID 
SaveDefaultsID 
AddID 
RemoveID 

Definition at line 181 of file TagsEditor.cpp.

181 {
182 ClearID = 10000,
183 PrevID,
184 NextID,
185 EditID,
186 ResetID,
187 LoadID,
188 SaveID,
190 AddID,
192};
@ SaveDefaultsID
Definition: TagsEditor.cpp:189
@ ClearID
Definition: TagsEditor.cpp:182
@ RemoveID
Definition: TagsEditor.cpp:191
@ PrevID
Definition: TagsEditor.cpp:183
@ LoadID
Definition: TagsEditor.cpp:187
@ ResetID
Definition: TagsEditor.cpp:186
@ SaveID
Definition: TagsEditor.cpp:188
@ EditID
Definition: TagsEditor.cpp:185
@ NextID
Definition: TagsEditor.cpp:184
@ AddID
Definition: TagsEditor.cpp:190

Variable Documentation

◆ label

Definition at line 165 of file TagsEditor.cpp.

Referenced by CutCopyPasteToolBar::AddButton(), EditToolBar::AddButton(), TranscriptionToolBar::AddButton(), VampEffect::AddFeatures(), anonymous_namespace{MenuHelper.cpp}::AddGroupedEffectMenuItems(), AudioSetupToolBar::AppendSubMenu(), FFmpegExporter::AskResample(), RulerUpdater::BoxAdjust(), LV2Editor::BuildPlain(), NumericTextCtrl::ComputeSizing(), ContrastDialog::ContrastDialog(), ConvertLegacyProjectFile(), anonymous_namespace{RealtimeEffectPanel.cpp}::HyperLinkCtrlWrapper::Create(), ToolBarButtons::CreateButton(), audacity::cloud::audiocom::sync::anonymous_namespace{CloudLocationDialog.cpp}::CreateButton(), CreateStdButtonSizer(), DEFINE_ATTACHED_VIRTUAL_OVERRIDE(), CommonTrackPanelCell::DoContextMenu(), anonymous_namespace{TransportMenus.cpp}::DoMoveToLabel(), Ruler::Draw(), Ruler::DrawGrid(), EVT_COMMAND_RANGE(), ExportMixerDialog::ExportMixerDialog(), Ruler::FindZero(), CommandManager::CommandListEntry::FormatLabelForMenu(), anonymous_namespace{MenuCreator.cpp}::FormatLabelWithDisabledAccel(), LV2EffectBase::GetFactoryPresets(), KeyView::GetFullLabel(), LWSlider::GetTip(), anonymous_namespace{RealtimeEffectPanel.cpp}::HyperLinkCtrlWrapper::HyperLinkCtrlWrapper(), SnapRegistryGroup::Label(), anonymous_namespace{LabelMenus.cpp}::LabelsSelectedFlag(), MacroCommandsCatalog::MacroCommandsCatalog(), anonymous_namespace{ControlToolBar.cpp}::MakeControlToolBarButton(), PopupMenuTable::MakeLabel(), anonymous_namespace{LoginDialog.cpp}::MakeLabel(), anonymous_namespace{LoginDialog.cpp}::MakeLoginButton(), CommandManager::CommandListEntry::Modify(), anonymous_namespace{MenuCreator.cpp}::MenuItemVisitor::CommandListEntryEx::Modify(), CommandManager::Populator::NewIdentifier(), KeyView::OnDrawItem(), KeyView::OnKeyDown(), EffectUIHost::OnMenu(), NyqBench::OnOutputUpdate(), NyqBench::OnScriptUpdate(), ExportMixerDialog::OnSlider(), DirectoriesPrefs::OnTempText(), NyquistBase::ParseChoice(), LabelDialog::PopulateLabels(), EqualizationUI::PopulateOrExchange(), KeyView::RecalcExtents(), KeyView::RefreshBindings(), VST3ParametersWindow::RegisterParameterLabel(), LabelTrack::Repeat(), GetInfoCommand::SendLabels(), TagsEditorDialog::SetEditors(), anonymous_namespace{RealtimeEffectPanel.cpp}::RealtimeEffectControl::SetEffect(), wxPanelWrapper::SetLabel(), TipWindow::SetLabel(), wxDialogWrapper::SetLabel(), ToolBar::SetLabel(), EffectPresetsDialog::SetPrefix(), audacity::cloud::audiocom::anonymous_namespace{ShareAudioDialog.cpp}::SetTimeLabel(), ThemedWindowWrapper< WindowBase >::SetTranslatableLabel(), ThemedButtonWrapper< ButtonBase >::SetTranslatableLabel(), ThemedAButtonWrapper< AButtonBase >::SetTranslatableLabel(), SetupAccessibility(), LabelTrack::Silence(), TimeInvariantSnapFunction(), TipWindow::TipWindow(), TagsEditorDialog::TransferDataToWindow(), LinearUpdater::Update(), AdornedRulerPanel::UpdateButtonStates(), MeterToolBar::UpdatePrefs(), EffectPresetsDialog::UpdateUI(), anonymous_namespace{MenuCreator.cpp}::MenuItemVisitor::VisitEntry(), and VST3ParametersWindow::VST3ParametersWindow().

◆ 

const struct { ... } labelmap[]
Initial value:
=
{
}
#define TAG_TRACK
Definition: Tags.h:61
#define TAG_COMMENTS
Definition: Tags.h:64
#define TAG_GENRE
Definition: Tags.h:63
#define TAG_ALBUM
Definition: Tags.h:60
#define TAG_YEAR
Definition: Tags.h:62
#define TAG_TITLE
Definition: Tags.h:58
#define TAG_ARTIST
Definition: Tags.h:59
#define LABEL_TITLE
Definition: TagsEditor.cpp:146
#define LABEL_COMMENTS
Definition: TagsEditor.cpp:151
#define LABEL_GENRE
Definition: TagsEditor.cpp:150
#define LABEL_YEAR
Definition: TagsEditor.cpp:149
#define LABEL_ARTIST
Definition: TagsEditor.cpp:145
#define LABEL_ALBUM
Definition: TagsEditor.cpp:147
#define LABEL_TRACK
Definition: TagsEditor.cpp:148

Referenced by TagsEditorDialog::TransferDataToWindow().

◆ name

wxString name

Definition at line 166 of file TagsEditor.cpp.

Referenced by audacity::network_manager::MultipartData::Add(), AddAnalysisTrack(), CommandMessageTarget::AddBool(), CommandContext::AddBool(), LispyCommandMessageTarget::AddBool(), AboutDialog::AddCredit(), AddedAnalysisTrack::AddedAnalysisTrack(), anonymous_namespace{MenuHelper.cpp}::AddEffectMenuItemGroup(), audacity::network_manager::MultipartData::AddFile(), CommandManager::Populator::AddGlobalCommand(), CommandManager::Populator::AddItem(), CommandMessageTarget::AddItem(), CommandContext::AddItem(), LispyCommandMessageTarget::AddItem(), CommandManager::Populator::AddItemList(), MacroCommands::AddMacro(), CommandSignature::AddParameter(), anonymous_namespace{MenuHelper.cpp}::AddSortedEffectMenuItems(), MP2ExportProcessor::AddTags(), MP3ExportProcessor::AddTags(), MacroCommands::ApplyMacro(), ApplyMacroDialog::ApplyMacroToProject(), FFmpegExporter::AskResample(), ASlider::ASlider(), anonymous_namespace{ChannelView.cpp}::AttributeName(), NyquistEffectsModule::AutoRegisterPlugins(), anonymous_namespace{Registry.cpp}::BadPath(), ProgressDialog::Beep(), PopupMenuTable::BeginSection(), audacity::sqlite::Connection::BeginTransaction(), audacity::sqlite::RunContext::Bind(), DeviceToolBar::ChangeDevice(), AudioSetupToolBar::ChangeDeviceLabel(), AudioSetupToolBar::ChangeHost(), CommandManager::Check(), DBConnection::CheckpointThread(), KeyConfigPrefs::Commit(), ConvertLegacyProjectFile(), ConvertLegacyTrack(), audacity::cloud::audiocom::sync::LocalProjectSnapshot::Create(), LabelTrack::Create(), FileDialogWrapper::Create(), FileDialog::Create(), wxDialogWrapper::Create(), ListNavigationPanel::Create(), MovableControl::Create(), anonymous_namespace{RealtimeEffectPanel.cpp}::HyperLinkCtrlWrapper::Create(), wxPanelWrapper::Create(), audacity::sqlite::Connection::CreateAggregateFunction(), WaveTrack::CreateClip(), FFmpegFunctions::CreateEncoder(), ThemeBase::CreateOneImageCache(), audacity::sqlite::Connection::CreateScalarFunction(), AudacityApp::CreateSingleInstanceChecker(), MacroCommands::DeleteMacro(), FFmpegPresets::DeletePreset(), CommandManager::DescribeCommandsAndShortcuts(), AudioUnitEffectsModule::DiscoverPluginsAtPath(), Journal::Dispatch(), AudacityCommand::DoAudacityCommand(), WaveTrack::DoCreateClip(), EffectBase::DoEffect(), ExportAudioDialog::DoExport(), EQUtils::DoMessageBox(), ProjectAudioManager::DoRecord(), BuiltinCommandsModule::DoRegistration(), BuiltinEffectsModule::DoRegistration(), TrackUtilities::DoRemoveTrack(), anonymous_namespace{NoteTrackView.cpp}::DrawNoteTrack(), PluginManager::DropFile(), anonymous_namespace{ProjectSerializer.cpp}::XMLTagHandlerAdapter::EmitStartTag(), CommandManager::Enable(), anonymous_namespace{MenuCreator.cpp}::MenuItemVisitor::CommandListEntryEx::EnableMultiItem(), XMLFileReader::endElement(), anonymous_namespace{ProjectSerializer.cpp}::XMLTagHandlerAdapter::EndTag(), XMLUtf8BufferWriter::EndTag(), XMLWriter::EndTag(), ProjectSerializer::EndTag(), EQCurve::EQCurve(), EqualizationCurvesDialog::EqualizationCurvesDialog(), FileDialog::FileDialog(), FileIO::FileIO(), AudioSetupToolBar::FillInputChannels(), DeviceToolBar::FillInputChannels(), anonymous_namespace{Registry.cpp}::CollectedItems::Find(), AudioSetupToolBar::Choices::Find(), find_widget(), anonymous_namespace{AudioUnitEffectsModule.cpp}::FindAudioUnit(), Journal::WindowPaths::anonymous_namespace{JournalWindowPaths.cpp}::FindByNameAmongPeers(), FindDialog::FindDialog(), FindFFmpegLibs(), MP3Exporter::FindLibrary(), LV2EffectsModule::FindModulePaths(), VampEffectsModule::FindModulePaths(), BasicMenu::anonymous_namespace{BasicMenu.cpp}::FindPathName(), VampEffectsModule::FindPlugin(), FFmpegPresets::FindPreset(), ExportFFmpegOptions::FindSelectedCodec(), ExportFFmpegOptions::FindSelectedFormat(), VSTWrapper::ForEachParameter(), GetAVVersion(), CommandManager::GetCategories(), CommandManager::GetCategoryFromName(), PluginManager::GetCommandIdentifier(), audacity::network_manager::Request::getCookie(), audacity::network_manager::CookiesList::getCookie(), WaveTrack::GetDefaultAudioTrackNamePreference(), CommandManager::GetDefaultKeyFromName(), AudioIOBase::GetDeviceInfo(), VSTEffectBase::GetEffectIDs(), CommandManager::GetEnabled(), VST3::Hosting::anonymous_namespace{module_linux.cpp}::LinuxModule::getFunctionPointer(), VST3::Hosting::anonymous_namespace{module_win32.cpp}::Win32Module::getFunctionPointer(), Tags::GetGenre(), audacity::network_manager::Request::getHeader(), audacity::network_manager::HeadersList::getHeader(), KeyView::GetIndexByName(), CommandManager::GetKeyFromName(), CommandManager::GetLabelFromName(), Languages::GetLanguages(), CLExportProcessor::GetMetaChunk(), FFmpegImportFileHandle::GetMetadata(), GetMIDIDeviceInfo(), AudacityVst3HostApplication::getName(), DevicePrefs::GetNamesAndLabels(), MidiIOPrefs::GetNamesAndLabels(), MenuRegistry::MenuItems::GetOrdering(), audacity::sqlite::RunContext::GetParameterIndex(), CommandManager::GetPrefixedLabelFromName(), EffectDefinitionInterface::GetSquashedName(), PluginManager::GetSubgroups(), Module::GetSymbol(), GetSymbolFromProcess(), Tags::GetTag(), audacity::cloud::audiocom::anonymous_namespace{UploadService.cpp}::GetUploadRequestPayload(), AUPImportFileHandle::HandlePCMAliasBlockFile(), audacity::cloud::audiocom::anonymous_namespace{UploadService.cpp}::AudiocomUploadOperation::HandleUploadPolicy(), CommandManager::HandleXMLTag(), Journal::WindowPaths::anonymous_namespace{JournalWindowPaths.cpp}::HasName(), audacity::network_manager::Header::hasSameName(), Tags::HasTag(), anonymous_namespace{RealtimeEffectPanel.cpp}::HyperLinkCtrlWrapper::HyperLinkCtrlWrapper(), FLACImportFileHandle::Import(), OggImportFileHandle::Import(), OpusImportFileHandle::Import(), WavPackImportFileHandle::Import(), LWSlider::Init(), FFmpegImportFileHandle::InitCodecs(), NyquistEffectsModule::Initialize(), AudioUnitEffectSettings::Intern(), MacroCommands::IsFixed(), KeyConfigPrefsFactory(), ListNavigationPanel::ListNavigationPanel(), MixerBoard::LoadMusicalInstruments(), ThemeBase::LoadOneThemeComponents(), AudioUnitEffectsModule::LoadPlugin(), FFmpegPresets::LoadPreset(), VST3Wrapper::LoadUserPreset(), AudioUnitEffectBase::LoadUserPreset(), LadspaEffectBase::LoadUserPreset(), LV2EffectBase::LoadUserPreset(), VST3EffectBase::LoadUserPreset(), FormantShifterLogger::Log(), LV2Ports::LV2Ports(), LWSlider::LWSlider(), MacroCommands::MacroCommands(), anonymous_namespace{MenuHelper.cpp}::MakeAddGroupItems(), WaveTrack::MakeClipCopyName(), anonymous_namespace{MenuHelper.cpp}::MakeGroupsFilter(), WaveTrack::MakeNewClipName(), TrackList::MakeUniqueTrackName(), anonymous_namespace{Registry.cpp}::CollectedItems::MergeLater(), anonymous_namespace{Registry.cpp}::CollectedItems::MergeWithExistingItem(), KeyConfigPrefs::MergeWithExistingKeys(), MacroCommands::MigrateLegacyChains(), ModifiedAnalysisTrack::ModifiedAnalysisTrack(), CommandManager::Modify(), ModifyAnalysisTrack(), MovableControl::MovableControl(), ShuttleGui::Name(), DialogDefinition::Item::Name(), WaveTrack::NewestOrNewClip(), CommandManager::Populator::NewIdentifier(), CommandParameters::NormalizeName(), MacrosWindow::OnAdd(), ApplyMacroDialog::OnApplyToFiles(), PluginDataViewCtrl::OnCharEvent(), DevicePrefs::OnDevice(), DevicePrefs::OnHost(), MidiIOPrefs::OnHost(), MacrosWindow::OnImport(), ProjectWindow::OnProjectTitleChange(), MacrosWindow::OnRemove(), EqualizationCurvesDialog::OnRename(), EffectUIHost::OnSaveAs(), audacity::cloud::audiocom::sync::anonymous_namespace{CloudSyncStatusField.cpp}::CloudSyncStatusBarFieldItem::OnSize(), AudacityApp::OnTimer(), DBConnection::OpenStepByStep(), anonymous_namespace{MIDIPlay.h}::Iterator::OutputEvent(), FFmpegPresets::OverwriteIsOk(), AudioUnitWrapper::ParameterInfo::ParameterInfo(), audacity::network_manager::Cookie::Parse(), NyquistBase::Parse(), audacity::cloud::audiocom::anonymous_namespace{UploadService.cpp}::ParseUploadFailedMessage(), WaveTrack::PasteWaveTrackAtSameTempo(), anonymous_namespace{CloudProjectFileIOExtensions.cpp}::IOExtension::PerformCloudSave(), anonymous_namespace{BatchProcessDialog.cpp}::PopulateMacrosMenu(), PluginRegistrationDialog::PopulateOrExchange(), VampEffect::PopulateOrExchange(), MIR::PrintPythonVector(), anonymous_namespace{FormantShifterLogger.cpp}::PrintPythonVector(), FindClippingBase::Process(), MacroCommands::ReadMacro(), KeyView::RefreshBindings(), KeyConfigPrefs::RefreshKeyInfo(), VSTEditor::RefreshParameters(), audacity::cloud::ShareAudioToolbar::RegenerateTooltips(), AudioSetupToolBar::RegenerateTooltips(), ControlToolBar::RegenerateTooltips(), Journal::RegisteredCommand::RegisteredCommand(), RegistryKey::RegistryKey(), audacity::cloud::audiocom::sync::RemoteProjectSnapshot::RemoteProjectSnapshot(), BasicMenu::anonymous_namespace{BasicMenu.cpp}::ReplayPopup(), anonymous_namespace{Registry.cpp}::ReportConflictingPlacements(), CommandManager::ReportDuplicateShortcuts(), anonymous_namespace{Registry.cpp}::ReportGroupGroupCollision(), anonymous_namespace{Registry.cpp}::ReportItemItemCollision(), MacroCommands::RestoreMacro(), audacity::cloud::audiocom::sync::anonymous_namespace{CloudSyncDTO.cpp}::SafeName(), ProjectFileIO::SafetyFileName(), Internat::SanitiseFilename(), ExportFFmpegOptions::SavePreset(), FFmpegPresets::SavePreset(), VSTEffectBase::SaveSettings(), VST3Wrapper::SaveUserPreset(), AudioUnitEffectBase::SaveUserPreset(), Effect::SaveUserPreset(), LadspaEffectBase::SaveUserPreset(), LV2EffectBase::SaveUserPreset(), VST3EffectBase::SaveUserPreset(), AudioSetupToolBar::Choices::Set(), CommandManager::SetCommandFlags(), audacity::network_manager::Request::setCookie(), FileDialog::SetFilename(), audacity::network_manager::Request::setHeader(), KeyView::SetKeyByName(), KeyConfigPrefs::SetKeyForSelected(), CommandManager::SetKeyFromName(), FFmpegExporter::SetMetadata(), SpinControl::SetName(), wxPanelWrapper::SetName(), LWSlider::SetName(), NumericTextCtrl::SetName(), wxDialogWrapper::SetName(), Track::SetName(), WaveClip::SetName(), AudacityProject::SetProjectName(), ProjectFileIO::SetProjectTitle(), Tags::SetTag(), SetToExtantDirectory(), NyqBench::SetWindowTitle(), MixerBoardFrame::SetWindowTitle(), sf_normalize_name(), SpinControl::SpinControl(), XMLFileReader::startElement(), CommandOutputTargets::StartField(), CommandContext::StartField(), CommandMessageTarget::StartField(), LispyCommandMessageTarget::StartField(), anonymous_namespace{MIDIPlay.h}::MIDIPlay::StartPortMidiStream(), XMLUtf8BufferWriter::StartTag(), XMLWriter::StartTag(), ProjectSerializer::StartTag(), TEST_CASE(), MuteButtonHandle::Tip(), SoloButtonHandle::Tip(), EffectsButtonHandle::Tip(), MenuButtonHandle::Tip(), CloseButtonHandle::Tip(), NoiseReductionBase::TrackProgress(), DBConnectionTransactionScopeImpl::TransactionCommit(), audacity::sqlite::Connection::TransactionHandler(), DBConnectionTransactionScopeImpl::TransactionRollback(), DBConnectionTransactionScopeImpl::TransactionStart(), LabelDialog::TransferDataFromWindow(), EffectDistortion::Editor::UpdateControl(), ExportAudioDialog::UpdateLabelExportSettings(), anonymous_namespace{RealtimeEffectPanel.cpp}::UpdateRealtimeEffectUIData(), ExportAudioDialog::UpdateTrackExportSettings(), AudioUnitUtils::UserPreset::UserPreset(), UserPresetsGroup(), VerifyFilename(), anonymous_namespace{Registry.cpp}::VisitItems(), XMLUtf8BufferWriter::WriteAttr(), anonymous_namespace{ProjectSerializer.cpp}::XMLTagHandlerAdapter::WriteAttr(), ProjectSerializer::WriteAttr(), XMLWriter::WriteAttr(), Importer::WriteImportItems(), MacroCommands::WriteMacro(), and ProjectSerializer::WriteName().

◆ names

TranslatableStrings names
static