KiCad PCB EDA Suite
Loading...
Searching...
No Matches
PANEL_SETUP_FORMATTING Class Reference

#include <panel_setup_formatting.h>

Inheritance diagram for PANEL_SETUP_FORMATTING:
PANEL_SETUP_FORMATTING_BASE

Public Member Functions

 PANEL_SETUP_FORMATTING (wxWindow *aWindow, SCH_EDIT_FRAME *aFrame)
 
bool TransferDataToWindow () override
 
bool TransferDataFromWindow () override
 
void ImportSettingsFrom (SCHEMATIC_SETTINGS &aSettings)
 
 PANEL_SETUP_FORMATTING (wxWindow *aParentWindow, PCB_EDIT_FRAME *aFrame)
 
bool TransferDataToWindow () override
 
bool TransferDataFromWindow () override
 
void ImportSettingsFrom (BOARD *aBoard)
 

Protected Member Functions

void onCheckBoxIref (wxCommandEvent &event) override
 

Protected Attributes

wxStaticText * m_staticText26
 
wxChoice * m_choiceSeparatorRefId
 
wxStaticText * m_textSizeLabel
 
wxTextCtrl * m_textSizeCtrl
 
wxStaticText * m_textSizeUnits
 
wxStaticText * m_overbarHieghtLabel
 
wxTextCtrl * m_overbarHeightCtrl
 
wxStaticText * m_overbarHeightUnits
 
wxStaticText * m_textOffsetRatioLabel
 
wxTextCtrl * m_textOffsetRatioCtrl
 
wxStaticText * m_offsetRatioUnits
 
wxStaticText * m_labelSizeRatioLabel
 
wxTextCtrl * m_labelSizeRatioCtrl
 
wxStaticText * m_labelSizeRatioUnits
 
wxStaticText * m_lineWidthLabel
 
wxTextCtrl * m_lineWidthCtrl
 
wxStaticText * m_lineWidthUnits
 
wxStaticText * m_pinSymbolSizeLabel
 
wxTextCtrl * m_pinSymbolSizeCtrl
 
wxStaticText * m_pinSymbolSizeUnits
 
wxStaticText * m_staticText261
 
wxChoice * m_choiceJunctionDotSize
 
wxStaticText * m_connectionGridLabel
 
wxTextCtrl * m_connectionGridCtrl
 
wxStaticText * m_connectionGridUnits
 
wxCheckBox * m_showIntersheetsReferences
 
wxCheckBox * m_listOwnPage
 
wxRadioButton * m_radioFormatStandard
 
wxRadioButton * m_radioFormatAbbreviated
 
wxStaticText * m_prefixLabel
 
wxTextCtrl * m_prefixCtrl
 
wxStaticText * m_suffixLabel
 
wxTextCtrl * m_suffixCtrl
 
wxStaticText * dashLengthLabel
 
wxTextCtrl * m_dashLengthCtrl
 
wxStaticText * gapLengthLabel
 
wxTextCtrl * m_gapLengthCtrl
 
wxStaticText * m_dashedLineHelp
 
wxSpinCtrl * m_vPrecisionCtrl
 
wxChoice * m_vRangeCtrl
 
wxSpinCtrl * m_iPrecisionCtrl
 
wxChoice * m_iRangeCtrl
 
wxCheckBox * m_styleFields
 
wxCheckBox * m_styleText
 
wxCheckBox * m_styleShapes
 

Private Member Functions

void _wxFB_onCheckBoxIref (wxCommandEvent &event)
 

Private Attributes

SCH_EDIT_FRAMEm_frame
 
UNIT_BINDER m_textSize
 
UNIT_BINDER m_lineWidth
 
UNIT_BINDER m_pinSymbolSize
 
UNIT_BINDER m_connectionGridSize
 
PCB_EDIT_FRAMEm_frame
 

Detailed Description

Definition at line 31 of file eeschema/dialogs/panel_setup_formatting.h.

Constructor & Destructor Documentation

◆ PANEL_SETUP_FORMATTING() [1/2]

◆ PANEL_SETUP_FORMATTING() [2/2]

