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 | SetSelectedNetcode (int aNetcode) |
void | SetSelectedNet (const wxString &aNetname) |
void | SetIndeterminate () |
bool | IsIndeterminate () |
int | GetSelectedNetcode () |
wxString | GetSelectedNetname () |
void | SetSelectedString (const wxString &aString) override |
virtual void | SetStringList (const wxArrayString &aStringList) |
Protected Member Functions | |
void | setFilterPopup (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 214 of file net_selector.cpp.
References m_netSelectorPopup, and FILTER_COMBOBOX::setFilterPopup().
int NET_SELECTOR::GetSelectedNetcode | ( | ) |
Definition at line 269 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_TRACK_VIA_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 250 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 263 of file net_selector.cpp.
References NET_SELECTOR_COMBOPOPUP::IsIndeterminate(), and m_netSelectorPopup.
Referenced by DIALOG_TRACK_VIA_PROPERTIES::TransferDataFromWindow().
|
protectedinherited |
Definition at line 490 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().
|
protectedinherited |
Definition at line 483 of file filter_combobox.cpp.
References FILTER_COMBOBOX::m_filterPopup.
Referenced by FILTER_COMBOBOX::FILTER_COMBOBOX(), NET_SELECTOR(), and SYMBOL_FILTER_COMBOBOX::SYMBOL_FILTER_COMBOBOX().
void NET_SELECTOR::SetIndeterminate | ( | ) |
Definition at line 256 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 229 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 223 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 243 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 236 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().
|
inlineoverridevirtual |
Reimplemented from FILTER_COMBOBOX.
Definition at line 55 of file net_selector.h.
|
virtualinherited |
Definition at line 471 of file filter_combobox.cpp.
References FILTER_COMBOBOX::m_filterPopup, and FILTER_COMBOPOPUP::SetStringList().
Referenced by DIALOG_LIB_NEW_SYMBOL::DIALOG_LIB_NEW_SYMBOL(), and DIALOG_LABEL_PROPERTIES::TransferDataToWindow().
|
protectedinherited |
Definition at line 144 of file filter_combobox.h.
Referenced by FILTER_COMBOBOX::FILTER_COMBOBOX(), FILTER_COMBOBOX::onKeyDown(), FILTER_COMBOBOX::setFilterPopup(), FILTER_COMBOBOX::SetSelectedString(), and FILTER_COMBOBOX::SetStringList().
|
protected |
Definition at line 62 of file net_selector.h.
Referenced by SetIndeterminate(), and SetIndeterminateString().
|
protected |
Definition at line 61 of file net_selector.h.
Referenced by GetSelectedNetcode(), GetSelectedNetname(), IsIndeterminate(), NET_SELECTOR(), SetIndeterminate(), SetIndeterminateString(), SetNetInfo(), SetSelectedNet(), and SetSelectedNetcode().