23#ifndef DIALOG_SYMBOL_CHOOSER_H
24#define DIALOG_SYMBOL_CHOOSER_H
32#include <wx/checkbox.h>
54 std::vector<PICKED_SYMBOL>& aHistoryList,
55 std::vector<PICKED_SYMBOL>& aAlreadyPlaced,
bool aAllowFieldEdits,
56 bool aShowFootprints,
bool& aCancelled );
78 std::vector<std::pair<FIELD_T, wxString>>
GetFields()
const;
DIALOG_SHIM(wxWindow *aParent, wxWindowID id, const wxString &title, const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxDefaultSize, long style=wxDEFAULT_FRAME_STYLE|wxRESIZE_BORDER, const wxString &name=wxDialogNameStr)
std::vector< std::pair< FIELD_T, wxString > > GetFields() const
Get a list of fields edited by the user.
PANEL_SYMBOL_CHOOSER * m_chooserPanel
wxCheckBox * m_keepSymbol
DIALOG_SYMBOL_CHOOSER(SCH_BASE_FRAME *aParent, const LIB_ID *aPreselect, const SYMBOL_LIBRARY_FILTER *aFilter, std::vector< PICKED_SYMBOL > &aHistoryList, std::vector< PICKED_SYMBOL > &aAlreadyPlaced, bool aAllowFieldEdits, bool aShowFootprints, bool &aCancelled)
Create dialog to choose symbol.
static std::mutex g_Mutex
LIB_ID GetSelectedLibId(int *aUnit=nullptr) const
To be called after this dialog returns from ShowModal().
A logical library item identifier and consists of various portions much like a URI.
A shim class between EDA_DRAW_FRAME and several derived classes: SYMBOL_EDIT_FRAME,...
Helper object to filter a list of libraries.