|
KiCad PCB EDA Suite
|
#include <drc_re_min_txt_ht_th_panel.h>
Public Member Functions | |
| DRC_RE_MINIMUM_TEXT_HEIGHT_THICKNESS_PANEL (wxWindow *aParent, wxString *aConstraintTitle, std::shared_ptr< DRC_RE_MINIMUM_TEXT_HEIGHT_THICKNESS_CONSTRAINT_DATA > aConstraintData) | |
| ~DRC_RE_MINIMUM_TEXT_HEIGHT_THICKNESS_PANEL () override | |
| bool | TransferDataToWindow () override |
| bool | TransferDataFromWindow () override |
| bool | ValidateInputs (int *aErrorCount, std::string *aValidationMessage) override |
| wxString | GenerateRule (const RULE_GENERATION_CONTEXT &aContext) override |
| wxStaticBitmap * | GetConstraintImage (wxPanel *aParent, BITMAPS aBitMap) |
Protected Member Functions | |
| wxString | buildRule (const RULE_GENERATION_CONTEXT &aContext, const std::vector< wxString > &aConstraintClauses) const |
Static Protected Member Functions | |
| static wxString | sanitizeRuleName (const wxString &aRuleName) |
| static wxString | escapeCondition (const wxString &aCondition) |
| static wxString | trimTrailingZeros (const wxString &aValue) |
| static wxString | formatDouble (double aValue, int aPrecision=6) |
Protected Attributes | |
| wxBoxSizer * | bConstraintImageSizer |
| wxStaticText * | m_staticText1 |
| wxTextCtrl * | m_minTextHeightTextCtrl |
| wxStaticText * | m_staticText2 |
| wxStaticText * | m_staticText3 |
| wxTextCtrl * | m_minTextThicknessTextCtrl |
| wxStaticText * | m_staticText4 |
Private Attributes | |
| std::shared_ptr< DRC_RE_MINIMUM_TEXT_HEIGHT_THICKNESS_CONSTRAINT_DATA > | m_constraintData |
Definition at line 29 of file drc_re_min_txt_ht_th_panel.h.
| DRC_RE_MINIMUM_TEXT_HEIGHT_THICKNESS_PANEL::DRC_RE_MINIMUM_TEXT_HEIGHT_THICKNESS_PANEL | ( | wxWindow * | aParent, |
| wxString * | aConstraintTitle, | ||
| std::shared_ptr< DRC_RE_MINIMUM_TEXT_HEIGHT_THICKNESS_CONSTRAINT_DATA > | aConstraintData ) |
Definition at line 29 of file drc_re_min_txt_ht_th_panel.cpp.
References DRC_RE_MINIMUM_TEXT_HEIGHT_THICKNESS_PANEL_BASE::bConstraintImageSizer, constraint_minimum_text_height_and_thickness, DRC_RE_MINIMUM_TEXT_HEIGHT_THICKNESS_PANEL_BASE::DRC_RE_MINIMUM_TEXT_HEIGHT_THICKNESS_PANEL_BASE(), DRC_RULE_EDITOR_CONTENT_PANEL_BASE::GetConstraintImage(), and m_constraintData.
|
override |
Definition at line 41 of file drc_re_min_txt_ht_th_panel.cpp.
|
inlineprotectedinherited |
Definition at line 126 of file drc_re_content_panel_base.h.
References RULE_GENERATION_CONTEXT::comment, RULE_GENERATION_CONTEXT::conditionExpression, escapeCondition(), RULE_GENERATION_CONTEXT::layerClause, RULE_GENERATION_CONTEXT::ruleName, and sanitizeRuleName().
Referenced by DRC_RE_ALLOWED_ORIENTATION_PANEL::GenerateRule(), DRC_RE_BOOL_INPUT_PANEL::GenerateRule(), DRC_RE_MINIMUM_TEXT_HEIGHT_THICKNESS_PANEL::GenerateRule(), DRC_RE_NUMERIC_INPUT_PANEL::GenerateRule(), DRC_RE_PERMITTED_LAYERS_PANEL::GenerateRule(), and DRC_RE_ROUTING_DIFF_PAIR_PANEL::GenerateRule().
|
inlinestaticprotectedinherited |
Definition at line 99 of file drc_re_content_panel_base.h.
References CTX_QUOTED_STR, and EscapeString().
Referenced by buildRule().
|
inlinestaticprotectedinherited |
Definition at line 120 of file drc_re_content_panel_base.h.
References trimTrailingZeros().
Referenced by DRC_RE_MINIMUM_TEXT_HEIGHT_THICKNESS_PANEL::GenerateRule(), DRC_RE_NUMERIC_INPUT_PANEL::GenerateRule(), and DRC_RE_ROUTING_DIFF_PAIR_PANEL::GenerateRule().
|
overridevirtual |
Implements DRC_RULE_EDITOR_CONTENT_PANEL_BASE.
Definition at line 91 of file drc_re_min_txt_ht_th_panel.cpp.
References DRC_RULE_EDITOR_CONTENT_PANEL_BASE::buildRule(), DRC_RULE_EDITOR_CONTENT_PANEL_BASE::formatDouble(), and m_constraintData.
|
inlineinherited |
Definition at line 61 of file drc_re_content_panel_base.h.
References KiBitmapBundle().
Referenced by DRC_RE_ABSOLUTE_LENGTH_TWO_PANEL::DRC_RE_ABSOLUTE_LENGTH_TWO_PANEL(), DRC_RE_ALLOWED_ORIENTATION_PANEL::DRC_RE_ALLOWED_ORIENTATION_PANEL(), DRC_RE_BOOL_INPUT_PANEL::DRC_RE_BOOL_INPUT_PANEL(), DRC_RE_MINIMUM_TEXT_HEIGHT_THICKNESS_PANEL::DRC_RE_MINIMUM_TEXT_HEIGHT_THICKNESS_PANEL(), DRC_RE_NUMERIC_INPUT_PANEL::DRC_RE_NUMERIC_INPUT_PANEL(), DRC_RE_PERMITTED_LAYERS_PANEL::DRC_RE_PERMITTED_LAYERS_PANEL(), DRC_RE_ROUTING_DIFF_PAIR_PANEL::DRC_RE_ROUTING_DIFF_PAIR_PANEL(), DRC_RE_ROUTING_WIDTH_PANEL::DRC_RE_ROUTING_WIDTH_PANEL(), and DRC_RE_VIA_STYLE_PANEL::DRC_RE_VIA_STYLE_PANEL().
|
inlinestaticprotectedinherited |
Definition at line 68 of file drc_re_content_panel_base.h.
References result.
Referenced by buildRule().
|
override |
Definition at line 60 of file drc_re_min_txt_ht_th_panel.cpp.
References m_constraintData, DRC_RE_MINIMUM_TEXT_HEIGHT_THICKNESS_PANEL_BASE::m_minTextHeightTextCtrl, and DRC_RE_MINIMUM_TEXT_HEIGHT_THICKNESS_PANEL_BASE::m_minTextThicknessTextCtrl.
Referenced by ValidateInputs().
|
override |
Definition at line 46 of file drc_re_min_txt_ht_th_panel.cpp.
References _, m_constraintData, DRC_RE_MINIMUM_TEXT_HEIGHT_THICKNESS_PANEL_BASE::m_minTextHeightTextCtrl, and DRC_RE_MINIMUM_TEXT_HEIGHT_THICKNESS_PANEL_BASE::m_minTextThicknessTextCtrl.
|
inlinestaticprotectedinherited |
Definition at line 104 of file drc_re_content_panel_base.h.
References result.
Referenced by formatDouble().
|
overridevirtual |
Implements DRC_RULE_EDITOR_CONTENT_PANEL_BASE.
Definition at line 71 of file drc_re_min_txt_ht_th_panel.cpp.
References DRC_RULE_EDITOR_UTILS::FormatErrorMessage(), m_constraintData, result, and TransferDataFromWindow().
|
protectedinherited |
Definition at line 33 of file drc_re_min_txt_ht_th_panel_base.h.
Referenced by DRC_RE_MINIMUM_TEXT_HEIGHT_THICKNESS_PANEL::DRC_RE_MINIMUM_TEXT_HEIGHT_THICKNESS_PANEL(), and DRC_RE_MINIMUM_TEXT_HEIGHT_THICKNESS_PANEL_BASE().
|
private |
Definition at line 48 of file drc_re_min_txt_ht_th_panel.h.
Referenced by DRC_RE_MINIMUM_TEXT_HEIGHT_THICKNESS_PANEL(), GenerateRule(), TransferDataFromWindow(), TransferDataToWindow(), and ValidateInputs().
|
protectedinherited |
|
protectedinherited |
|
protectedinherited |
Definition at line 34 of file drc_re_min_txt_ht_th_panel_base.h.
Referenced by DRC_RE_MINIMUM_TEXT_HEIGHT_THICKNESS_PANEL_BASE().
|
protectedinherited |
Definition at line 36 of file drc_re_min_txt_ht_th_panel_base.h.
Referenced by DRC_RE_MINIMUM_TEXT_HEIGHT_THICKNESS_PANEL_BASE().
|
protectedinherited |
Definition at line 37 of file drc_re_min_txt_ht_th_panel_base.h.
Referenced by DRC_RE_MINIMUM_TEXT_HEIGHT_THICKNESS_PANEL_BASE().
|
protectedinherited |
Definition at line 39 of file drc_re_min_txt_ht_th_panel_base.h.
Referenced by DRC_RE_MINIMUM_TEXT_HEIGHT_THICKNESS_PANEL_BASE().