38 m_textSize( aFrame, m_textSizeLabel, m_textSizeCtrl, m_textSizeUnits ),
39 m_lineWidth( aFrame, m_lineWidthLabel, m_lineWidthCtrl, m_lineWidthUnits ),
40 m_pinSymbolSize( aFrame, m_pinSymbolSizeLabel, m_pinSymbolSizeCtrl, m_pinSymbolSizeUnits ),
41 m_connectionGridSize( aFrame, m_connectionGridLabel, m_connectionGridCtrl, m_connectionGridUnits )
44 int minWidth =
m_dashLengthCtrl->GetTextExtent( wxT(
"XXX.XXX" ) ).GetWidth();
70 switch( aSubpartIdSeparator )
74 case '.':
return aFirstSubpartId ==
'1' ? 4 : 1;
75 case '-':
return aFirstSubpartId ==
'1' ? 5 : 2;
76 case '_':
return aFirstSubpartId ==
'1' ? 6 : 3;
115#define SET_VALUE( ctrl, units, value ) \
116 ctrl->SetValue( EDA_UNIT_UTILS::UI::StringFromValue( unityScale, units, value ) )
169#define GET_VALUE( units, str ) EDA_UNIT_UTILS::UI::DoubleValueFromString( unityScale, units, str )
214#define SET_VALUE( ctrl, units, value ) \
215 ctrl->SetValue( EDA_UNIT_UTILS::UI::StringFromValue( unityScale, units, value ) )
These are loaded from Eeschema settings but then overwritten by the project settings.
wxString m_IntersheetRefsPrefix
wxString m_IntersheetRefsSuffix
bool m_IntersheetRefsFormatShort
bool m_IntersheetRefsShow
double m_DashedLineGapRatio
bool m_IntersheetRefsListOwnPage
KIFONT::METRICS m_FontMetrics
double m_DashedLineDashRatio
SCHEMATIC_SETTINGS & Settings() const
Schematic editor (Eeschema) main window.
SCHEMATIC & Schematic() const
virtual void SetUnits(EDA_UNITS aUnits)
Normally not needed (as the UNIT_BINDER inherits from the parent frame), but can be used to set to DE...
virtual bool Validate(double aMin, double aMax, EDA_UNITS aUnits=EDA_UNITS::UNSCALED)
Validate the control against the given range, informing the user of any errors found.
virtual void SetValue(long long int aValue)
Set new value (in Internal Units) for the text field, taking care of units conversion.
const int minSize
Push and Shove router track width and via size dialog.
KICOMMON_API wxFont GetInfoFont(wxWindow *aWindow)
#define MIN_CONNECTION_GRID_MILS