![]() |
KiCad PCB EDA Suite
|
#include <panel_setup_pinmap.h>
Public Member Functions | |
PANEL_SETUP_PINMAP (wxWindow *aWindow, SCH_EDIT_FRAME *aParent) | |
void | ImportSettingsFrom (PIN_ERROR aPinMap[][ELECTRICAL_PINTYPES_TOTAL]) |
void | ResetPanel () override |
Reset the contents of this panel. More... | |
virtual wxString | GetResetTooltip () |
Get the tooltip the reset button should display when showing this panel. More... | |
Protected Attributes | |
wxPanel * | m_matrixPanel |
Private Member Functions | |
void | changeErrorLevel (wxCommandEvent &event) |
void | reBuildMatrixPanel () |
void | setDRCMatrixButtonState (wxBitmapButton *aButton, PIN_ERROR aState) |
Private Attributes | |
SCH_EDIT_FRAME * | m_parent |
SCHEMATIC * | m_schematic |
wxBitmapButton * | m_buttonList [ELECTRICAL_PINTYPES_TOTAL][ELECTRICAL_PINTYPES_TOTAL] |
bool | m_initialized |
Definition at line 39 of file panel_setup_pinmap.h.
PANEL_SETUP_PINMAP::PANEL_SETUP_PINMAP | ( | wxWindow * | aWindow, |
SCH_EDIT_FRAME * | aParent | ||
) |
|
private |
Definition at line 194 of file panel_setup_pinmap.cpp.
References ELECTRICAL_PINTYPES_TOTAL, SCHEMATIC::ErcSettings(), ERC_SETTINGS::GetPinMapValue(), ID_MATRIX_0, m_schematic, setDRCMatrixButtonState(), and ERC_SETTINGS::SetPinMapValue().
|
inlinevirtualinherited |
Get the tooltip the reset button should display when showing this panel.
Reimplemented in PANEL_HOTKEYS_EDITOR, and PANEL_COLOR_SETTINGS.
Definition at line 52 of file resettable_panel.h.
References _.
void PANEL_SETUP_PINMAP::ImportSettingsFrom | ( | PIN_ERROR | aPinMap[][ELECTRICAL_PINTYPES_TOTAL] | ) |
Definition at line 212 of file panel_setup_pinmap.cpp.
References ELECTRICAL_PINTYPES_TOTAL, m_buttonList, and setDRCMatrixButtonState().
Referenced by DIALOG_SCHEMATIC_SETUP::OnAuxiliaryAction().
|
private |
Definition at line 70 of file panel_setup_pinmap.cpp.
References CommentERC_H, CommentERC_V, dummy(), ELECTRICAL_PINTYPES_TOTAL, erc_green, ercerr, SCHEMATIC::ErcSettings(), ERC_SETTINGS::GetPinMapValue(), KIUI::GetTextSize(), ID_MATRIX_0, KiBitmap(), KiROUND(), m_buttonList, m_initialized, PANEL_SETUP_PINMAP_BASE::m_matrixPanel, m_schematic, setDRCMatrixButtonState(), and text.
Referenced by ResetPanel().
|
overridevirtual |
Reset the contents of this panel.
Implements RESETTABLE_PANEL.
Definition at line 63 of file panel_setup_pinmap.cpp.
References SCHEMATIC::ErcSettings(), m_schematic, reBuildMatrixPanel(), and ERC_SETTINGS::ResetPinMap().
|
private |
Definition at line 160 of file panel_setup_pinmap.cpp.
References _, erc_green, ercerr, ercwarn, INVALID_BITMAP, KiBitmap(), OK, PP_ERROR, and WARNING.
Referenced by changeErrorLevel(), ImportSettingsFrom(), and reBuildMatrixPanel().
|
private |
Definition at line 57 of file panel_setup_pinmap.h.
Referenced by ImportSettingsFrom(), and reBuildMatrixPanel().
|
private |
Definition at line 58 of file panel_setup_pinmap.h.
Referenced by reBuildMatrixPanel().
|
protectedinherited |
Definition at line 33 of file panel_setup_pinmap_base.h.
Referenced by PANEL_SETUP_PINMAP_BASE::PANEL_SETUP_PINMAP_BASE(), and reBuildMatrixPanel().
|
private |
Definition at line 55 of file panel_setup_pinmap.h.
|
private |
Definition at line 56 of file panel_setup_pinmap.h.
Referenced by changeErrorLevel(), reBuildMatrixPanel(), and ResetPanel().