KiCad PCB EDA Suite
Loading...
Searching...
No Matches
NET_SELECTOR Class Reference

#include <net_selector.h>

Inheritance diagram for NET_SELECTOR:

Public Member Functions

 NET_SELECTOR (wxWindow *parent, wxWindowID id, const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxDefaultSize, long style=0)
 
 ~NET_SELECTOR () override
 
void SetNetInfo (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 onKeyDown (wxKeyEvent &aEvt)
 

Protected Attributes

NET_SELECTOR_COMBOPOPUPm_netSelectorPopup
 
wxString m_indeterminateString
 

Detailed Description

Definition at line 38 of file net_selector.h.

Constructor & Destructor Documentation

◆ NET_SELECTOR()

NET_SELECTOR::NET_SELECTOR ( wxWindow *  parent,
wxWindowID  id,
const wxPoint &  pos = wxDefaultPosition,
const wxSize &  size = wxDefaultSize,
long  style = 0 
)

Definition at line 555 of file net_selector.cpp.

References m_netSelectorPopup, and onKeyDown().

◆ ~NET_SELECTOR()

NET_SELECTOR::~NET_SELECTOR ( )
override

Definition at line 568 of file net_selector.cpp.

References onKeyDown().

Member Function Documentation

◆ GetSelectedNetcode()

◆ GetSelectedNetname()

◆ IsIndeterminate()

bool NET_SELECTOR::IsIndeterminate ( )

◆ onKeyDown()

void NET_SELECTOR::onKeyDown ( wxKeyEvent &  aEvt)
protected

Definition at line 574 of file net_selector.cpp.

References m_netSelectorPopup, and NET_SELECTOR_COMBOPOPUP::OnStartingKey().

Referenced by NET_SELECTOR(), and ~NET_SELECTOR().

◆ SetBoard()

◆ SetIndeterminate()

void NET_SELECTOR::SetIndeterminate ( )

◆ SetIndeterminateString()

void NET_SELECTOR::SetIndeterminateString ( const wxString &  aString)

◆ SetNetInfo()

◆ SetSelectedNet()

◆ SetSelectedNetcode()

Member Data Documentation

◆ m_indeterminateString

wxString NET_SELECTOR::m_indeterminateString
protected

Definition at line 68 of file net_selector.h.

Referenced by SetIndeterminate(), and SetIndeterminateString().

◆ m_netSelectorPopup


The documentation for this class was generated from the following files: