KiCad PCB EDA Suite
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 (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 onKeyDown (wxKeyEvent &aEvt)

Protected Attributes

wxString m_indeterminateString

Detailed Description

Definition at line 38 of file net_selector.h.

Constructor & Destructor Documentation


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

Definition at line 551 of file net_selector.cpp.

References m_netSelectorPopup, and onKeyDown().



Definition at line 564 of file net_selector.cpp.

References onKeyDown().

Member Function Documentation

◆ GetSelectedNetcode()

◆ GetSelectedNetname()

◆ IsIndeterminate()

bool NET_SELECTOR::IsIndeterminate ( )

◆ onKeyDown()

void NET_SELECTOR::onKeyDown ( wxKeyEvent &  aEvt)

Definition at line 570 of file net_selector.cpp.

References m_netSelectorPopup, and NET_SELECTOR_COMBOPOPUP::OnStartingKey().

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

◆ SetBoard()

◆ SetIndeterminate()

◆ SetIndeterminateString()

void NET_SELECTOR::SetIndeterminateString ( const wxString &  aString)

◆ SetNetInfo()

◆ SetSelectedNet()

◆ SetSelectedNetcode()

Member Data Documentation

◆ m_indeterminateString

wxString NET_SELECTOR::m_indeterminateString

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: