29#include <wx/snglinst.h>
51 m_it = m_hitList.begin();
87 const wxPoint& pos,
const wxSize& size,
long style ) :
91 searchStringLabel =
nullptr;
92 m_searchCombo =
nullptr;
93 m_matchCase =
nullptr;
94 m_matchWords =
nullptr;
95 m_wildcards =
nullptr;
97 m_includeValues =
nullptr;
98 m_includeReferences =
nullptr;
99 m_includeTexts =
nullptr;
100 m_includeMarkers =
nullptr;
101 m_includeNets =
nullptr;
102 m_findNext =
nullptr;
103 m_findPrevious =
nullptr;
104 m_searchAgain =
nullptr;
105 m_closeButton =
nullptr;
116 const wxString& title,
117 const wxPoint& pos,
const wxSize& size,
122 m_Include_Modules =
nullptr;
123 m_Include_PcbTexts =
nullptr;
124 m_IncludeLockedModules =
nullptr;
125 m_Include_Draw_Items =
nullptr;
126 m_Include_Tracks =
nullptr;
127 m_Include_Vias =
nullptr;
128 m_Include_Edges_Items =
nullptr;
129 m_Include_Zones =
nullptr;
130 m_sdbSizer1 =
nullptr;
131 m_sdbSizer1OK =
nullptr;
132 m_sdbSizer1Cancel =
nullptr;
143 m_options( aOptions )
146 if( m_options.includeFootprints )
196 m_enteredGroup( NULL ),
254 bool* aSelectionCancelledFlag,
298 const std::vector<BOARD_CONNECTED_ITEM*>& aStartItems, STOP_CONDITION aStopCondition )
436 const wxString& aCommitMessage,
int aOptions )
476 m_fillInProgress( false )
498 static PCBNEW_SETTINGS::DISPLAY_OPTIONS disp;
511 static PCB_SELECTION sel;
519 static PCB_SELECTION sel;
538 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