11#ifndef __AUDACITY_EXT_IMPORT_PREFS__
12#define __AUDACITY_EXT_IMPORT_PREFS__
23class wxGridRangeSelectEvent;
31#define EXT_IMPORT_PREFS_PLUGIN_SYMBOL ComponentInterfaceSymbol{ XO("Ext Import") }
39 wxDragResult
OnData(wxCoord x, wxCoord y, wxDragResult def);
40 bool OnDrop(wxCoord x, wxCoord y);
41 wxDragResult
OnEnter(wxCoord x, wxCoord y, wxDragResult def);
42 wxDragResult
OnDragOver(wxCoord x, wxCoord y, wxDragResult def);
63 void OnShow(wxShowEvent& event);
117 DECLARE_EVENT_TABLE()
The interface that all file import "plugins" (if you want to call them that) must implement....
ComponentInterfaceSymbol pairs a persistent string identifier used internally with an optional,...
ExtImportPrefsDropTarget(wxDataObject *dataObject=nullptr)
void SetPrefs(ExtImportPrefs *prefs)
wxDragResult OnData(wxCoord x, wxCoord y, wxDragResult def)
~ExtImportPrefsDropTarget()
wxDragResult OnEnter(wxCoord x, wxCoord y, wxDragResult def)
wxDragResult OnDragOver(wxCoord x, wxCoord y, wxDragResult def)
bool OnDrop(wxCoord x, wxCoord y)
A PrefsPanel used to select extended import filter options.
ExtImportPrefs(wxWindow *parent, wxWindowID winid)
wxTextDataObject * dragtext2
void OnAddRule(wxCommandEvent &event)
wxTextDataObject * dragtext1
wxButton * MoveFilterDown
void OnRuleTableCellClick(wxGridEvent &event)
void OnFilterMoveDown(wxCommandEvent &event)
bool DoOnPluginKeyDown(int code)
void DoOnRuleTableKeyDown(int keycode)
TranslatableString GetDescription() const override
wxListCtrl * GetPluginList()
wxWindow * GetDragFocus()
void OnDelRule(wxCommandEvent &event)
void SwapPluginRows(int row1, int row2)
void OnRuleMoveUp(wxCommandEvent &event)
void OnRuleTableSelect(wxGridEvent &event)
void Populate()
Creates the dialog and its contents.
void PopulateOrExchange(ShuttleGui &S) override
void OnRuleTableKeyDown(wxKeyEvent &event)
void OnNavKey(wxNavigationKeyEvent &event)
void OnShow(wxShowEvent &event)
void OnPluginKeyDown(wxListEvent &event)
bool mStopRecursiveSelection
void OnPluginBeginDrag(wxListEvent &event)
void FakeOnPluginKeyDown(int keycode)
void OnRuleTableEdit(wxGridEvent &event)
void DoOnRuleTableSelect(int toprow)
void AddItemToTable(int index, const ExtImportItem *item)
void OnRuleTableSelectRange(wxGridRangeSelectEvent &event)
ManualPageID HelpPageName() override
If not empty string, the Help button is added below the panel.
void SwapRows(int row1, int row2)
void OnFilterMoveUp(wxCommandEvent &event)
ComponentInterfaceSymbol GetSymbol() const override
void OnRuleMoveDown(wxCommandEvent &event)
Supplies an accessible grid based on wxGrid.
Base class for a panel in the PrefsDialog. Classes derived from this class include BatchPrefs,...
Derived from ShuttleGuiBase, an Audacity specific class for shuttling data to and from GUI.
Holds a msgid for the translation catalog; may also bind format arguments.