KiCad PCB EDA Suite
|
#include <net_selector.h>
Public Member Functions | |
NET_SELECTOR (wxWindow *parent, wxWindowID id, const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxDefaultSize, long style=0) | |
void | SetNetInfo (const NETINFO_LIST *aNetInfoList) |
void | SetIndeterminateString (const wxString &aString) |
void | SetBoard (BOARD *aBoard) |
void | SetSelectedNetcode (int aNetcode) |
void | SetSelectedNet (const wxString &aNetname) |
void | SetIndeterminate () |
bool | IsIndeterminate () |
int | GetSelectedNetcode () |
wxString | GetSelectedNetname () |
Protected Member Functions | |
void | setFilterPopup (std::unique_ptr< FILTER_COMBOPOPUP > aPopup) |
void | onKeyDown (wxKeyEvent &aEvt) |
Protected Attributes | |
NET_SELECTOR_COMBOPOPUP * | m_netSelectorPopup |
wxString | m_indeterminateString |
FILTER_COMBOPOPUP * | m_filterPopup |
Definition at line 34 of file net_selector.h.
NET_SELECTOR::NET_SELECTOR | ( | wxWindow * | parent, |
wxWindowID | id, | ||
const wxPoint & | pos = wxDefaultPosition , |
||
const wxSize & | size = wxDefaultSize , |
||
long | style = 0 |
||
) |
Definition at line 226 of file net_selector.cpp.
References m_netSelectorPopup, and FILTER_COMBOBOX::setFilterPopup().
int NET_SELECTOR::GetSelectedNetcode | ( | ) |
Definition at line 288 of file net_selector.cpp.
References NET_SELECTOR_COMBOPOPUP::GetSelectedNetcode(), and m_netSelectorPopup.
Referenced by DIALOG_CLEANUP_TRACKS_AND_VIAS::doCleanup(), DIALOG_PAD_PROPERTIES::TransferDataFromWindow(), DIALOG_PAD_PROPERTIES::transferDataToPad(), DIALOG_GLOBAL_EDIT_TEARDROPS::visitItem(), and DIALOG_GLOBAL_EDIT_TRACKS_AND_VIAS::visitItem().
wxString NET_SELECTOR::GetSelectedNetname | ( | ) |
Definition at line 269 of file net_selector.cpp.
References NET_SELECTOR_COMBOPOPUP::GetSelectedNetname(), and m_netSelectorPopup.
Referenced by DIALOG_GLOBAL_EDIT_TEARDROPS::~DIALOG_GLOBAL_EDIT_TEARDROPS(), and DIALOG_GLOBAL_EDIT_TRACKS_AND_VIAS::~DIALOG_GLOBAL_EDIT_TRACKS_AND_VIAS().
bool NET_SELECTOR::IsIndeterminate | ( | ) |
Definition at line 282 of file net_selector.cpp.
References NET_SELECTOR_COMBOPOPUP::IsIndeterminate(), and m_netSelectorPopup.
|
protectedinherited |
Definition at line 413 of file filter_combobox.cpp.
References FILTER_COMBOBOX::m_filterPopup, and FILTER_COMBOPOPUP::OnStartingKey().
Referenced by FILTER_COMBOBOX::FILTER_COMBOBOX(), and FILTER_COMBOBOX::~FILTER_COMBOBOX().
void NET_SELECTOR::SetBoard | ( | BOARD * | aBoard | ) |
Definition at line 249 of file net_selector.cpp.
References m_netSelectorPopup, and NET_SELECTOR_COMBOPOPUP::SetBoard().
Referenced by DIALOG_CLEANUP_TRACKS_AND_VIAS::buildFilterLists(), DIALOG_GLOBAL_EDIT_TEARDROPS::buildFilterLists(), DIALOG_GLOBAL_EDIT_TRACKS_AND_VIAS::buildFilterLists(), DIALOG_PAD_PROPERTIES::DIALOG_PAD_PROPERTIES(), DIALOG_SHAPE_PROPERTIES::DIALOG_SHAPE_PROPERTIES(), and DIALOG_TRACK_VIA_PROPERTIES::DIALOG_TRACK_VIA_PROPERTIES().
|
protectedinherited |
Definition at line 406 of file filter_combobox.cpp.
References FILTER_COMBOBOX::m_filterPopup.
Referenced by NET_SELECTOR(), and SYMBOL_FILTER_COMBOBOX::SYMBOL_FILTER_COMBOBOX().
void NET_SELECTOR::SetIndeterminate | ( | ) |
Definition at line 275 of file net_selector.cpp.
References m_indeterminateString, m_netSelectorPopup, and NET_SELECTOR_COMBOPOPUP::SetIndeterminate().
Referenced by DIALOG_SHAPE_PROPERTIES::DIALOG_SHAPE_PROPERTIES(), and DIALOG_TRACK_VIA_PROPERTIES::DIALOG_TRACK_VIA_PROPERTIES().
void NET_SELECTOR::SetIndeterminateString | ( | const wxString & | aString | ) |
Definition at line 242 of file net_selector.cpp.
References m_indeterminateString, m_netSelectorPopup, and NET_SELECTOR_COMBOPOPUP::SetIndeterminateLabel().
Referenced by DIALOG_SHAPE_PROPERTIES::DIALOG_SHAPE_PROPERTIES(), and DIALOG_TRACK_VIA_PROPERTIES::DIALOG_TRACK_VIA_PROPERTIES().
void NET_SELECTOR::SetNetInfo | ( | const NETINFO_LIST * | aNetInfoList | ) |
Definition at line 236 of file net_selector.cpp.
References m_netSelectorPopup, and NET_SELECTOR_COMBOPOPUP::SetNetInfo().
Referenced by DIALOG_CLEANUP_TRACKS_AND_VIAS::buildFilterLists(), DIALOG_GLOBAL_EDIT_TEARDROPS::buildFilterLists(), DIALOG_GLOBAL_EDIT_TRACKS_AND_VIAS::buildFilterLists(), DIALOG_PAD_PROPERTIES::DIALOG_PAD_PROPERTIES(), DIALOG_SHAPE_PROPERTIES::DIALOG_SHAPE_PROPERTIES(), and DIALOG_TRACK_VIA_PROPERTIES::DIALOG_TRACK_VIA_PROPERTIES().
void NET_SELECTOR::SetSelectedNet | ( | const wxString & | aNetname | ) |
Definition at line 262 of file net_selector.cpp.
References NET_SELECTOR_COMBOPOPUP::GetStringValue(), m_netSelectorPopup, NET_SELECTOR_COMBOPOPUP::SetSelectedNet(), and UnescapeString().
Referenced by DIALOG_GLOBAL_EDIT_TEARDROPS::TransferDataToWindow(), and DIALOG_GLOBAL_EDIT_TRACKS_AND_VIAS::TransferDataToWindow().
void NET_SELECTOR::SetSelectedNetcode | ( | int | aNetcode | ) |
Definition at line 255 of file net_selector.cpp.
References NET_SELECTOR_COMBOPOPUP::GetStringValue(), m_netSelectorPopup, NET_SELECTOR_COMBOPOPUP::SetSelectedNetcode(), and UnescapeString().
Referenced by DIALOG_CLEANUP_TRACKS_AND_VIAS::buildFilterLists(), DIALOG_GLOBAL_EDIT_TEARDROPS::buildFilterLists(), DIALOG_GLOBAL_EDIT_TRACKS_AND_VIAS::buildFilterLists(), DIALOG_SHAPE_PROPERTIES::DIALOG_SHAPE_PROPERTIES(), DIALOG_TRACK_VIA_PROPERTIES::DIALOG_TRACK_VIA_PROPERTIES(), DIALOG_PAD_PROPERTIES::initValues(), DIALOG_PAD_PROPERTIES::PadTypeSelected(), DIALOG_GLOBAL_EDIT_TEARDROPS::TransferDataToWindow(), and DIALOG_GLOBAL_EDIT_TRACKS_AND_VIAS::TransferDataToWindow().
|
protectedinherited |
Definition at line 126 of file filter_combobox.h.
Referenced by FILTER_COMBOBOX::onKeyDown(), and FILTER_COMBOBOX::setFilterPopup().
|
protected |
Definition at line 61 of file net_selector.h.
Referenced by SetIndeterminate(), and SetIndeterminateString().
|
protected |
Definition at line 60 of file net_selector.h.
Referenced by GetSelectedNetcode(), GetSelectedNetname(), IsIndeterminate(), NET_SELECTOR(), SetBoard(), SetIndeterminate(), SetIndeterminateString(), SetNetInfo(), SetSelectedNet(), and SetSelectedNetcode().