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

#include <panel_setup_rules.h>

Inheritance diagram for PANEL_SETUP_RULES:
PANEL_SETUP_RULES_BASE

Public Member Functions

 PANEL_SETUP_RULES (wxWindow *aParentWindow, PCB_EDIT_FRAME *aFrame)
 
 ~PANEL_SETUP_RULES () override
 
void ImportSettingsFrom (BOARD *aBoard)
 

Protected Attributes

wxStaticText * m_title
 
wxHyperlinkCtrl * m_syntaxHelp
 
wxBoxSizer * m_topMargin
 
wxStyledTextCtrl * m_textEditor
 
STD_BITMAP_BUTTONm_compileButton
 
WX_HTML_REPORT_BOXm_errorsReport
 

Private Member Functions

void onScintillaCharAdded (wxStyledTextEvent &aEvent)
 
void OnSyntaxHelp (wxHyperlinkEvent &aEvent) override
 
void OnCompile (wxCommandEvent &event) override
 
void OnErrorLinkClicked (wxHtmlLinkEvent &event) override
 
void onCharHook (wxKeyEvent &aEvent)
 
void OnContextMenu (wxMouseEvent &event) override
 
bool TransferDataToWindow () override
 
bool TransferDataFromWindow () override
 

Private Attributes

PCB_EDIT_FRAMEm_frame
 
SCINTILLA_TRICKSm_scintillaTricks
 
wxString m_originalText
 
wxRegEx m_netClassRegex
 
wxRegEx m_netNameRegex
 
wxRegEx m_typeRegex
 
wxRegEx m_viaTypeRegex
 
wxRegEx m_padTypeRegex
 
wxRegEx m_pinTypeRegex
 
wxRegEx m_fabPropRegex
 
wxRegEx m_shapeRegex
 
wxRegEx m_padShapeRegex
 
wxRegEx m_padConnectionsRegex
 
wxRegEx m_zoneConnStyleRegex
 
wxRegEx m_lineStyleRegex
 
wxRegEx m_hJustRegex
 
wxRegEx m_vJustRegex
 
HTML_MESSAGE_BOXm_helpWindow
 

Detailed Description

Definition at line 38 of file panel_setup_rules.h.

Constructor & Destructor Documentation

◆ PANEL_SETUP_RULES()

◆ ~PANEL_SETUP_RULES()

Member Function Documentation

◆ ImportSettingsFrom()

◆ onCharHook()

void PANEL_SETUP_RULES::onCharHook ( wxKeyEvent &  aEvent)
private

◆ OnCompile()

◆ OnContextMenu()

void PANEL_SETUP_RULES::OnContextMenu ( wxMouseEvent &  event)
overrideprivatevirtual

Reimplemented from PANEL_SETUP_RULES_BASE.

Definition at line 121 of file panel_setup_rules.cpp.

References _, and PANEL_SETUP_RULES_BASE::m_textEditor.

◆ OnErrorLinkClicked()

void PANEL_SETUP_RULES::OnErrorLinkClicked ( wxHtmlLinkEvent &  event)
overrideprivatevirtual

Reimplemented from PANEL_SETUP_RULES_BASE.

Definition at line 725 of file panel_setup_rules.cpp.

References PANEL_SETUP_RULES_BASE::m_textEditor, and wxStringSplit().

◆ onScintillaCharAdded()

◆ OnSyntaxHelp()

void PANEL_SETUP_RULES::OnSyntaxHelp ( wxHyperlinkEvent &  aEvent)
overrideprivatevirtual

◆ TransferDataFromWindow()

◆ TransferDataToWindow()

Member Data Documentation

◆ m_compileButton

STD_BITMAP_BUTTON* PANEL_SETUP_RULES_BASE::m_compileButton
protectedinherited

◆ m_errorsReport

WX_HTML_REPORT_BOX* PANEL_SETUP_RULES_BASE::m_errorsReport
protectedinherited

◆ m_fabPropRegex

wxRegEx PANEL_SETUP_RULES::m_fabPropRegex
private

Definition at line 68 of file panel_setup_rules.h.

Referenced by onScintillaCharAdded(), and PANEL_SETUP_RULES().

◆ m_frame

PCB_EDIT_FRAME* PANEL_SETUP_RULES::m_frame
private

◆ m_helpWindow

HTML_MESSAGE_BOX* PANEL_SETUP_RULES::m_helpWindow
private

