KiCad PCB EDA Suite
|
#include <layer_box_selector.h>
Public Member Functions | |
LAYER_BOX_SELECTOR (wxWindow *parent, wxWindowID id, const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxDefaultSize, int n=0, const wxString choices[]=nullptr) | |
~LAYER_BOX_SELECTOR () override | |
int | GetLayerSelection () const |
int | SetLayerSelection (int layer) |
virtual void | Resync ()=0 |
bool | SetLayersHotkeys (bool value) |
Protected Member Functions | |
virtual bool | isLayerEnabled (int aLayer) const =0 |
Protected Attributes | |
bool | m_layerhotkeys |
Definition at line 54 of file layer_box_selector.h.
LAYER_BOX_SELECTOR::LAYER_BOX_SELECTOR | ( | wxWindow * | parent, |
wxWindowID | id, | ||
const wxPoint & | pos = wxDefaultPosition , |
||
const wxSize & | size = wxDefaultSize , |
||
int | n = 0 , |
||
const wxString | choices[] = nullptr |
||
) |
Definition at line 50 of file layer_box_selector.cpp.
|
override |
Definition at line 62 of file layer_box_selector.cpp.
int LAYER_BOX_SELECTOR::GetLayerSelection | ( | ) | const |
Definition at line 71 of file layer_box_selector.cpp.
References UNDEFINED_LAYER.
Referenced by DIALOG_CLEANUP_TRACKS_AND_VIAS::doCleanup(), GRID_CELL_LAYER_SELECTOR::EndEdit(), DIALOG_TRACK_VIA_PROPERTIES::getLayerDepth(), DIALOG_OUTSET_ITEMS::OnLayerDefaultClick(), DIALOG_SHAPE_PROPERTIES::onLayerSelection(), DIALOG_TRACK_VIA_PROPERTIES::onTrackEdit(), PCB_EDIT_FRAME::OnUpdateLayerSelectBox(), PCB_EDIT_FRAME::Process_Special_Functions(), DIALOG_GLOBAL_EDIT_TEXT_AND_GRAPHICS::processItem(), DIALOG_GLOBAL_EDIT_TRACKS_AND_VIAS::processItem(), FOOTPRINT_EDIT_FRAME::SelectLayer(), DIALOG_SHAPE_PROPERTIES::showHideNetInfo(), DIALOG_SHAPE_PROPERTIES::showHideTechLayers(), DIALOG_OUTSET_ITEMS::TransferDataFromWindow(), DIALOG_REFERENCE_IMAGE_PROPERTIES::TransferDataFromWindow(), DIALOG_TEXTBOX_PROPERTIES::TransferDataFromWindow(), DIALOG_TRACK_VIA_PROPERTIES::TransferDataFromWindow(), DIALOG_IMPORT_GRAPHICS::TransferDataFromWindow(), DIALOG_DIMENSION_PROPERTIES::updateDimensionFromDialog(), DIALOG_GLOBAL_EDIT_TEXT_AND_GRAPHICS::visitItem(), DIALOG_GLOBAL_EDIT_TEARDROPS::visitItem(), DIALOG_GLOBAL_EDIT_TRACKS_AND_VIAS::visitItem(), DIALOG_GLOBAL_EDIT_TEARDROPS::~DIALOG_GLOBAL_EDIT_TEARDROPS(), DIALOG_GLOBAL_EDIT_TRACKS_AND_VIAS::~DIALOG_GLOBAL_EDIT_TRACKS_AND_VIAS(), and DIALOG_IMPORT_GRAPHICS::~DIALOG_IMPORT_GRAPHICS().
|
protectedpure virtualinherited |
Implemented in GBR_LAYER_BOX_SELECTOR, and PCB_LAYER_BOX_SELECTOR.
|
pure virtual |
Implemented in GBR_LAYER_BOX_SELECTOR, and PCB_LAYER_BOX_SELECTOR.
int LAYER_BOX_SELECTOR::SetLayerSelection | ( | int | layer | ) |
Definition at line 80 of file layer_box_selector.cpp.
Referenced by GRID_CELL_LAYER_SELECTOR::BeginEdit(), DIALOG_CLEANUP_TRACKS_AND_VIAS::buildFilterLists(), DIALOG_GLOBAL_EDIT_TEARDROPS::buildFilterLists(), DIALOG_GLOBAL_EDIT_TRACKS_AND_VIAS::buildFilterLists(), DIALOG_IMPORT_GRAPHICS::DIALOG_IMPORT_GRAPHICS(), DIALOG_TRACK_VIA_PROPERTIES::DIALOG_TRACK_VIA_PROPERTIES(), FOOTPRINT_EDIT_FRAME::OnUpdateLayerSelectBox(), PCB_EDIT_FRAME::OnUpdateLayerSelectBox(), DIALOG_TRACK_VIA_PROPERTIES::onViaEdit(), GRID_CELL_LAYER_SELECTOR::Reset(), DIALOG_DIMENSION_PROPERTIES::TransferDataToWindow(), DIALOG_GLOBAL_EDIT_TEARDROPS::TransferDataToWindow(), DIALOG_GLOBAL_EDIT_TRACKS_AND_VIAS::TransferDataToWindow(), DIALOG_OUTSET_ITEMS::TransferDataToWindow(), DIALOG_REFERENCE_IMAGE_PROPERTIES::TransferDataToWindow(), DIALOG_TEXTBOX_PROPERTIES::TransferDataToWindow(), and PCB_EDIT_FRAME::UpdateUserInterface().
|
inherited |
Definition at line 43 of file layer_box_selector.cpp.
References LAYER_SELECTOR::m_layerhotkeys.
Referenced by DIALOG_CLEANUP_TRACKS_AND_VIAS::buildFilterLists(), DIALOG_GLOBAL_EDIT_TEARDROPS::buildFilterLists(), DIALOG_GLOBAL_EDIT_TRACKS_AND_VIAS::buildFilterLists(), GRID_CELL_LAYER_SELECTOR::Create(), DIALOG_DIMENSION_PROPERTIES::DIALOG_DIMENSION_PROPERTIES(), DIALOG_GLOBAL_EDIT_TEXT_AND_GRAPHICS::DIALOG_GLOBAL_EDIT_TEXT_AND_GRAPHICS(), DIALOG_GLOBAL_EDIT_TRACKS_AND_VIAS::DIALOG_GLOBAL_EDIT_TRACKS_AND_VIAS(), DIALOG_IMPORT_GRAPHICS::DIALOG_IMPORT_GRAPHICS(), DIALOG_OUTSET_ITEMS::DIALOG_OUTSET_ITEMS(), DIALOG_REFERENCE_IMAGE_PROPERTIES::DIALOG_REFERENCE_IMAGE_PROPERTIES(), DIALOG_SHAPE_PROPERTIES::DIALOG_SHAPE_PROPERTIES(), DIALOG_TABLE_PROPERTIES::DIALOG_TABLE_PROPERTIES(), DIALOG_TEXT_PROPERTIES::DIALOG_TEXT_PROPERTIES(), DIALOG_TEXTBOX_PROPERTIES::DIALOG_TEXTBOX_PROPERTIES(), and DIALOG_TRACK_VIA_PROPERTIES::DIALOG_TRACK_VIA_PROPERTIES().
|
protectedinherited |
Definition at line 47 of file layer_box_selector.h.
Referenced by GBR_LAYER_BOX_SELECTOR::GBR_LAYER_BOX_SELECTOR(), LAYER_SELECTOR::LAYER_SELECTOR(), PCB_LAYER_BOX_SELECTOR::Resync(), and LAYER_SELECTOR::SetLayersHotkeys().