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

#include <panel_drc_rule_editor.h>

Inheritance diagram for PANEL_DRC_RULE_EDITOR:
PANEL_DRC_RULE_EDITOR_BASE DRC_RULE_EDITOR_CONTENT_PANEL_BASE WX_PANEL

Public Member Functions

 PANEL_DRC_RULE_EDITOR (wxWindow *aParent, BOARD *aBoard, DRC_RULE_EDITOR_CONSTRAINT_NAME aConstraintType, std::shared_ptr< DRC_RE_BASE_CONSTRAINT_DATA > aConstraintData)
 
 ~PANEL_DRC_RULE_EDITOR () override
 
bool TransferDataToWindow () override
 
bool TransferDataFromWindow () override
 
auto GetConstraintData ()
 
bool IsModified () const
 
void ClearModified ()
 Called once the form's contents have reached the document.
 
bool ValidateRule ()
 Runs the rule's validators and keeps the outcome, without applying anything.
 
void SetSaveCallback (std::function< void(int aNodeId)> aCallBackSave)
 
void SetRuleNameValidationCallback (std::function< bool(int aNodeId, const wxString &aRuleName)> aCallbackRuleNameValidation)
 
void SetFieldChangeCallback (std::function< void()> aCallback)
 Called whenever a field is edited, so a caller can follow the form rather than the document.
 
wxString GetCondition () const
 The condition the form currently describes, which is not yet the one the rule applies.
 
wxString GetLayerSource () const
 The layers the form currently selects, empty for any layer.
 
void SetShowMatchesCallBack (std::function< int(int aNodeId)> aCallBackShowMatches)
 
void RelayoutHost ()
 Lays out the editor's parents, out to the page it scrolls in.
 
void SetOverrideNote (const wxString &aText)
 Shows a line above the constraint saying what this rule displaces, or clears it when empty.
 
bool GetIsValidationSucceeded ()
 
wxString GetValidationMessage ()
 
bool ValidateInputs (int *aErrorCount, wxString *aValidationMessage) override
 
wxString GenerateRule (const RULE_GENERATION_CONTEXT &aContext) override
 
void OnEnterKey (wxCommandEvent &aEvent) override
 
void Save (wxCommandEvent &aEvent)
 
void SetBorders (bool aLeft, bool aRight, bool aTop, bool aBottom)
 
void SetBorderColor (const KIGFX::COLOR4D &aColor)
 

Static Public Member Functions

static PANEL_DRC_RULE_EDITOR * FindEditor (wxWindow *aChild)
 The rule editor that hosts aChild, or nullptr when it is not inside one.
 
static void LayoutAncestors (wxWindow *aWindow)
 Lays out aWindow's parents, out to the page it scrolls in.
 

Protected Attributes

wxStaticLine * m_staticline4
 
wxBoxSizer * bContentSizer
 
wxBoxSizer * bBasicDetailSizer
 
wxStaticText * m_nameLabel
 
wxTextCtrl * m_nameCtrl
 
wxStaticText * m_commentLabel
 
wxTextCtrl * m_commentCtrl
 
wxBoxSizer * m_constraintSizer
 
wxStaticText * m_constraintHeaderTitle
 
wxStaticLine * m_staticline3
 
wxBoxSizer * m_constraintContentSizer
 
wxStaticText * m_conditionHeaderTitle
 
wxHyperlinkCtrl * m_syntaxHelp
 
wxStaticLine * m_staticline8
 
wxBoxSizer * m_conditionControlsSizer
 
wxStyledTextCtrl * m_textConditionCtrl
 
wxBitmapButton * m_checkSyntaxBtnCtrl
 
WX_HTML_REPORT_BOX * m_syntaxErrorReport
 
wxStaticText * m_staticText711
 
wxStaticLine * m_staticline111
 
wxBoxSizer * m_LayersComboBoxSizer
 

Private Member Functions