PANEL_SETUP_FORMATTING::PANEL_SETUP_FORMATTING ( wxWindow *  aParentWindow,
PCB_EDIT_FRAME aFrame 
)

Member Function Documentation

◆ _wxFB_onCheckBoxIref()

void PANEL_SETUP_FORMATTING_BASE::_wxFB_onCheckBoxIref ( wxCommandEvent &  event)
inlineprivateinherited

◆ ImportSettingsFrom() [1/2]

◆ ImportSettingsFrom() [2/2]

◆ onCheckBoxIref()

◆ TransferDataFromWindow() [1/2]

bool PANEL_SETUP_FORMATTING::TransferDataFromWindow ( )
override

Definition at line 135 of file eeschema/dialogs/panel_setup_formatting.cpp.

References GET_VALUE, UNIT_BINDER::GetIntValue(), PANEL_SETUP_FORMATTING_BASE::m_choiceJunctionDotSize, PANEL_SETUP_FORMATTING_BASE::m_choiceSeparatorRefId, m_connectionGridSize, SCHEMATIC_SETTINGS::m_ConnectionGridSize, SCHEMATIC_SETTINGS::m_DashedLineDashRatio, SCHEMATIC_SETTINGS::m_DashedLineGapRatio, PANEL_SETUP_FORMATTING_BASE::m_dashLengthCtrl, SCHEMATIC_SETTINGS::m_DefaultLineWidth, SCHEMATIC_SETTINGS::m_DefaultTextSize, SCHEMATIC_SETTINGS::m_FontMetrics, m_frame, PANEL_SETUP_FORMATTING_BASE::m_gapLengthCtrl, SCHEMATIC_SETTINGS::m_IntersheetRefsFormatShort, SCHEMATIC_SETTINGS::m_IntersheetRefsListOwnPage, SCHEMATIC_SETTINGS::m_IntersheetRefsPrefix, SCHEMATIC_SETTINGS::m_IntersheetRefsShow, SCHEMATIC_SETTINGS::m_IntersheetRefsSuffix, PANEL_SETUP_FORMATTING_BASE::m_iPrecisionCtrl, PANEL_SETUP_FORMATTING_BASE::m_iRangeCtrl, SCHEMATIC_SETTINGS::m_JunctionSizeChoice, SCHEMATIC_SETTINGS::m_LabelSizeRatio, PANEL_SETUP_FORMATTING_BASE::m_labelSizeRatioCtrl, m_lineWidth, PANEL_SETUP_FORMATTING_BASE::m_listOwnPage, SCHEMATIC_SETTINGS::m_OPO_IPrecision, SCHEMATIC_SETTINGS::m_OPO_IRange, SCHEMATIC_SETTINGS::m_OPO_VPrecision, SCHEMATIC_SETTINGS::m_OPO_VRange, KIFONT::METRICS::m_OverbarHeight, PANEL_SETUP_FORMATTING_BASE::m_overbarHeightCtrl, m_pinSymbolSize, SCHEMATIC_SETTINGS::m_PinSymbolSize, PANEL_SETUP_FORMATTING_BASE::m_prefixCtrl, PANEL_SETUP_FORMATTING_BASE::m_radioFormatStandard, PANEL_SETUP_FORMATTING_BASE::m_showIntersheetsReferences, SCHEMATIC_SETTINGS::m_SubpartFirstId, SCHEMATIC_SETTINGS::m_SubpartIdSeparator, PANEL_SETUP_FORMATTING_BASE::m_suffixCtrl, SCHEMATIC_SETTINGS::m_TextOffsetRatio, PANEL_SETUP_FORMATTING_BASE::m_textOffsetRatioCtrl, m_textSize, PANEL_SETUP_FORMATTING_BASE::m_vPrecisionCtrl, PANEL_SETUP_FORMATTING_BASE::m_vRangeCtrl, MIN_CONNECTION_GRID_MILS, SCH_EDIT_FRAME::Schematic(), SCHEMATIC::Settings(), and UNIT_BINDER::Validate().

