![]() |
KiCad PCB EDA Suite
|
#include <panel_setup_text_and_graphics.h>
Public Member Functions | |
PANEL_SETUP_TEXT_AND_GRAPHICS (PAGED_DIALOG *aParent, PCB_EDIT_FRAME *aFrame) | |
~PANEL_SETUP_TEXT_AND_GRAPHICS () override | |
bool | TransferDataToWindow () override |
bool | TransferDataFromWindow () override |
void | ImportSettingsFrom (BOARD *aBoard) |
Protected Attributes | |
wxBoxSizer * | m_gridSizer |
wxStaticText * | m_staticTextDefProp |
WX_GRID * | m_grid |
wxStaticText * | m_staticTextDefPropDim |
wxPanel * | m_panel1 |
wxStaticText * | m_lblDimensionUnits |
wxChoice * | m_dimensionUnits |
wxStaticText * | m_lblTextPositionMode |
wxChoice * | m_dimensionTextPositionMode |
wxStaticText * | m_lblDimensionUnitsFormat |
wxChoice * | m_dimensionUnitsFormat |
wxCheckBox * | m_dimensionTextKeepAligned |
wxStaticText * | m_lblDimensionPrecision |
wxChoice * | m_dimensionPrecision |
wxStaticText * | m_lblArrowLength |
wxTextCtrl * | m_dimensionArrowLength |
wxStaticText * | m_arrowLengthUnits |
wxCheckBox * | m_dimensionSuppressZeroes |
wxStaticText * | m_lblExtensionOffset |
wxTextCtrl * | m_dimensionExtensionOffset |
wxStaticText * | m_dimensionExtensionOffsetUnits |
Private Member Functions | |
int | getGridValue (int aRow, int aCol) |
void | onUnitsChanged (wxCommandEvent &aEvent) |
Private Attributes | |
PAGED_DIALOG * | m_Parent |
PCB_EDIT_FRAME * | m_Frame |
BOARD_DESIGN_SETTINGS * | m_BrdSettings |
UNIT_BINDER | m_arrowLength |
UNIT_BINDER | m_extensionOffset |
Definition at line 38 of file panel_setup_text_and_graphics.h.
PANEL_SETUP_TEXT_AND_GRAPHICS::PANEL_SETUP_TEXT_AND_GRAPHICS | ( | PAGED_DIALOG * | aParent, |
PCB_EDIT_FRAME * | aFrame | ||
) |
Definition at line 58 of file panel_setup_text_and_graphics.cpp.
References PCB_BASE_FRAME::GetBoard(), BOARD::GetDesignSettings(), WX_GRID::GetVisibleWidth(), m_BrdSettings, m_Frame, PANEL_SETUP_TEXT_AND_GRAPHICS_BASE::m_grid, m_Parent, and onUnitsChanged().
|
override |
Definition at line 99 of file panel_setup_text_and_graphics.cpp.
References m_Frame, PANEL_SETUP_TEXT_AND_GRAPHICS_BASE::m_grid, and onUnitsChanged().
|
private |
Definition at line 199 of file panel_setup_text_and_graphics.cpp.
References EDA_BASE_FRAME::GetUserUnits(), m_Frame, PANEL_SETUP_TEXT_AND_GRAPHICS_BASE::m_grid, and ValueFromString().
Referenced by TransferDataFromWindow().
void PANEL_SETUP_TEXT_AND_GRAPHICS::ImportSettingsFrom | ( | BOARD * | aBoard | ) |
Definition at line 244 of file panel_setup_text_and_graphics.cpp.
References WX_GRID::CommitPendingChanges(), BOARD::GetDesignSettings(), m_BrdSettings, PANEL_SETUP_TEXT_AND_GRAPHICS_BASE::m_grid, and TransferDataToWindow().
Referenced by DIALOG_BOARD_SETUP::OnAuxiliaryAction().
|
private |
Definition at line 108 of file panel_setup_text_and_graphics.cpp.
References m_BrdSettings, TransferDataFromWindow(), and TransferDataToWindow().
Referenced by PANEL_SETUP_TEXT_AND_GRAPHICS(), and ~PANEL_SETUP_TEXT_AND_GRAPHICS().
|
override |
Definition at line 205 of file panel_setup_text_and_graphics.cpp.
References COL_LINE_THICKNESS, COL_TEXT_HEIGHT, COL_TEXT_ITALIC, COL_TEXT_THICKNESS, COL_TEXT_UPRIGHT, COL_TEXT_WIDTH, WX_GRID::CommitPendingChanges(), getGridValue(), UNIT_BINDER::GetValue(), m_arrowLength, m_BrdSettings, BOARD_DESIGN_SETTINGS::m_DimensionArrowLength, BOARD_DESIGN_SETTINGS::m_DimensionExtensionOffset, BOARD_DESIGN_SETTINGS::m_DimensionKeepTextAligned, PANEL_SETUP_TEXT_AND_GRAPHICS_BASE::m_dimensionPrecision, BOARD_DESIGN_SETTINGS::m_DimensionPrecision, PANEL_SETUP_TEXT_AND_GRAPHICS_BASE::m_dimensionSuppressZeroes, BOARD_DESIGN_SETTINGS::m_DimensionSuppressZeroes, PANEL_SETUP_TEXT_AND_GRAPHICS_BASE::m_dimensionTextKeepAligned, BOARD_DESIGN_SETTINGS::m_DimensionTextPosition, PANEL_SETUP_TEXT_AND_GRAPHICS_BASE::m_dimensionTextPositionMode, PANEL_SETUP_TEXT_AND_GRAPHICS_BASE::m_dimensionUnits, PANEL_SETUP_TEXT_AND_GRAPHICS_BASE::m_dimensionUnitsFormat, BOARD_DESIGN_SETTINGS::m_DimensionUnitsFormat, BOARD_DESIGN_SETTINGS::m_DimensionUnitsMode, m_extensionOffset, PANEL_SETUP_TEXT_AND_GRAPHICS_BASE::m_grid, BOARD_DESIGN_SETTINGS::m_LineThickness, BOARD_DESIGN_SETTINGS::m_TextItalic, BOARD_DESIGN_SETTINGS::m_TextSize, BOARD_DESIGN_SETTINGS::m_TextThickness, BOARD_DESIGN_SETTINGS::m_TextUpright, ROW_COUNT, ROW_COURTYARD, and ROW_EDGES.
Referenced by onUnitsChanged().
|
override |
Definition at line 124 of file panel_setup_text_and_graphics.cpp.
References COL_LINE_THICKNESS, COL_TEXT_HEIGHT, COL_TEXT_ITALIC, COL_TEXT_THICKNESS, COL_TEXT_UPRIGHT, COL_TEXT_WIDTH, DISABLE_CELL, WX_GRID::GetVisibleWidth(), m_arrowLength, m_BrdSettings, BOARD_DESIGN_SETTINGS::m_DimensionArrowLength, BOARD_DESIGN_SETTINGS::m_DimensionExtensionOffset, BOARD_DESIGN_SETTINGS::m_DimensionKeepTextAligned, PANEL_SETUP_TEXT_AND_GRAPHICS_BASE::m_dimensionPrecision, BOARD_DESIGN_SETTINGS::m_DimensionPrecision, PANEL_SETUP_TEXT_AND_GRAPHICS_BASE::m_dimensionSuppressZeroes, BOARD_DESIGN_SETTINGS::m_DimensionSuppressZeroes, PANEL_SETUP_TEXT_AND_GRAPHICS_BASE::m_dimensionTextKeepAligned, BOARD_DESIGN_SETTINGS::m_DimensionTextPosition, PANEL_SETUP_TEXT_AND_GRAPHICS_BASE::m_dimensionTextPositionMode, PANEL_SETUP_TEXT_AND_GRAPHICS_BASE::m_dimensionUnits, PANEL_SETUP_TEXT_AND_GRAPHICS_BASE::m_dimensionUnitsFormat, BOARD_DESIGN_SETTINGS::m_DimensionUnitsFormat, BOARD_DESIGN_SETTINGS::m_DimensionUnitsMode, m_extensionOffset, PANEL_SETUP_TEXT_AND_GRAPHICS_BASE::m_grid, BOARD_DESIGN_SETTINGS::m_LineThickness, BOARD_DESIGN_SETTINGS::m_TextItalic, BOARD_DESIGN_SETTINGS::m_TextSize, BOARD_DESIGN_SETTINGS::m_TextThickness, BOARD_DESIGN_SETTINGS::m_TextUpright, ROW_COUNT, ROW_COURTYARD, ROW_EDGES, SET_MILS_CELL, and UNIT_BINDER::SetValue().
Referenced by ImportSettingsFrom(), and onUnitsChanged().
|
private |
Definition at line 58 of file panel_setup_text_and_graphics.h.
Referenced by TransferDataFromWindow(), and TransferDataToWindow().
|
protectedinherited |
Definition at line 55 of file panel_setup_text_and_graphics_base.h.
Referenced by PANEL_SETUP_TEXT_AND_GRAPHICS_BASE::PANEL_SETUP_TEXT_AND_GRAPHICS_BASE().
|
private |
Definition at line 57 of file panel_setup_text_and_graphics.h.
Referenced by ImportSettingsFrom(), onUnitsChanged(), PANEL_SETUP_TEXT_AND_GRAPHICS(), TransferDataFromWindow(), and TransferDataToWindow().
|
protectedinherited |
Definition at line 54 of file panel_setup_text_and_graphics_base.h.
Referenced by PANEL_SETUP_TEXT_AND_GRAPHICS_BASE::PANEL_SETUP_TEXT_AND_GRAPHICS_BASE().
|
protectedinherited |
Definition at line 58 of file panel_setup_text_and_graphics_base.h.
Referenced by PANEL_SETUP_TEXT_AND_GRAPHICS_BASE::PANEL_SETUP_TEXT_AND_GRAPHICS_BASE().
|
protectedinherited |
Definition at line 59 of file panel_setup_text_and_graphics_base.h.
Referenced by PANEL_SETUP_TEXT_AND_GRAPHICS_BASE::PANEL_SETUP_TEXT_AND_GRAPHICS_BASE().
|
protectedinherited |
Definition at line 52 of file panel_setup_text_and_graphics_base.h.
Referenced by PANEL_SETUP_TEXT_AND_GRAPHICS_BASE::PANEL_SETUP_TEXT_AND_GRAPHICS_BASE(), TransferDataFromWindow(), and TransferDataToWindow().
|
protectedinherited |
Definition at line 56 of file panel_setup_text_and_graphics_base.h.
Referenced by PANEL_SETUP_TEXT_AND_GRAPHICS_BASE::PANEL_SETUP_TEXT_AND_GRAPHICS_BASE(), TransferDataFromWindow(), and TransferDataToWindow().
|
protectedinherited |
Definition at line 50 of file panel_setup_text_and_graphics_base.h.
Referenced by PANEL_SETUP_TEXT_AND_GRAPHICS_BASE::PANEL_SETUP_TEXT_AND_GRAPHICS_BASE(), TransferDataFromWindow(), and TransferDataToWindow().
|
protectedinherited |
Definition at line 47 of file panel_setup_text_and_graphics_base.h.
Referenced by PANEL_SETUP_TEXT_AND_GRAPHICS_BASE::PANEL_SETUP_TEXT_AND_GRAPHICS_BASE(), TransferDataFromWindow(), and TransferDataToWindow().
|
protectedinherited |
Definition at line 45 of file panel_setup_text_and_graphics_base.h.
Referenced by PANEL_SETUP_TEXT_AND_GRAPHICS_BASE::PANEL_SETUP_TEXT_AND_GRAPHICS_BASE(), TransferDataFromWindow(), and TransferDataToWindow().
|
protectedinherited |
Definition at line 49 of file panel_setup_text_and_graphics_base.h.
Referenced by PANEL_SETUP_TEXT_AND_GRAPHICS_BASE::PANEL_SETUP_TEXT_AND_GRAPHICS_BASE(), TransferDataFromWindow(), and TransferDataToWindow().
|
private |
Definition at line 59 of file panel_setup_text_and_graphics.h.
Referenced by TransferDataFromWindow(), and TransferDataToWindow().
|
private |
Definition at line 56 of file panel_setup_text_and_graphics.h.
Referenced by getGridValue(), PANEL_SETUP_TEXT_AND_GRAPHICS(), and ~PANEL_SETUP_TEXT_AND_GRAPHICS().
|
protectedinherited |
Definition at line 41 of file panel_setup_text_and_graphics_base.h.
Referenced by getGridValue(), ImportSettingsFrom(), PANEL_SETUP_TEXT_AND_GRAPHICS(), PANEL_SETUP_TEXT_AND_GRAPHICS_BASE::PANEL_SETUP_TEXT_AND_GRAPHICS_BASE(), TransferDataFromWindow(), TransferDataToWindow(), and ~PANEL_SETUP_TEXT_AND_GRAPHICS().
|
protectedinherited |
Definition at line 39 of file panel_setup_text_and_graphics_base.h.
Referenced by PANEL_SETUP_TEXT_AND_GRAPHICS_BASE::PANEL_SETUP_TEXT_AND_GRAPHICS_BASE().
|
protectedinherited |
Definition at line 53 of file panel_setup_text_and_graphics_base.h.
Referenced by PANEL_SETUP_TEXT_AND_GRAPHICS_BASE::PANEL_SETUP_TEXT_AND_GRAPHICS_BASE().
|
protectedinherited |
Definition at line 51 of file panel_setup_text_and_graphics_base.h.
Referenced by PANEL_SETUP_TEXT_AND_GRAPHICS_BASE::PANEL_SETUP_TEXT_AND_GRAPHICS_BASE().
|
protectedinherited |
Definition at line 44 of file panel_setup_text_and_graphics_base.h.
Referenced by PANEL_SETUP_TEXT_AND_GRAPHICS_BASE::PANEL_SETUP_TEXT_AND_GRAPHICS_BASE().
|
protectedinherited |
Definition at line 48 of file panel_setup_text_and_graphics_base.h.
Referenced by PANEL_SETUP_TEXT_AND_GRAPHICS_BASE::PANEL_SETUP_TEXT_AND_GRAPHICS_BASE().
|
protectedinherited |
Definition at line 57 of file panel_setup_text_and_graphics_base.h.
Referenced by PANEL_SETUP_TEXT_AND_GRAPHICS_BASE::PANEL_SETUP_TEXT_AND_GRAPHICS_BASE().
|
protectedinherited |
Definition at line 46 of file panel_setup_text_and_graphics_base.h.
Referenced by PANEL_SETUP_TEXT_AND_GRAPHICS_BASE::PANEL_SETUP_TEXT_AND_GRAPHICS_BASE().
|
protectedinherited |
Definition at line 43 of file panel_setup_text_and_graphics_base.h.
Referenced by PANEL_SETUP_TEXT_AND_GRAPHICS_BASE::PANEL_SETUP_TEXT_AND_GRAPHICS_BASE().
|
private |
Definition at line 55 of file panel_setup_text_and_graphics.h.
Referenced by PANEL_SETUP_TEXT_AND_GRAPHICS().
|
protectedinherited |
Definition at line 40 of file panel_setup_text_and_graphics_base.h.
Referenced by PANEL_SETUP_TEXT_AND_GRAPHICS_BASE::PANEL_SETUP_TEXT_AND_GRAPHICS_BASE().
|
protectedinherited |
Definition at line 42 of file panel_setup_text_and_graphics_base.h.
Referenced by PANEL_SETUP_TEXT_AND_GRAPHICS_BASE::PANEL_SETUP_TEXT_AND_GRAPHICS_BASE().