DRC_RULE_EDITOR_CONTENT_PANEL_BASE * getConstraintPanel (wxWindow *aParent, const DRC_RULE_EDITOR_CONSTRAINT_NAME &aConstraintType)
 
wxString buildLayerClause () const
 
void onFieldChanged (wxEvent &aEvent)
 
void clearMatchReport ()
 
void stretchConstraintColumn ()
 
void onSaveButtonClicked (wxCommandEvent &aEvent)
 Handles the save button click event, validating inputs and invoking the save callback if valid.
 
void onScintillaCharAdded (wxStyledTextEvent &aEvent)
 Handles character addition in the Scintilla text control, performing auto-complete and context-sensitive operations.
 
void onSyntaxHelp (wxHyperlinkEvent &aEvent) override
 Displays a modeless help window with syntax and rule documentation.
 
void onCheckSyntax (wxCommandEvent &aEvent) override
 Checks the syntax of the DRC rule condition and reports any errors.
 
void onErrorLinkClicked (wxHtmlLinkEvent &aEvent) override
 Handles clicks on error links in the syntax error report and navigates to the error location.
 
void onContextMenu (wxMouseEvent &aEvent) override
 Handles right-click context menu actions for text editing (undo, redo, cut, copy, paste, delete, select all, zoom).
 
void onShowMatchesButtonClicked (wxCommandEvent &aEvent)
 
void populateLayerSelector (DRC_LAYER_CATEGORY aCategory)
 
std::vector< PCB_LAYER_ID > getSelectedLayers ()
 
wxString getSelectedLayerSource () const
 
void setSelectedLayers (const std::vector< PCB_LAYER_ID > &aLayers, const wxString &aLayerSource=wxEmptyString)
 
void OnPaint (wxPaintEvent &event)
 

Private Attributes

wxStaticText * m_overrideNote = nullptr
 
wxButton * m_btnShowMatches
 
wxStaticText * m_matchReport
 
std::vector< int > m_validLayers
 
LSEQ m_layerList
 
BOARD * m_board
 
bool m_validationSucceeded
 
bool m_modified
 
wxString m_validationMessage
 
std::unique_ptr< SCINTILLA_TRICKS > m_scintillaTricks
 
wxChoice * m_layerListChoiceCtrl
 
std::vector< int > m_layerIDs
 
DRC_LAYER_CATEGORY m_layerCategory
 
DRC_RULE_EDITOR_CONSTRAINT_NAME m_constraintType
 
DRC_RULE_EDITOR_CONTENT_PANEL_BASE * m_constraintPanel
 
std::shared_ptr< DRC_RE_BASE_CONSTRAINT_DATA > m_constraintData
 
DRC_RE_CONDITION_GROUP_PANEL * m_conditionGroupPanel
 
std::function< void(int aNodeId)> m_callBackSave
 
std::function< bool(int aNodeId, const wxString &aRuleName)> m_callBackRuleNameValidation
 
std::function< int(int aNodeId)> m_callBackShowMatches
 
std::function< void()> m_callBackFieldChanged
 
HTML_MESSAGE_BOX * m_helpWindow
 
bool m_leftBorder
 
bool m_rightBorder
 
bool m_topBorder
 
bool m_bottomBorder
 
KIGFX::COLOR4D m_borderColor
 

Detailed Description

Definition at line 41 of file panel_drc_rule_editor.h.

Constructor & Destructor Documentation

◆ PANEL_DRC_RULE_EDITOR()

PANEL_DRC_RULE_EDITOR::PANEL_DRC_RULE_EDITOR ( wxWindow * aParent,
BOARD * aBoard,
DRC_RULE_EDITOR_CONSTRAINT_NAME aConstraintType,
std::shared_ptr< DRC_RE_BASE_CONSTRAINT_DATA > aConstraintData )

Definition at line 98 of file panel_drc_rule_editor.cpp.

