29#include <wx/snglinst.h>
50 m_it = m_hitList.begin();
86 const wxPoint& pos,
const wxSize& size,
long style ) :
90 searchStringLabel =
nullptr;
91 m_searchCombo =
nullptr;
92 m_matchCase =
nullptr;
93 m_matchWords =
nullptr;
94 m_wildcards =
nullptr;
96 m_includeValues =
nullptr;
97 m_includeReferences =
nullptr;
98 m_includeTexts =
nullptr;
99 m_includeMarkers =
nullptr;
100 m_includeNets =
nullptr;
101 m_findNext =
nullptr;
102 m_findPrevious =
nullptr;
103 m_searchAgain =
nullptr;
104 m_closeButton =
nullptr;
115 const wxString& title,
116 const wxPoint& pos,
const wxSize& size,
121 m_Include_Modules =
nullptr;
122 m_Include_PcbTexts =
nullptr;
123 m_IncludeLockedModules =
nullptr;
124 m_Include_Draw_Items =
nullptr;
125 m_Include_Tracks =
nullptr;
126 m_Include_Vias =
nullptr;
127 m_Include_Edges_Items =
nullptr;
128 m_Include_Zones =
nullptr;
129 m_sdbSizer1 =
nullptr;
130 m_sdbSizer1OK =
nullptr;
131 m_sdbSizer1Cancel =
nullptr;
142 m_options( aOptions )
145 if( m_options.includeFootprints )
195 m_enteredGroup( NULL ),
253 bool* aSelectionCancelledFlag,
297 const std::vector<BOARD_CONNECTED_ITEM*>& aStartItems, STOP_CONDITION aStopCondition )
435 const wxString& aCommitMessage,
int aOptions )
475 m_fillInProgress( false )
497 static PCBNEW_SETTINGS::DISPLAY_OPTIONS disp;
510 static PCB_SELECTION sel;
518 static PCB_SELECTION sel;
537 std::vector<VIEW_ITEM*> items;
std::function< void(const VECTOR2I &, GENERAL_COLLECTOR &, PCB_SELECTION_TOOL *)> CLIENT_SELECTION_FILTER
A base class for any item which can be embedded within the BOARD container class, and therefore insta...
Information pertinent to a Pcbnew printed circuit board.
A class used to derive camera objects from.
Class DIALOG_FILTER_SELECTION_BASE.
~DIALOG_FILTER_SELECTION_BASE()
DIALOG_FILTER_SELECTION_BASE(wxWindow *parent, wxWindowID id=wxID_ANY, const wxString &title=_("Filter Selected Items"), const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxSize(-1,-1), long style=wxDEFAULT_DIALOG_STYLE|wxRESIZE_BORDER)
void checkBoxClicked(wxCommandEvent &aEvent) override
DIALOG_FILTER_SELECTION(PCB_BASE_FRAME *aParent, OPTIONS &aOptions)
Create the filter selection dialog.
bool TransferDataToWindow() override
bool TransferDataFromWindow() override
void allItemsClicked(wxCommandEvent &aEvent) override
DIALOG_FIND_BASE(wxWindow *parent, wxWindowID id=wxID_ANY, const wxString &title=wxEmptyString, const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxDefaultSize, long style=wxDEFAULT_DIALOG_STYLE)
void onTextEnter(wxCommandEvent &event) override
DIALOG_FIND(PCB_EDIT_FRAME *aParent)
bool Show(bool show=true) override
The Show method is overridden to make the search combobox focused by default.
void onFindNextClick(wxCommandEvent &event) override
void onSearchAgainClick(wxCommandEvent &event) override
void onShowSearchPanel(wxHyperlinkEvent &event) override
void onFindPreviousClick(wxCommandEvent &event) override
void OnBoardChanged(wxCommandEvent &event)
Dialog helper object to sit in the inheritance tree between wxDialog and any class written by wxFormB...
A base class for most all the KiCad significant classes used in schematics and boards.
A general implementation of a COLLECTORS_GUIDE.
Used when the right click button is pressed, or when the select tool is in effect.
Represent a selection area (currently a rectangle) in a VIEW, drawn corner-to-corner between two poin...
Base PCB main window class for Pcbnew, Gerbview, and CvPcb footprint viewer.
The main frame for Pcbnew.
EDA_ITEM * GetTopLeftItem(bool aFootprintsOnly=false) const override
BOX2I GetBoundingBox() const override
const std::vector< KIGFX::VIEW_ITEM * > updateDrawList() const override
TRACK_BALL(float aInitialDistance)
This file is part of the common library.
const FAB_LAYER_COLOR * GetColorStandardList()
int GetColorStandardListCount()
static bool itemIsIncludedByFilter(const BOARD_ITEM &aItem, const BOARD &aBoard, const DIALOG_FILTER_SELECTION::OPTIONS &aFilterOptions)
Function itemIsIncludedByFilter()
BBOX_3D()
Create with default values a bounding box (not initialized)
Struct that will be set with the result of the user choices in the dialog.
This file contains data structures that are saved in the project file or project local settings file ...
VECTOR2< int32_t > VECTOR2I