25#include <wx/snglinst.h>
47 m_it = m_hitList.begin();
83 const wxPoint& pos,
const wxSize& size,
long style ) :
87 searchStringLabel =
nullptr;
88 m_searchCombo =
nullptr;
89 m_matchCase =
nullptr;
90 m_matchWords =
nullptr;
91 m_wildcards =
nullptr;
93 m_includeValues =
nullptr;
94 m_includeReferences =
nullptr;
95 m_includeTexts =
nullptr;
96 m_includeMarkers =
nullptr;
97 m_includeNets =
nullptr;
99 m_findPrevious =
nullptr;
100 m_searchAgain =
nullptr;
101 m_closeButton =
nullptr;
112 const wxString& title,
113 const wxPoint& pos,
const wxSize& size,
118 m_Include_Modules =
nullptr;
119 m_Include_PcbTexts =
nullptr;
120 m_IncludeLockedModules =
nullptr;
121 m_Include_Draw_Items =
nullptr;
122 m_Include_Tracks =
nullptr;
123 m_Include_Vias =
nullptr;
124 m_Include_Edges_Items =
nullptr;
125 m_Include_Zones =
nullptr;
126 m_sdbSizer1 =
nullptr;
127 m_sdbSizer1OK =
nullptr;
128 m_sdbSizer1Cancel =
nullptr;
139 m_options( aOptions )
142 if( m_options.includeFootprints )
192 m_enteredGroup( NULL ),
194 m_lockedItemsFiltered( false ),
252 bool* aSelectionCancelledFlag,
296 const std::vector<BOARD_CONNECTED_ITEM*>& aStartItems, STOP_CONDITION aStopCondition )
434 const wxString& aCommitMessage,
int aOptions )
474 m_fillInProgress( false )
496 static PCBNEW_SETTINGS::DISPLAY_OPTIONS disp;
509 static PCB_SELECTION sel;
517 static PCB_SELECTION sel;
536 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