References _, PANEL_DRC_RULE_EDITOR_BASE::bContentSizer, clearMatchReport(), constraintNeedsTwoObjects(), CUSTOM_RULE, drc, getConstraintPanel(), PAGED_DIALOG::GetDialog(), DRC_RULE_EDITOR_UTILS::GetLayerCategoryForConstraint(), KI_TRACE_DRC_RULE_EDITOR, KiBitmapBundle(), m_board, m_btnShowMatches, m_callBackFieldChanged, PANEL_DRC_RULE_EDITOR_BASE::m_checkSyntaxBtnCtrl, PANEL_DRC_RULE_EDITOR_BASE::m_commentCtrl, PANEL_DRC_RULE_EDITOR_BASE::m_conditionControlsSizer, m_conditionGroupPanel, PANEL_DRC_RULE_EDITOR_BASE::m_conditionHeaderTitle, PANEL_DRC_RULE_EDITOR_BASE::m_constraintContentSizer, m_constraintData, PANEL_DRC_RULE_EDITOR_BASE::m_constraintHeaderTitle, m_constraintPanel, m_constraintType, m_helpWindow, m_layerCategory, m_layerList, m_layerListChoiceCtrl, PANEL_DRC_RULE_EDITOR_BASE::m_LayersComboBoxSizer, m_matchReport, m_modified, PANEL_DRC_RULE_EDITOR_BASE::m_nameCtrl, m_scintillaTricks, PANEL_DRC_RULE_EDITOR_BASE::m_staticline111, PANEL_DRC_RULE_EDITOR_BASE::m_staticline3, PANEL_DRC_RULE_EDITOR_BASE::m_staticline8, PANEL_DRC_RULE_EDITOR_BASE::m_staticText711, PANEL_DRC_RULE_EDITOR_BASE::m_syntaxErrorReport, PANEL_DRC_RULE_EDITOR_BASE::m_syntaxHelp, PANEL_DRC_RULE_EDITOR_BASE::m_textConditionCtrl, m_validationSucceeded, NO_LAYER_SELECTOR, OnEnterKey(), onFieldChanged(), onScintillaCharAdded(), onShowMatchesButtonClicked(), PANEL_DRC_RULE_EDITOR_BASE::PANEL_DRC_RULE_EDITOR_BASE(), populateLayerSelector(), RelayoutHost(), WX_PANEL::SetBorders(), stretchConstraintColumn(), and DRC_RE_CUSTOM_RULE_PANEL::UpdateRuleName().

Referenced by FindEditor().

◆ ~PANEL_DRC_RULE_EDITOR()

PANEL_DRC_RULE_EDITOR::~PANEL_DRC_RULE_EDITOR ( )
override

Member Function Documentation

◆ buildLayerClause()

◆ clearMatchReport()

void PANEL_DRC_RULE_EDITOR::clearMatchReport ( )
private

Definition at line 1056 of file panel_drc_rule_editor.cpp.

References m_matchReport.

Referenced by onFieldChanged(), and PANEL_DRC_RULE_EDITOR().

◆ ClearModified()

void PANEL_DRC_RULE_EDITOR::ClearModified ( )
inline

Called once the form's contents have reached the document.

Definition at line 59 of file panel_drc_rule_editor.h.

References m_modified.

◆ FindEditor()

PANEL_DRC_RULE_EDITOR * PANEL_DRC_RULE_EDITOR::FindEditor ( wxWindow * aChild)
static

The rule editor that hosts aChild, or nullptr when it is not inside one.

Definition at line 1294 of file panel_drc_rule_editor.cpp.

References editor, and PANEL_DRC_RULE_EDITOR().

Referenced by DRC_RE_BITMAP_OVERLAY_PANEL::OnDPIChanged().

◆ GenerateRule()

wxString PANEL_DRC_RULE_EDITOR::GenerateRule ( const RULE_GENERATION_CONTEXT & aContext)
overridevirtual