◆ TransferDataFromWindow() [2/2]

bool PANEL_SETUP_FORMATTING::TransferDataFromWindow ( )
override

◆ TransferDataToWindow() [1/2]

bool PANEL_SETUP_FORMATTING::TransferDataToWindow ( )
override

Definition at line 81 of file eeschema/dialogs/panel_setup_formatting.cpp.

References getRefStyleMenuIndex(), PANEL_SETUP_FORMATTING_BASE::m_choiceJunctionDotSize, PANEL_SETUP_FORMATTING_BASE::m_choiceSeparatorRefId, m_connectionGridSize, SCHEMATIC_SETTINGS::m_ConnectionGridSize, SCHEMATIC_SETTINGS::m_DashedLineDashRatio, SCHEMATIC_SETTINGS::m_DashedLineGapRatio, PANEL_SETUP_FORMATTING_BASE::m_dashLengthCtrl, SCHEMATIC_SETTINGS::m_DefaultLineWidth, SCHEMATIC_SETTINGS::m_DefaultTextSize, SCHEMATIC_SETTINGS::m_FontMetrics, m_frame, PANEL_SETUP_FORMATTING_BASE::m_gapLengthCtrl, SCHEMATIC_SETTINGS::m_IntersheetRefsFormatShort, SCHEMATIC_SETTINGS::m_IntersheetRefsListOwnPage, SCHEMATIC_SETTINGS::m_IntersheetRefsPrefix, SCHEMATIC_SETTINGS::m_IntersheetRefsShow, SCHEMATIC_SETTINGS::m_IntersheetRefsSuffix, PANEL_SETUP_FORMATTING_BASE::m_iPrecisionCtrl, PANEL_SETUP_FORMATTING_BASE::m_iRangeCtrl, SCHEMATIC_SETTINGS::m_JunctionSizeChoice, SCHEMATIC_SETTINGS::m_LabelSizeRatio, PANEL_SETUP_FORMATTING_BASE::m_labelSizeRatioCtrl, m_lineWidth, PANEL_SETUP_FORMATTING_BASE::m_listOwnPage, SCHEMATIC_SETTINGS::m_OPO_IPrecision, SCHEMATIC_SETTINGS::m_OPO_IRange, SCHEMATIC_SETTINGS::m_OPO_VPrecision, SCHEMATIC_SETTINGS::m_OPO_VRange, KIFONT::METRICS::m_OverbarHeight, PANEL_SETUP_FORMATTING_BASE::m_overbarHeightCtrl, m_pinSymbolSize, SCHEMATIC_SETTINGS::m_PinSymbolSize, PANEL_SETUP_FORMATTING_BASE::m_prefixCtrl, PANEL_SETUP_FORMATTING_BASE::m_prefixLabel, PANEL_SETUP_FORMATTING_BASE::m_radioFormatAbbreviated, PANEL_SETUP_FORMATTING_BASE::m_radioFormatStandard, PANEL_SETUP_FORMATTING_BASE::m_showIntersheetsReferences, SCHEMATIC_SETTINGS::m_SubpartFirstId, SCHEMATIC_SETTINGS::m_SubpartIdSeparator, PANEL_SETUP_FORMATTING_BASE::m_suffixCtrl, PANEL_SETUP_FORMATTING_BASE::m_suffixLabel, SCHEMATIC_SETTINGS::m_TextOffsetRatio, PANEL_SETUP_FORMATTING_BASE::m_textOffsetRatioCtrl, m_textSize, PANEL_SETUP_FORMATTING_BASE::m_vPrecisionCtrl, PANEL_SETUP_FORMATTING_BASE::m_vRangeCtrl, SCH_EDIT_FRAME::Schematic(), SET_VALUE, SCHEMATIC::Settings(), UNIT_BINDER::SetUnits(), and UNIT_BINDER::SetValue().

◆ TransferDataToWindow() [2/2]

bool PANEL_SETUP_FORMATTING::TransferDataToWindow ( )
override

Member Data Documentation

◆ dashLengthLabel

wxStaticText * PANEL_SETUP_FORMATTING_BASE::dashLengthLabel
protectedinherited

