KiCad PCB EDA Suite
|
#include <panel_setup_tracks_and_vias.h>
Public Member Functions | |
PANEL_SETUP_TRACKS_AND_VIAS (wxWindow *aParentWindow, PCB_EDIT_FRAME *aFrame) | |
~PANEL_SETUP_TRACKS_AND_VIAS () override | |
bool | TransferDataToWindow () override |
bool | TransferDataFromWindow () override |
bool | Validate () override |
void | ImportSettingsFrom (BOARD *aBoard) |
Protected Member Functions | |
void | OnAddTrackWidthsClick (wxCommandEvent &event) override |
void | OnSortTrackWidthsClick (wxCommandEvent &event) override |
void | OnRemoveTrackWidthsClick (wxCommandEvent &event) override |
void | OnAddViaSizesClick (wxCommandEvent &event) override |
void | OnSortViaSizesClick (wxCommandEvent &event) override |
void | OnRemoveViaSizesClick (wxCommandEvent &event) override |
void | OnAddDiffPairsClick (wxCommandEvent &event) override |
void | OnSortDiffPairsClick (wxCommandEvent &event) override |
void | OnRemoveDiffPairsClick (wxCommandEvent &event) override |
void | onUnitsChanged (wxCommandEvent &aEvent) |
void | AppendTrackWidth (int aWidth) |
void | AppendViaSize (int aSize, int aDrill) |
void | AppendDiffPairs (int aWidth, int aGap, int aViaGap) |
Private Attributes | |
PCB_EDIT_FRAME * | m_Frame |
BOARD * | m_Pcb |
BOARD_DESIGN_SETTINGS * | m_BrdSettings |
Definition at line 39 of file panel_setup_tracks_and_vias.h.
PANEL_SETUP_TRACKS_AND_VIAS::PANEL_SETUP_TRACKS_AND_VIAS | ( | wxWindow * | aParentWindow, |
PCB_EDIT_FRAME * | aFrame | ||
) |
Definition at line 54 of file panel_setup_tracks_and_vias.cpp.
References PCB_BASE_FRAME::GetBoard(), BOARD::GetDesignSettings(), WX_GRID::GetVisibleWidth(), KiBitmapBundle(), m_BrdSettings, PANEL_SETUP_TRACKS_AND_VIAS_BASE::m_diffPairsAddButton, PANEL_SETUP_TRACKS_AND_VIAS_BASE::m_diffPairsGrid, PANEL_SETUP_TRACKS_AND_VIAS_BASE::m_diffPairsRemoveButton, PANEL_SETUP_TRACKS_AND_VIAS_BASE::m_diffPairsSortButton, m_Frame, m_Pcb, PANEL_SETUP_TRACKS_AND_VIAS_BASE::m_trackWidthsAddButton, PANEL_SETUP_TRACKS_AND_VIAS_BASE::m_trackWidthsGrid, PANEL_SETUP_TRACKS_AND_VIAS_BASE::m_trackWidthsRemoveButton, PANEL_SETUP_TRACKS_AND_VIAS_BASE::m_trackWidthsSortButton, PANEL_SETUP_TRACKS_AND_VIAS_BASE::m_viaSizesAddButton, PANEL_SETUP_TRACKS_AND_VIAS_BASE::m_viaSizesGrid, PANEL_SETUP_TRACKS_AND_VIAS_BASE::m_viaSizesRemoveButton, PANEL_SETUP_TRACKS_AND_VIAS_BASE::m_viaSizesSortButton, OnAddDiffPairsClick(), OnAddTrackWidthsClick(), OnAddViaSizesClick(), onUnitsChanged(), WX_GRID::SetAutoEvalCols(), STD_BITMAP_BUTTON::SetBitmap(), and WX_GRID::SetUnitsProvider().
|
override |
Definition at line 131 of file panel_setup_tracks_and_vias.cpp.
References PANEL_SETUP_TRACKS_AND_VIAS_BASE::m_diffPairsGrid, m_Frame, PANEL_SETUP_TRACKS_AND_VIAS_BASE::m_trackWidthsGrid, PANEL_SETUP_TRACKS_AND_VIAS_BASE::m_viaSizesGrid, and onUnitsChanged().
|
protected |
Definition at line 420 of file panel_setup_tracks_and_vias.cpp.
References DP_GAP_COL, DP_VIA_GAP_COL, DP_WIDTH_COL, PANEL_SETUP_TRACKS_AND_VIAS_BASE::m_diffPairsGrid, and WX_GRID::SetUnitValue().
Referenced by OnAddDiffPairsClick(), OnSortDiffPairsClick(), and TransferDataToWindow().
|
protected |
Definition at line 397 of file panel_setup_tracks_and_vias.cpp.
References PANEL_SETUP_TRACKS_AND_VIAS_BASE::m_trackWidthsGrid, WX_GRID::SetUnitValue(), and TR_WIDTH_COL.
Referenced by OnAddTrackWidthsClick(), OnSortTrackWidthsClick(), and TransferDataToWindow().
|
protected |
Definition at line 407 of file panel_setup_tracks_and_vias.cpp.
References PANEL_SETUP_TRACKS_AND_VIAS_BASE::m_viaSizesGrid, WX_GRID::SetUnitValue(), VIA_DRILL_COL, and VIA_SIZE_COL.
Referenced by OnAddViaSizesClick(), OnSortViaSizesClick(), and TransferDataToWindow().
void PANEL_SETUP_TRACKS_AND_VIAS::ImportSettingsFrom | ( | BOARD * | aBoard | ) |
Definition at line 553 of file panel_setup_tracks_and_vias.cpp.
References WX_GRID::CommitPendingChanges(), BOARD::GetDesignSettings(), m_BrdSettings, PANEL_SETUP_TRACKS_AND_VIAS_BASE::m_diffPairsGrid, PANEL_SETUP_TRACKS_AND_VIAS_BASE::m_trackWidthsGrid, PANEL_SETUP_TRACKS_AND_VIAS_BASE::m_viaSizesGrid, and TransferDataToWindow().
|
overrideprotectedvirtual |
Reimplemented from PANEL_SETUP_TRACKS_AND_VIAS_BASE.
Definition at line 521 of file panel_setup_tracks_and_vias.cpp.
References AppendDiffPairs(), WX_GRID::CommitPendingChanges(), DP_WIDTH_COL, PANEL_SETUP_TRACKS_AND_VIAS_BASE::m_diffPairsGrid, PANEL_SETUP_TRACKS_AND_VIAS_BASE::m_trackWidthsGrid, and PANEL_SETUP_TRACKS_AND_VIAS_BASE::m_viaSizesGrid.
Referenced by PANEL_SETUP_TRACKS_AND_VIAS().
|
overrideprotectedvirtual |
Reimplemented from PANEL_SETUP_TRACKS_AND_VIAS_BASE.
Definition at line 457 of file panel_setup_tracks_and_vias.cpp.
References AppendTrackWidth(), WX_GRID::CommitPendingChanges(), PANEL_SETUP_TRACKS_AND_VIAS_BASE::m_diffPairsGrid, PANEL_SETUP_TRACKS_AND_VIAS_BASE::m_trackWidthsGrid, PANEL_SETUP_TRACKS_AND_VIAS_BASE::m_viaSizesGrid, and TR_WIDTH_COL.
Referenced by PANEL_SETUP_TRACKS_AND_VIAS().
|
overrideprotectedvirtual |
Reimplemented from PANEL_SETUP_TRACKS_AND_VIAS_BASE.
Definition at line 489 of file panel_setup_tracks_and_vias.cpp.
References AppendViaSize(), WX_GRID::CommitPendingChanges(), PANEL_SETUP_TRACKS_AND_VIAS_BASE::m_diffPairsGrid, PANEL_SETUP_TRACKS_AND_VIAS_BASE::m_trackWidthsGrid, PANEL_SETUP_TRACKS_AND_VIAS_BASE::m_viaSizesGrid, and VIA_SIZE_COL.
Referenced by PANEL_SETUP_TRACKS_AND_VIAS().
|
overrideprotectedvirtual |
Reimplemented from PANEL_SETUP_TRACKS_AND_VIAS_BASE.
Definition at line 540 of file panel_setup_tracks_and_vias.cpp.
References WX_GRID::CommitPendingChanges(), PANEL_SETUP_TRACKS_AND_VIAS_BASE::m_diffPairsGrid, PANEL_SETUP_TRACKS_AND_VIAS_BASE::m_trackWidthsGrid, PANEL_SETUP_TRACKS_AND_VIAS_BASE::m_viaSizesGrid, and removeSelectedRows().
|
overrideprotectedvirtual |
Reimplemented from PANEL_SETUP_TRACKS_AND_VIAS_BASE.
Definition at line 476 of file panel_setup_tracks_and_vias.cpp.
References WX_GRID::CommitPendingChanges(), PANEL_SETUP_TRACKS_AND_VIAS_BASE::m_diffPairsGrid, PANEL_SETUP_TRACKS_AND_VIAS_BASE::m_trackWidthsGrid, PANEL_SETUP_TRACKS_AND_VIAS_BASE::m_viaSizesGrid, and removeSelectedRows().
|
overrideprotectedvirtual |
Reimplemented from PANEL_SETUP_TRACKS_AND_VIAS_BASE.
Definition at line 508 of file panel_setup_tracks_and_vias.cpp.
References WX_GRID::CommitPendingChanges(), PANEL_SETUP_TRACKS_AND_VIAS_BASE::m_diffPairsGrid, PANEL_SETUP_TRACKS_AND_VIAS_BASE::m_trackWidthsGrid, PANEL_SETUP_TRACKS_AND_VIAS_BASE::m_viaSizesGrid, and removeSelectedRows().
|
overrideprotectedvirtual |
Reimplemented from PANEL_SETUP_TRACKS_AND_VIAS_BASE.
Definition at line 198 of file panel_setup_tracks_and_vias.cpp.
References AppendDiffPairs(), DP_GAP_COL, DP_VIA_GAP_COL, DP_WIDTH_COL, PANEL_SETUP_TRACKS_AND_VIAS_BASE::m_diffPairsGrid, m_Frame, DIFF_PAIR_DIMENSION::m_Gap, DIFF_PAIR_DIMENSION::m_ViaGap, DIFF_PAIR_DIMENSION::m_Width, and UNITS_PROVIDER::ValueFromString().
|
overrideprotectedvirtual |
Reimplemented from PANEL_SETUP_TRACKS_AND_VIAS_BASE.
Definition at line 142 of file panel_setup_tracks_and_vias.cpp.
References AppendTrackWidth(), m_Frame, PANEL_SETUP_TRACKS_AND_VIAS_BASE::m_trackWidthsGrid, TR_WIDTH_COL, and UNITS_PROVIDER::ValueFromString().
|
overrideprotectedvirtual |
Reimplemented from PANEL_SETUP_TRACKS_AND_VIAS_BASE.
Definition at line 165 of file panel_setup_tracks_and_vias.cpp.
References AppendViaSize(), VIA_DIMENSION::m_Diameter, VIA_DIMENSION::m_Drill, m_Frame, PANEL_SETUP_TRACKS_AND_VIAS_BASE::m_viaSizesGrid, UNITS_PROVIDER::ValueFromString(), via, VIA_DRILL_COL, and VIA_SIZE_COL.
|
protected |
Definition at line 234 of file panel_setup_tracks_and_vias.cpp.
References m_BrdSettings, TransferDataFromWindow(), and TransferDataToWindow().
Referenced by PANEL_SETUP_TRACKS_AND_VIAS(), and ~PANEL_SETUP_TRACKS_AND_VIAS().
|
override |
Definition at line 281 of file panel_setup_tracks_and_vias.cpp.
References WX_GRID::CommitPendingChanges(), DP_GAP_COL, DP_VIA_GAP_COL, DP_WIDTH_COL, WX_GRID::GetUnitValue(), m_BrdSettings, VIA_DIMENSION::m_Diameter, BOARD_DESIGN_SETTINGS::m_DiffPairDimensionsList, PANEL_SETUP_TRACKS_AND_VIAS_BASE::m_diffPairsGrid, VIA_DIMENSION::m_Drill, DIFF_PAIR_DIMENSION::m_Gap, BOARD_DESIGN_SETTINGS::m_TrackWidthList, PANEL_SETUP_TRACKS_AND_VIAS_BASE::m_trackWidthsGrid, DIFF_PAIR_DIMENSION::m_ViaGap, BOARD_DESIGN_SETTINGS::m_ViasDimensionsList, PANEL_SETUP_TRACKS_AND_VIAS_BASE::m_viaSizesGrid, DIFF_PAIR_DIMENSION::m_Width, TR_WIDTH_COL, VIA_DRILL_COL, and VIA_SIZE_COL.
Referenced by onUnitsChanged().
|
override |
Definition at line 250 of file panel_setup_tracks_and_vias.cpp.
References AppendDiffPairs(), AppendTrackWidth(), AppendViaSize(), WX_GRID::ClearRows(), m_BrdSettings, BOARD_DESIGN_SETTINGS::m_DiffPairDimensionsList, PANEL_SETUP_TRACKS_AND_VIAS_BASE::m_diffPairsGrid, BOARD_DESIGN_SETTINGS::m_TrackWidthList, PANEL_SETUP_TRACKS_AND_VIAS_BASE::m_trackWidthsGrid, BOARD_DESIGN_SETTINGS::m_ViasDimensionsList, and PANEL_SETUP_TRACKS_AND_VIAS_BASE::m_viaSizesGrid.
Referenced by ImportSettingsFrom(), and onUnitsChanged().
|
override |
Definition at line 354 of file panel_setup_tracks_and_vias.cpp.
References _, WX_GRID::CommitPendingChanges(), PAGED_DIALOG::GetDialog(), PANEL_SETUP_TRACKS_AND_VIAS_BASE::m_diffPairsGrid, PANEL_SETUP_TRACKS_AND_VIAS_BASE::m_trackWidthsGrid, PANEL_SETUP_TRACKS_AND_VIAS_BASE::m_viaSizesGrid, PAGED_DIALOG::SetError(), VIA_DRILL_COL, and VIA_SIZE_COL.
|
private |
Definition at line 72 of file panel_setup_tracks_and_vias.h.
Referenced by ImportSettingsFrom(), onUnitsChanged(), PANEL_SETUP_TRACKS_AND_VIAS(), TransferDataFromWindow(), and TransferDataToWindow().
|
protectedinherited |
Definition at line 50 of file panel_setup_tracks_and_vias_base.h.
Referenced by PANEL_SETUP_TRACKS_AND_VIAS(), PANEL_SETUP_TRACKS_AND_VIAS_BASE::PANEL_SETUP_TRACKS_AND_VIAS_BASE(), and PANEL_SETUP_TRACKS_AND_VIAS_BASE::~PANEL_SETUP_TRACKS_AND_VIAS_BASE().
|
protectedinherited |
Definition at line 49 of file panel_setup_tracks_and_vias_base.h.
Referenced by AppendDiffPairs(), ImportSettingsFrom(), OnAddDiffPairsClick(), OnAddTrackWidthsClick(), OnAddViaSizesClick(), OnRemoveDiffPairsClick(), OnRemoveTrackWidthsClick(), OnRemoveViaSizesClick(), OnSortDiffPairsClick(), PANEL_SETUP_TRACKS_AND_VIAS(), PANEL_SETUP_TRACKS_AND_VIAS_BASE::PANEL_SETUP_TRACKS_AND_VIAS_BASE(), TransferDataFromWindow(), TransferDataToWindow(), Validate(), and ~PANEL_SETUP_TRACKS_AND_VIAS().
|
protectedinherited |
Definition at line 52 of file panel_setup_tracks_and_vias_base.h.
Referenced by PANEL_SETUP_TRACKS_AND_VIAS(), PANEL_SETUP_TRACKS_AND_VIAS_BASE::PANEL_SETUP_TRACKS_AND_VIAS_BASE(), and PANEL_SETUP_TRACKS_AND_VIAS_BASE::~PANEL_SETUP_TRACKS_AND_VIAS_BASE().
|
protectedinherited |
Definition at line 51 of file panel_setup_tracks_and_vias_base.h.
Referenced by PANEL_SETUP_TRACKS_AND_VIAS(), PANEL_SETUP_TRACKS_AND_VIAS_BASE::PANEL_SETUP_TRACKS_AND_VIAS_BASE(), and PANEL_SETUP_TRACKS_AND_VIAS_BASE::~PANEL_SETUP_TRACKS_AND_VIAS_BASE().
|
private |
Definition at line 70 of file panel_setup_tracks_and_vias.h.
Referenced by OnSortDiffPairsClick(), OnSortTrackWidthsClick(), OnSortViaSizesClick(), PANEL_SETUP_TRACKS_AND_VIAS(), and ~PANEL_SETUP_TRACKS_AND_VIAS().
|
private |
Definition at line 71 of file panel_setup_tracks_and_vias.h.
Referenced by PANEL_SETUP_TRACKS_AND_VIAS().
|
protectedinherited |
Definition at line 42 of file panel_setup_tracks_and_vias_base.h.
Referenced by PANEL_SETUP_TRACKS_AND_VIAS(), PANEL_SETUP_TRACKS_AND_VIAS_BASE::PANEL_SETUP_TRACKS_AND_VIAS_BASE(), and PANEL_SETUP_TRACKS_AND_VIAS_BASE::~PANEL_SETUP_TRACKS_AND_VIAS_BASE().
|
protectedinherited |
Definition at line 41 of file panel_setup_tracks_and_vias_base.h.
Referenced by AppendTrackWidth(), ImportSettingsFrom(), OnAddDiffPairsClick(), OnAddTrackWidthsClick(), OnAddViaSizesClick(), OnRemoveDiffPairsClick(), OnRemoveTrackWidthsClick(), OnRemoveViaSizesClick(), OnSortTrackWidthsClick(), PANEL_SETUP_TRACKS_AND_VIAS(), PANEL_SETUP_TRACKS_AND_VIAS_BASE::PANEL_SETUP_TRACKS_AND_VIAS_BASE(), TransferDataFromWindow(), TransferDataToWindow(), Validate(), and ~PANEL_SETUP_TRACKS_AND_VIAS().
|
protectedinherited |
Definition at line 44 of file panel_setup_tracks_and_vias_base.h.
Referenced by PANEL_SETUP_TRACKS_AND_VIAS(), PANEL_SETUP_TRACKS_AND_VIAS_BASE::PANEL_SETUP_TRACKS_AND_VIAS_BASE(), and PANEL_SETUP_TRACKS_AND_VIAS_BASE::~PANEL_SETUP_TRACKS_AND_VIAS_BASE().
|
protectedinherited |
Definition at line 43 of file panel_setup_tracks_and_vias_base.h.
Referenced by PANEL_SETUP_TRACKS_AND_VIAS(), PANEL_SETUP_TRACKS_AND_VIAS_BASE::PANEL_SETUP_TRACKS_AND_VIAS_BASE(), and PANEL_SETUP_TRACKS_AND_VIAS_BASE::~PANEL_SETUP_TRACKS_AND_VIAS_BASE().
|
protectedinherited |
Definition at line 46 of file panel_setup_tracks_and_vias_base.h.
Referenced by PANEL_SETUP_TRACKS_AND_VIAS(), PANEL_SETUP_TRACKS_AND_VIAS_BASE::PANEL_SETUP_TRACKS_AND_VIAS_BASE(), and PANEL_SETUP_TRACKS_AND_VIAS_BASE::~PANEL_SETUP_TRACKS_AND_VIAS_BASE().
|
protectedinherited |
Definition at line 45 of file panel_setup_tracks_and_vias_base.h.
Referenced by AppendViaSize(), ImportSettingsFrom(), OnAddDiffPairsClick(), OnAddTrackWidthsClick(), OnAddViaSizesClick(), OnRemoveDiffPairsClick(), OnRemoveTrackWidthsClick(), OnRemoveViaSizesClick(), OnSortViaSizesClick(), PANEL_SETUP_TRACKS_AND_VIAS(), PANEL_SETUP_TRACKS_AND_VIAS_BASE::PANEL_SETUP_TRACKS_AND_VIAS_BASE(), TransferDataFromWindow(), TransferDataToWindow(), Validate(), and ~PANEL_SETUP_TRACKS_AND_VIAS().
|
protectedinherited |
Definition at line 48 of file panel_setup_tracks_and_vias_base.h.
Referenced by PANEL_SETUP_TRACKS_AND_VIAS(), PANEL_SETUP_TRACKS_AND_VIAS_BASE::PANEL_SETUP_TRACKS_AND_VIAS_BASE(), and PANEL_SETUP_TRACKS_AND_VIAS_BASE::~PANEL_SETUP_TRACKS_AND_VIAS_BASE().
|
protectedinherited |
Definition at line 47 of file panel_setup_tracks_and_vias_base.h.
Referenced by PANEL_SETUP_TRACKS_AND_VIAS(), PANEL_SETUP_TRACKS_AND_VIAS_BASE::PANEL_SETUP_TRACKS_AND_VIAS_BASE(), and PANEL_SETUP_TRACKS_AND_VIAS_BASE::~PANEL_SETUP_TRACKS_AND_VIAS_BASE().