Implements DRC_RULE_EDITOR_CONTENT_PANEL_BASE.

Definition at line 460 of file panel_drc_rule_editor.cpp.

References m_constraintPanel.

◆ GetCondition()

wxString PANEL_DRC_RULE_EDITOR::GetCondition ( ) const

The condition the form currently describes, which is not yet the one the rule applies.

Definition at line 282 of file panel_drc_rule_editor.cpp.

References m_conditionGroupPanel.

◆ GetConstraintData()

auto PANEL_DRC_RULE_EDITOR::GetConstraintData ( )
inline

Definition at line 54 of file panel_drc_rule_editor.h.

References m_constraintData.

◆ getConstraintPanel()

◆ GetIsValidationSucceeded()

bool PANEL_DRC_RULE_EDITOR::GetIsValidationSucceeded ( )
inline

Definition at line 100 of file panel_drc_rule_editor.h.

References m_validationSucceeded.

◆ GetLayerSource()

wxString PANEL_DRC_RULE_EDITOR::GetLayerSource ( ) const
inline

The layers the form currently selects, empty for any layer.

Definition at line 79 of file panel_drc_rule_editor.h.

References getSelectedLayerSource().

◆ getSelectedLayers()

◆ getSelectedLayerSource()

wxString PANEL_DRC_RULE_EDITOR::getSelectedLayerSource ( ) const
private

◆ GetValidationMessage()

wxString PANEL_DRC_RULE_EDITOR::GetValidationMessage ( )
inline

Definition at line 102 of file panel_drc_rule_editor.h.

References m_validationMessage.

◆ IsModified()

bool PANEL_DRC_RULE_EDITOR::IsModified ( ) const
inline

Definition at line 56 of file panel_drc_rule_editor.h.

References m_modified.

◆ LayoutAncestors()

void PANEL_DRC_RULE_EDITOR::LayoutAncestors ( wxWindow * aWindow)
static

Lays out aWindow's parents, out to the page it scrolls in.

Definition at line 1373 of file panel_drc_rule_editor.cpp.

Referenced by CONSTRAINT_RULES_LIST::relayout(), and RelayoutHost().

◆ onCheckSyntax()

void PANEL_DRC_RULE_EDITOR::onCheckSyntax ( wxCommandEvent & aEvent)
overrideprivatevirtual

Checks the syntax of the DRC rule condition and reports any errors.

Parameters
aEventThe event triggered by the syntax check action.

Reimplemented from PANEL_DRC_RULE_EDITOR_BASE.

Definition at line 916 of file panel_drc_rule_editor.cpp.

References _, PARSE_ERROR::byteIndex, L, PARSE_ERROR::lineNumber, m_conditionGroupPanel, PANEL_DRC_RULE_EDITOR_BASE::m_syntaxErrorReport, DRC_RULES_PARSER::Parse(), PARSE_ERROR::ParseProblem(), and RPT_SEVERITY_ERROR.

◆ onContextMenu()

void PANEL_DRC_RULE_EDITOR::onContextMenu ( wxMouseEvent & aEvent)
overrideprivatevirtual

Handles right-click context menu actions for text editing (undo, redo, cut, copy, paste, delete, select all, zoom).

Parameters
aEventThe event triggered by the right-click menu.

Reimplemented from PANEL_DRC_RULE_EDITOR_BASE.

Definition at line 974 of file panel_drc_rule_editor.cpp.

References _, and PANEL_DRC_RULE_EDITOR_BASE::m_textConditionCtrl.

◆ OnEnterKey()

void PANEL_DRC_RULE_EDITOR::OnEnterKey ( wxCommandEvent & aEvent)
overridevirtual

Reimplemented from PANEL_DRC_RULE_EDITOR_BASE.

Definition at line 497 of file panel_drc_rule_editor.cpp.

References onSaveButtonClicked().

Referenced by PANEL_DRC_RULE_EDITOR().

◆ onErrorLinkClicked()