◆ gapLengthLabel

wxStaticText * PANEL_SETUP_FORMATTING_BASE::gapLengthLabel
protectedinherited

◆ m_choiceJunctionDotSize

wxChoice* PANEL_SETUP_FORMATTING_BASE::m_choiceJunctionDotSize
protectedinherited

◆ m_choiceSeparatorRefId

wxChoice* PANEL_SETUP_FORMATTING_BASE::m_choiceSeparatorRefId
protectedinherited

◆ m_connectionGridCtrl

wxTextCtrl* PANEL_SETUP_FORMATTING_BASE::m_connectionGridCtrl
protectedinherited

◆ m_connectionGridLabel

wxStaticText* PANEL_SETUP_FORMATTING_BASE::m_connectionGridLabel
protectedinherited

◆ m_connectionGridSize

UNIT_BINDER PANEL_SETUP_FORMATTING::m_connectionGridSize
private

◆ m_connectionGridUnits

wxStaticText* PANEL_SETUP_FORMATTING_BASE::m_connectionGridUnits
protectedinherited

◆ m_dashedLineHelp

wxStaticText * PANEL_SETUP_FORMATTING_BASE::m_dashedLineHelp
protectedinherited

◆ m_dashLengthCtrl

wxTextCtrl * PANEL_SETUP_FORMATTING_BASE::m_dashLengthCtrl
protectedinherited

◆ m_frame [1/2]

SCH_EDIT_FRAME* PANEL_SETUP_FORMATTING::m_frame
private

◆ m_frame [2/2]

PCB_EDIT_FRAME* PANEL_SETUP_FORMATTING::m_frame
private

Definition at line 42 of file pcbnew/dialogs/panel_setup_formatting.h.

◆ m_gapLengthCtrl

wxTextCtrl * PANEL_SETUP_FORMATTING_BASE::m_gapLengthCtrl
protectedinherited

◆ m_iPrecisionCtrl

wxSpinCtrl* PANEL_SETUP_FORMATTING_BASE::m_iPrecisionCtrl
protectedinherited

◆ m_iRangeCtrl

wxChoice* PANEL_SETUP_FORMATTING_BASE::m_iRangeCtrl
protectedinherited

◆ m_labelSizeRatioCtrl

wxTextCtrl* PANEL_SETUP_FORMATTING_BASE::m_labelSizeRatioCtrl
protectedinherited

◆ m_labelSizeRatioLabel

wxStaticText* PANEL_SETUP_FORMATTING_BASE::m_labelSizeRatioLabel
protectedinherited

◆ m_labelSizeRatioUnits

wxStaticText* PANEL_SETUP_FORMATTING_BASE::m_labelSizeRatioUnits
protectedinherited

◆ m_lineWidth

UNIT_BINDER PANEL_SETUP_FORMATTING::m_lineWidth
private

◆ m_lineWidthCtrl

wxTextCtrl* PANEL_SETUP_FORMATTING_BASE::m_lineWidthCtrl
protectedinherited

◆ m_lineWidthLabel

wxStaticText* PANEL_SETUP_FORMATTING_BASE::m_lineWidthLabel
protectedinherited

◆ m_lineWidthUnits

wxStaticText* PANEL_SETUP_FORMATTING_BASE::m_lineWidthUnits
protectedinherited

◆ m_listOwnPage

wxCheckBox* PANEL_SETUP_FORMATTING_BASE::m_listOwnPage
protectedinherited

◆ m_offsetRatioUnits

wxStaticText* PANEL_SETUP_FORMATTING_BASE::m_offsetRatioUnits
protectedinherited

◆ m_overbarHeightCtrl

wxTextCtrl* PANEL_SETUP_FORMATTING_BASE::m_overbarHeightCtrl
protectedinherited

◆ m_overbarHeightUnits

wxStaticText* PANEL_SETUP_FORMATTING_BASE::m_overbarHeightUnits
protectedinherited

◆ m_overbarHieghtLabel

wxStaticText* PANEL_SETUP_FORMATTING_BASE::m_overbarHieghtLabel
protectedinherited

