KiCad PCB EDA Suite
No Matches
PinTypeComboBox Class Reference

#include <pin_type_combobox.h>

Inheritance diagram for PinTypeComboBox:

Public Member Functions

 PinTypeComboBox (wxWindow *parent, wxWindowID id=wxID_ANY, const wxString &value=wxEmptyString, const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxDefaultSize, int n=0, const wxString choices[]=nullptr, long style=0, const wxValidator &validator=wxDefaultValidator, const wxString &name=wxBitmapComboBoxNameStr)
void SetSelection (ELECTRICAL_PINTYPE aType)

Detailed Description

Definition at line 34 of file pin_type_combobox.h.

Constructor & Destructor Documentation

◆ PinTypeComboBox()

PinTypeComboBox::PinTypeComboBox ( wxWindow *  parent,
wxWindowID  id = wxID_ANY,
const wxString &  value = wxEmptyString,
const wxPoint &  pos = wxDefaultPosition,
const wxSize &  size = wxDefaultSize,
int  n = 0,
const wxString  choices[] = nullptr,
long  style = 0,
const wxValidator &  validator = wxDefaultValidator,
const wxString &  name = wxBitmapComboBoxNameStr 
C++11: replace with forwarder

Definition at line 34 of file pin_type_combobox.cpp.

References ELECTRICAL_PINTYPES_TOTAL, ElectricalPinTypeGetBitmap(), ElectricalPinTypeGetText(), KiBitmapBundle(), and text.

Member Function Documentation

◆ GetPinTypeSelection()

ELECTRICAL_PINTYPE PinTypeComboBox::GetPinTypeSelection ( )

◆ SetSelection()

void PinTypeComboBox::SetSelection ( ELECTRICAL_PINTYPE  aType)

Definition at line 67 of file pin_type_combobox.cpp.

Referenced by DIALOG_PIN_PROPERTIES::TransferDataToWindow().

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