void PANEL_DRC_RULE_EDITOR::onErrorLinkClicked ( wxHtmlLinkEvent & aEvent)
overrideprivatevirtual

Handles clicks on error links in the syntax error report and navigates to the error location.

Parameters
aEventThe event triggered when an error link is clicked.

Reimplemented from PANEL_DRC_RULE_EDITOR_BASE.

Definition at line 952 of file panel_drc_rule_editor.cpp.

References link, PANEL_DRC_RULE_EDITOR_BASE::m_textConditionCtrl, and wxStringSplit().

◆ onFieldChanged()

void PANEL_DRC_RULE_EDITOR::onFieldChanged ( wxEvent & aEvent)
private

Definition at line 270 of file panel_drc_rule_editor.cpp.

References clearMatchReport(), m_callBackFieldChanged, and m_modified.

Referenced by PANEL_DRC_RULE_EDITOR().

◆ OnPaint()

void WX_PANEL::OnPaint ( wxPaintEvent & event)
privateinherited

◆ onSaveButtonClicked()

void PANEL_DRC_RULE_EDITOR::onSaveButtonClicked ( wxCommandEvent & aEvent)
private

Handles the save button click event, validating inputs and invoking the save callback if valid.

Parameters
aEventThe event triggered by the save button click.

Definition at line 483 of file panel_drc_rule_editor.cpp.

References m_btnShowMatches, m_callBackSave, m_constraintData, m_validationSucceeded, and ValidateRule().

Referenced by OnEnterKey(), and Save().

◆ onScintillaCharAdded()

void PANEL_DRC_RULE_EDITOR::onScintillaCharAdded ( wxStyledTextEvent & aEvent)
private

Handles character addition in the Scintilla text control, performing auto-complete and context-sensitive operations.

Parameters
aEventThe event triggered when a character is added.

Definition at line 509 of file panel_drc_rule_editor.cpp.

References PROPERTY_MANAGER::GetAllClasses(), PROPERTY_MANAGER::GetProperties(), PCBEXPR_BUILTIN_FUNCTIONS::GetSignatures(), PCBEXPR_BUILTIN_FUNCTIONS::Instance(), PROPERTY_MANAGER::Instance(), m_board, BOARD_DESIGN_SETTINGS::m_NetSettings, m_scintillaTricks, PANEL_DRC_RULE_EDITOR_BASE::m_textConditionCtrl, name, NONE, and STRING.

Referenced by PANEL_DRC_RULE_EDITOR().

◆ onShowMatchesButtonClicked()

void PANEL_DRC_RULE_EDITOR::onShowMatchesButtonClicked ( wxCommandEvent & aEvent)
private

◆ onSyntaxHelp()

void PANEL_DRC_RULE_EDITOR::onSyntaxHelp ( wxHyperlinkEvent & aEvent)
overrideprivatevirtual

Displays a modeless help window with syntax and rule documentation.

Parameters
aEventThe event triggered by the hyperlink click.

Reimplemented from PANEL_DRC_RULE_EDITOR_BASE.

Definition at line 841 of file panel_drc_rule_editor.cpp.

References _, ConvertMarkdown2Html(), and m_helpWindow.

◆ populateLayerSelector()

◆ RelayoutHost()

void PANEL_DRC_RULE_EDITOR::RelayoutHost ( )
inline

Lays out the editor's parents, out to the page it scrolls in.

Definition at line 92 of file panel_drc_rule_editor.h.

References LayoutAncestors().

Referenced by PANEL_DRC_RULE_EDITOR().

◆ Save()

void PANEL_DRC_RULE_EDITOR::Save ( wxCommandEvent & aEvent)

Definition at line 503 of file panel_drc_rule_editor.cpp.

References onSaveButtonClicked().

◆ SetBorderColor()

void WX_PANEL::SetBorderColor ( const KIGFX::COLOR4D & aColor)
inlineinherited