◆ m_pinSymbolSize

UNIT_BINDER PANEL_SETUP_FORMATTING::m_pinSymbolSize
private

◆ m_pinSymbolSizeCtrl

wxTextCtrl* PANEL_SETUP_FORMATTING_BASE::m_pinSymbolSizeCtrl
protectedinherited

◆ m_pinSymbolSizeLabel

wxStaticText* PANEL_SETUP_FORMATTING_BASE::m_pinSymbolSizeLabel
protectedinherited

◆ m_pinSymbolSizeUnits

wxStaticText* PANEL_SETUP_FORMATTING_BASE::m_pinSymbolSizeUnits
protectedinherited

◆ m_prefixCtrl

wxTextCtrl* PANEL_SETUP_FORMATTING_BASE::m_prefixCtrl
protectedinherited

◆ m_prefixLabel

wxStaticText* PANEL_SETUP_FORMATTING_BASE::m_prefixLabel
protectedinherited

◆ m_radioFormatAbbreviated

wxRadioButton* PANEL_SETUP_FORMATTING_BASE::m_radioFormatAbbreviated
protectedinherited

◆ m_radioFormatStandard

wxRadioButton* PANEL_SETUP_FORMATTING_BASE::m_radioFormatStandard
protectedinherited

◆ m_showIntersheetsReferences

wxCheckBox* PANEL_SETUP_FORMATTING_BASE::m_showIntersheetsReferences
protectedinherited

◆ m_staticText26

wxStaticText* PANEL_SETUP_FORMATTING_BASE::m_staticText26
protectedinherited

◆ m_staticText261

wxStaticText* PANEL_SETUP_FORMATTING_BASE::m_staticText261
protectedinherited

◆ m_styleFields

wxCheckBox* PANEL_SETUP_FORMATTING_BASE::m_styleFields
protectedinherited

Definition at line 41 of file pcbnew/dialogs/panel_setup_formatting_base.h.

Referenced by ImportSettingsFrom().

◆ m_styleShapes

wxCheckBox* PANEL_SETUP_FORMATTING_BASE::m_styleShapes
protectedinherited

Definition at line 43 of file pcbnew/dialogs/panel_setup_formatting_base.h.

Referenced by ImportSettingsFrom().

◆ m_styleText

wxCheckBox* PANEL_SETUP_FORMATTING_BASE::m_styleText
protectedinherited

Definition at line 42 of file pcbnew/dialogs/panel_setup_formatting_base.h.

Referenced by ImportSettingsFrom().

◆ m_suffixCtrl

wxTextCtrl* PANEL_SETUP_FORMATTING_BASE::m_suffixCtrl
protectedinherited

◆ m_suffixLabel

wxStaticText* PANEL_SETUP_FORMATTING_BASE::m_suffixLabel
protectedinherited

◆ m_textOffsetRatioCtrl

wxTextCtrl* PANEL_SETUP_FORMATTING_BASE::m_textOffsetRatioCtrl
protectedinherited

◆ m_textOffsetRatioLabel

wxStaticText* PANEL_SETUP_FORMATTING_BASE::m_textOffsetRatioLabel
protectedinherited

◆ m_textSize

UNIT_BINDER PANEL_SETUP_FORMATTING::m_textSize
private

◆ m_textSizeCtrl

wxTextCtrl* PANEL_SETUP_FORMATTING_BASE::m_textSizeCtrl
protectedinherited

◆ m_textSizeLabel

wxStaticText* PANEL_SETUP_FORMATTING_BASE::m_textSizeLabel
protectedinherited

◆ m_textSizeUnits

wxStaticText* PANEL_SETUP_FORMATTING_BASE::m_textSizeUnits
protectedinherited

◆ m_vPrecisionCtrl

wxSpinCtrl* PANEL_SETUP_FORMATTING_BASE::m_vPrecisionCtrl
protectedinherited

◆ m_vRangeCtrl

wxChoice* PANEL_SETUP_FORMATTING_BASE::m_vRangeCtrl
protectedinherited

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