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 )
43 int minWidth =
m_dashLengthCtrl->GetTextExtent( wxT(
"XXX.XXX" ) ).GetWidth();
71 int refStyleSelection;
76 case 0: refStyleSelection = 0;
break;
109#define SET_VALUE( ctrl, units, value ) \
110 ctrl->SetValue( EDA_UNIT_UTILS::UI::StringFromValue( unityScale, units, value ) )
133 int firstRefId, refSeparator;
138 case 0: firstRefId =
'A'; refSeparator = 0;
break;
139 case 1: firstRefId =
'A'; refSeparator =
'.';
break;
140 case 2: firstRefId =
'A'; refSeparator =
'-';
break;
141 case 3: firstRefId =
'A'; refSeparator =
'_';
break;
142 case 4: firstRefId =
'1'; refSeparator =
'.';
break;
143 case 5: firstRefId =
'1'; refSeparator =
'-';
break;
144 case 6: firstRefId =
'1'; refSeparator =
'_';
break;
166#define GET_VALUE( units, str ) EDA_UNIT_UTILS::UI::DoubleValueFromString( unityScale, units, str )
206#define SET_VALUE( ctrl, units, value ) \
207 ctrl->SetValue( EDA_UNIT_UTILS::UI::StringFromValue( unityScale, units, value ) )
static int GetSubpartIdSeparator()
static int GetSubpartFirstId()
static void SetSubpartIdNotation(int aSep, int aFirstId)
Set the separator char between the subpart id and the reference 0 (no separator) or '.
These settings were stored in SCH_BASE_FRAME previously.
wxString m_IntersheetRefsPrefix
wxString m_IntersheetRefsSuffix
bool m_IntersheetRefsFormatShort
bool m_IntersheetRefsShow
double m_DashedLineGapRatio
bool m_IntersheetRefsListOwnPage
double m_DashedLineDashRatio
SCHEMATIC_SETTINGS & Settings() const
Schematic editor (Eeschema) main window.
SCHEMATIC & Schematic() const
virtual long long int GetValue()
Return the current value in Internal Units.
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 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.
wxFont GetInfoFont(wxWindow *aWindow)