Definition at line 43 of file wx_panel.h.

References m_borderColor.

Referenced by SYMBOL_TREE_SYNCHRONIZING_ADAPTER::ShowPreview().

◆ SetBorders()

◆ SetFieldChangeCallback()

void PANEL_DRC_RULE_EDITOR::SetFieldChangeCallback ( std::function< void()> aCallback)
inline

Called whenever a field is edited, so a caller can follow the form rather than the document.

Definition at line 73 of file panel_drc_rule_editor.h.

References m_callBackFieldChanged.

◆ SetOverrideNote()

void PANEL_DRC_RULE_EDITOR::SetOverrideNote ( const wxString & aText)

Shows a line above the constraint saying what this rule displaces, or clears it when empty.

Definition at line 1306 of file panel_drc_rule_editor.cpp.

References KIUI::GetInfoFont(), PANEL_DRC_RULE_EDITOR_BASE::m_constraintContentSizer, PANEL_DRC_RULE_EDITOR_BASE::m_constraintSizer, and m_overrideNote.

◆ SetRuleNameValidationCallback()

void PANEL_DRC_RULE_EDITOR::SetRuleNameValidationCallback ( std::function< bool(int aNodeId, const wxString &aRuleName)> aCallbackRuleNameValidation)
inline

Definition at line 66 of file panel_drc_rule_editor.h.

References m_callBackRuleNameValidation.

◆ SetSaveCallback()

void PANEL_DRC_RULE_EDITOR::SetSaveCallback ( std::function< void(int aNodeId)> aCallBackSave)
inline

Definition at line 64 of file panel_drc_rule_editor.h.

References m_callBackSave.

◆ setSelectedLayers()

void PANEL_DRC_RULE_EDITOR::setSelectedLayers ( const std::vector< PCB_LAYER_ID > & aLayers,
const wxString & aLayerSource = wxEmptyString )
private

◆ SetShowMatchesCallBack()

void PANEL_DRC_RULE_EDITOR::SetShowMatchesCallBack ( std::function< int(int aNodeId)> aCallBackShowMatches)
inline

Definition at line 81 of file panel_drc_rule_editor.h.

References m_callBackShowMatches.

◆ stretchConstraintColumn()

void PANEL_DRC_RULE_EDITOR::stretchConstraintColumn ( )
private

◆ TransferDataFromWindow()

◆ TransferDataToWindow()

◆ ValidateInputs()

bool PANEL_DRC_RULE_EDITOR::ValidateInputs ( int * aErrorCount,
wxString * aValidationMessage )
overridevirtual

◆ ValidateRule()

bool PANEL_DRC_RULE_EDITOR::ValidateRule ( )

Runs the rule's validators and keeps the outcome, without applying anything.

Definition at line 466 of file panel_drc_rule_editor.cpp.

References m_constraintPanel, m_validationMessage, m_validationSucceeded, and ValidateInputs().

Referenced by onSaveButtonClicked().

Member Data Documentation

◆ bBasicDetailSizer

wxBoxSizer* PANEL_DRC_RULE_EDITOR_BASE::bBasicDetailSizer
protectedinherited

Definition at line 47 of file panel_drc_rule_editor_base.h.

Referenced by PANEL_DRC_RULE_EDITOR_BASE().

◆ bContentSizer

wxBoxSizer* PANEL_DRC_RULE_EDITOR_BASE::bContentSizer
protectedinherited

◆ m_board

BOARD* PANEL_DRC_RULE_EDITOR::m_board
private

◆ m_borderColor

KIGFX::COLOR4D WX_PANEL::m_borderColor
privateinherited

Definition at line 57 of file wx_panel.h.

Referenced by OnPaint(), SetBorderColor(), and WX_PANEL().

◆ m_bottomBorder

bool WX_PANEL::m_bottomBorder
privateinherited

Definition at line 55 of file wx_panel.h.