Definition at line 77 of file panel_setup_rules.h.

Referenced by OnSyntaxHelp(), and ~PANEL_SETUP_RULES().

◆ m_hJustRegex

wxRegEx PANEL_SETUP_RULES::m_hJustRegex
private

Definition at line 74 of file panel_setup_rules.h.

Referenced by onScintillaCharAdded(), and PANEL_SETUP_RULES().

◆ m_lineStyleRegex

wxRegEx PANEL_SETUP_RULES::m_lineStyleRegex
private

Definition at line 73 of file panel_setup_rules.h.

Referenced by onScintillaCharAdded(), and PANEL_SETUP_RULES().

◆ m_netClassRegex

wxRegEx PANEL_SETUP_RULES::m_netClassRegex
private

Definition at line 62 of file panel_setup_rules.h.

Referenced by onScintillaCharAdded(), and PANEL_SETUP_RULES().

◆ m_netNameRegex

wxRegEx PANEL_SETUP_RULES::m_netNameRegex
private

Definition at line 63 of file panel_setup_rules.h.

Referenced by onScintillaCharAdded(), and PANEL_SETUP_RULES().

◆ m_originalText

wxString PANEL_SETUP_RULES::m_originalText
private

Definition at line 60 of file panel_setup_rules.h.

Referenced by onCharHook(), TransferDataFromWindow(), and TransferDataToWindow().

◆ m_padConnectionsRegex

wxRegEx PANEL_SETUP_RULES::m_padConnectionsRegex
private

Definition at line 71 of file panel_setup_rules.h.

Referenced by onScintillaCharAdded(), and PANEL_SETUP_RULES().

◆ m_padShapeRegex

wxRegEx PANEL_SETUP_RULES::m_padShapeRegex
private

Definition at line 70 of file panel_setup_rules.h.

Referenced by onScintillaCharAdded(), and PANEL_SETUP_RULES().

◆ m_padTypeRegex

wxRegEx PANEL_SETUP_RULES::m_padTypeRegex
private

Definition at line 66 of file panel_setup_rules.h.

Referenced by onScintillaCharAdded(), and PANEL_SETUP_RULES().

◆ m_pinTypeRegex

wxRegEx PANEL_SETUP_RULES::m_pinTypeRegex
private

Definition at line 67 of file panel_setup_rules.h.

Referenced by onScintillaCharAdded(), and PANEL_SETUP_RULES().

◆ m_scintillaTricks

SCINTILLA_TRICKS* PANEL_SETUP_RULES::m_scintillaTricks
private

Definition at line 59 of file panel_setup_rules.h.

Referenced by onScintillaCharAdded(), PANEL_SETUP_RULES(), and ~PANEL_SETUP_RULES().

◆ m_shapeRegex

wxRegEx PANEL_SETUP_RULES::m_shapeRegex
private

Definition at line 69 of file panel_setup_rules.h.

Referenced by onScintillaCharAdded(), and PANEL_SETUP_RULES().

◆ m_syntaxHelp

wxHyperlinkCtrl* PANEL_SETUP_RULES_BASE::m_syntaxHelp
protectedinherited

◆ m_textEditor

◆ m_title

wxStaticText* PANEL_SETUP_RULES_BASE::m_title
protectedinherited

◆ m_topMargin

wxBoxSizer* PANEL_SETUP_RULES_BASE::m_topMargin
protectedinherited

◆ m_typeRegex

wxRegEx PANEL_SETUP_RULES::m_typeRegex
private

Definition at line 64 of file panel_setup_rules.h.

Referenced by onScintillaCharAdded(), and PANEL_SETUP_RULES().

◆ m_viaTypeRegex

wxRegEx PANEL_SETUP_RULES::m_viaTypeRegex
private

Definition at line 65 of file panel_setup_rules.h.

Referenced by onScintillaCharAdded(), and PANEL_SETUP_RULES().

◆ m_vJustRegex

wxRegEx PANEL_SETUP_RULES::m_vJustRegex
private

Definition at line 75 of file panel_setup_rules.h.

Referenced by onScintillaCharAdded(), and PANEL_SETUP_RULES().

◆ m_zoneConnStyleRegex

wxRegEx PANEL_SETUP_RULES::m_zoneConnStyleRegex
private

Definition at line 72 of file panel_setup_rules.h.

Referenced by onScintillaCharAdded(), and PANEL_SETUP_RULES().


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