29#include <wx/snglinst.h>
53 m_it = m_hitList.begin();
89 const wxPoint& pos,
const wxSize& size,
long style ) :
93 searchStringLabel =
nullptr;
94 m_searchCombo =
nullptr;
95 m_matchCase =
nullptr;
96 m_matchWords =
nullptr;
97 m_wildcards =
nullptr;
99 m_includeValues =
nullptr;
100 m_includeReferences =
nullptr;
101 m_includeTexts =
nullptr;
102 m_includeMarkers =
nullptr;
103 m_includeNets =
nullptr;
104 m_findNext =
nullptr;
105 m_findPrevious =
nullptr;
106 m_searchAgain =
nullptr;
107 m_closeButton =
nullptr;
118 const wxString& title,
119 const wxPoint& pos,
const wxSize& size,
124 m_Include_Modules =
nullptr;
125 m_Include_PcbTexts =
nullptr;
126 m_IncludeLockedModules =
nullptr;
127 m_Include_Draw_Items =
nullptr;
128 m_Include_Tracks =
nullptr;
129 m_Include_Vias =
nullptr;
130 m_Include_Edges_Items =
nullptr;
131 m_Include_Zones =
nullptr;
132 m_sdbSizer1 =
nullptr;
133 m_sdbSizer1OK =
nullptr;
134 m_sdbSizer1Cancel =
nullptr;
145 m_options( aOptions )
148 if( m_options.includeModules )
198 m_enteredGroup( NULL ),
256 bool* aSelectionCancelledFlag,
300 const std::vector<BOARD_CONNECTED_ITEM*>& aStartItems, STOP_CONDITION aStopCondition )
438 const wxString& aCommitMessage,
int aOptions )
478 m_fillInProgress( false )
500 static PCBNEW_SETTINGS::DISPLAY_OPTIONS disp;
513 static PCB_SELECTION sel;
521 static PCB_SELECTION sel;
540 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.
FP_LIB_TABLE GFootprintTable
The global footprint library table.
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