Referenced by OnPaint(), SetBorders(), and WX_PANEL().

◆ m_btnShowMatches

wxButton* PANEL_DRC_RULE_EDITOR::m_btnShowMatches
private

◆ m_callBackFieldChanged

std::function<void()> PANEL_DRC_RULE_EDITOR::m_callBackFieldChanged
private

◆ m_callBackRuleNameValidation

std::function<bool( int aNodeId, const wxString& aRuleName )> PANEL_DRC_RULE_EDITOR::m_callBackRuleNameValidation
private

Definition at line 199 of file panel_drc_rule_editor.h.

Referenced by SetRuleNameValidationCallback(), and ValidateInputs().

◆ m_callBackSave

std::function<void( int aNodeId )> PANEL_DRC_RULE_EDITOR::m_callBackSave
private

Definition at line 198 of file panel_drc_rule_editor.h.

Referenced by onSaveButtonClicked(), and SetSaveCallback().

◆ m_callBackShowMatches

std::function<int( int aNodeId )> PANEL_DRC_RULE_EDITOR::m_callBackShowMatches
private

Definition at line 200 of file panel_drc_rule_editor.h.

Referenced by onShowMatchesButtonClicked(), and SetShowMatchesCallBack().

◆ m_checkSyntaxBtnCtrl

wxBitmapButton* PANEL_DRC_RULE_EDITOR_BASE::m_checkSyntaxBtnCtrl
protectedinherited

◆ m_commentCtrl

◆ m_commentLabel

wxStaticText* PANEL_DRC_RULE_EDITOR_BASE::m_commentLabel
protectedinherited

Definition at line 50 of file panel_drc_rule_editor_base.h.

Referenced by PANEL_DRC_RULE_EDITOR_BASE().

◆ m_conditionControlsSizer

wxBoxSizer* PANEL_DRC_RULE_EDITOR_BASE::m_conditionControlsSizer
protectedinherited

◆ m_conditionGroupPanel

DRC_RE_CONDITION_GROUP_PANEL* PANEL_DRC_RULE_EDITOR::m_conditionGroupPanel
private

◆ m_conditionHeaderTitle

wxStaticText* PANEL_DRC_RULE_EDITOR_BASE::m_conditionHeaderTitle
protectedinherited

◆ m_constraintContentSizer

wxBoxSizer* PANEL_DRC_RULE_EDITOR_BASE::m_constraintContentSizer
protectedinherited

◆ m_constraintData

◆ m_constraintHeaderTitle

wxStaticText* PANEL_DRC_RULE_EDITOR_BASE::m_constraintHeaderTitle
protectedinherited

◆ m_constraintPanel

DRC_RULE_EDITOR_CONTENT_PANEL_BASE* PANEL_DRC_RULE_EDITOR::m_constraintPanel
private

◆ m_constraintSizer

wxBoxSizer* PANEL_DRC_RULE_EDITOR_BASE::m_constraintSizer
protectedinherited

◆ m_constraintType

DRC_RULE_EDITOR_CONSTRAINT_NAME PANEL_DRC_RULE_EDITOR::m_constraintType
private

◆ m_helpWindow

HTML_MESSAGE_BOX* PANEL_DRC_RULE_EDITOR::m_helpWindow
private

Definition at line 203 of file panel_drc_rule_editor.h.

Referenced by onSyntaxHelp(), and PANEL_DRC_RULE_EDITOR().

◆ m_layerCategory

DRC_LAYER_CATEGORY PANEL_DRC_RULE_EDITOR::m_layerCategory
private

Definition at line 192 of file panel_drc_rule_editor.h.

Referenced by getSelectedLayers(), and PANEL_DRC_RULE_EDITOR().

◆ m_layerIDs

std::vector<int> PANEL_DRC_RULE_EDITOR::m_layerIDs
private

◆ m_layerList

LSEQ PANEL_DRC_RULE_EDITOR::m_layerList
private

Definition at line 183 of file panel_drc_rule_editor.h.

Referenced by PANEL_DRC_RULE_EDITOR().

◆ m_layerListChoiceCtrl

wxChoice* PANEL_DRC_RULE_EDITOR::m_layerListChoiceCtrl
private

◆ m_LayersComboBoxSizer

wxBoxSizer* PANEL_DRC_RULE_EDITOR_BASE::m_LayersComboBoxSizer
protectedinherited

◆ m_leftBorder

bool WX_PANEL::m_leftBorder
privateinherited

Definition at line 52 of file wx_panel.h.

Referenced by OnPaint(), SetBorders(), and WX_PANEL().

◆ m_matchReport

wxStaticText* PANEL_DRC_RULE_EDITOR::m_matchReport
private

◆ m_modified

bool PANEL_DRC_RULE_EDITOR::m_modified
private

◆ m_nameCtrl

◆ m_nameLabel

wxStaticText* PANEL_DRC_RULE_EDITOR_BASE::m_nameLabel
protectedinherited

Definition at line 48 of file panel_drc_rule_editor_base.h.

Referenced by PANEL_DRC_RULE_EDITOR_BASE().

◆ m_overrideNote

wxStaticText* PANEL_DRC_RULE_EDITOR::m_overrideNote = nullptr
private

Definition at line 125 of file panel_drc_rule_editor.h.

Referenced by SetOverrideNote().

◆ m_rightBorder

bool WX_PANEL::m_rightBorder
privateinherited

Definition at line 53 of file wx_panel.h.

Referenced by OnPaint(), SetBorders(), and WX_PANEL().

◆ m_scintillaTricks

std::unique_ptr<SCINTILLA_TRICKS> PANEL_DRC_RULE_EDITOR::m_scintillaTricks
private

Definition at line 189 of file panel_drc_rule_editor.h.

Referenced by onScintillaCharAdded(), and PANEL_DRC_RULE_EDITOR().

◆ m_staticline111

wxStaticLine* PANEL_DRC_RULE_EDITOR_BASE::m_staticline111
protectedinherited

◆ m_staticline3

wxStaticLine* PANEL_DRC_RULE_EDITOR_BASE::m_staticline3
protectedinherited

◆ m_staticline4

wxStaticLine* PANEL_DRC_RULE_EDITOR_BASE::m_staticline4
protectedinherited

Definition at line 45 of file panel_drc_rule_editor_base.h.

Referenced by PANEL_DRC_RULE_EDITOR_BASE().

◆ m_staticline8

wxStaticLine* PANEL_DRC_RULE_EDITOR_BASE::m_staticline8
protectedinherited

◆ m_staticText711

wxStaticText* PANEL_DRC_RULE_EDITOR_BASE::m_staticText711
protectedinherited

◆ m_syntaxErrorReport

WX_HTML_REPORT_BOX* PANEL_DRC_RULE_EDITOR_BASE::m_syntaxErrorReport
protectedinherited

◆ m_syntaxHelp

wxHyperlinkCtrl* PANEL_DRC_RULE_EDITOR_BASE::m_syntaxHelp
protectedinherited

◆ m_textConditionCtrl

◆ m_topBorder

bool WX_PANEL::m_topBorder
privateinherited

Definition at line 54 of file wx_panel.h.

Referenced by OnPaint(), SetBorders(), and WX_PANEL().

◆ m_validationMessage

wxString PANEL_DRC_RULE_EDITOR::m_validationMessage
private

Definition at line 187 of file panel_drc_rule_editor.h.

Referenced by GetValidationMessage(), ValidateInputs(), and ValidateRule().

◆ m_validationSucceeded

bool PANEL_DRC_RULE_EDITOR::m_validationSucceeded
private

◆ m_validLayers

std::vector<int> PANEL_DRC_RULE_EDITOR::m_validLayers
private

Definition at line 182 of file panel_drc_rule_editor.h.


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