| 
    KiCad PCB EDA Suite
    
   | 
 
#include <panel_setup_rules.h>
  
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_BUTTON * | m_compileButton | 
| WX_HTML_REPORT_BOX * | m_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 | 
| void | checkPlausibility (const std::vector< std::shared_ptr< DRC_RULE > > &aRules) | 
| bool | TransferDataToWindow () override | 
| bool | TransferDataFromWindow () override | 
Private Attributes | |
| PCB_EDIT_FRAME * | m_frame | 
| SCINTILLA_TRICKS * | m_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_BOX * | m_helpWindow | 
Definition at line 38 of file panel_setup_rules.h.
| PANEL_SETUP_RULES::PANEL_SETUP_RULES | ( | wxWindow * | aParentWindow, | 
| PCB_EDIT_FRAME * | aFrame ) | 
Definition at line 47 of file panel_setup_rules.cpp.
References drc, PAGED_DIALOG::GetDialog(), KiBitmapBundle(), PANEL_SETUP_RULES_BASE::m_compileButton, m_fabPropRegex, m_frame, m_helpWindow, m_hJustRegex, m_lineStyleRegex, m_netClassRegex, m_netNameRegex, m_padConnectionsRegex, m_padShapeRegex, m_padTypeRegex, m_pinTypeRegex, m_scintillaTricks, m_shapeRegex, PANEL_SETUP_RULES_BASE::m_textEditor, m_typeRegex, m_viaTypeRegex, m_vJustRegex, m_zoneConnStyleRegex, onCharHook(), onScintillaCharAdded(), PANEL_SETUP_RULES_BASE::PANEL_SETUP_RULES_BASE(), and Pgm().
      
  | 
  override | 
Definition at line 92 of file panel_setup_rules.cpp.
References PGM_BASE::GetCommonSettings(), COMMON_SETTINGS::m_Appearance, m_helpWindow, m_scintillaTricks, PANEL_SETUP_RULES_BASE::m_textEditor, onCharHook(), Pgm(), and COMMON_SETTINGS::APPEARANCE::text_editor_zoom.
      
  | 
  private | 
Definition at line 750 of file panel_setup_rules.cpp.
References _, end, BOARD::GetDesignSettings(), BOARD::GetEnabledLayers(), BOARD::GetLayerName(), NET_SETTINGS::HasNetclass(), PANEL_SETUP_RULES_BASE::m_errorsReport, m_frame, BOARD_DESIGN_SETTINGS::m_NetSettings, RPT_SEVERITY_WARNING, and LSET::Seq().
Referenced by OnCompile().
| void PANEL_SETUP_RULES::ImportSettingsFrom | ( | BOARD * | aBoard | ) | 
Definition at line 988 of file panel_setup_rules.cpp.
References PROJECT::AbsolutePath(), ConvertSmartQuotesAndDashes(), FILEEXT::DesignRulesFileExtension, dummy, BOARD::GetFileName(), BOARD::GetProject(), m_frame, PANEL_SETUP_RULES_BASE::m_textEditor, and OnCompile().
      
  | 
  private | 
Definition at line 104 of file panel_setup_rules.cpp.
References _, IsOK(), m_originalText, and PANEL_SETUP_RULES_BASE::m_textEditor.
Referenced by PANEL_SETUP_RULES(), and ~PANEL_SETUP_RULES().
      
  | 
  overrideprivatevirtual | 
Reimplemented from PANEL_SETUP_RULES_BASE.
Definition at line 709 of file panel_setup_rules.cpp.
References _, PARSE_ERROR::byteIndex, checkPlausibility(), ExpandTextVars(), PARSE_ERROR::lineNumber, PANEL_SETUP_RULES_BASE::m_errorsReport, m_frame, PANEL_SETUP_RULES_BASE::m_textEditor, DRC_RULES_PARSER::Parse(), PARSE_ERROR::ParseProblem(), resolver, and RPT_SEVERITY_ERROR.
Referenced by ImportSettingsFrom(), and TransferDataToWindow().
      
  | 
  overrideprivatevirtual | 
Reimplemented from PANEL_SETUP_RULES_BASE.
Definition at line 124 of file panel_setup_rules.cpp.
References _, and PANEL_SETUP_RULES_BASE::m_textEditor.
      
  | 
  overrideprivatevirtual | 
Reimplemented from PANEL_SETUP_RULES_BASE.
Definition at line 823 of file panel_setup_rules.cpp.
References PANEL_SETUP_RULES_BASE::m_textEditor, and wxStringSplit().
      
  | 
  private | 
Definition at line 191 of file panel_setup_rules.cpp.
References PROPERTY_MANAGER::GetAllClasses(), PAGED_DIALOG::GetDialog(), BOARD::GetNetClassAssignmentCandidates(), PROPERTY_MANAGER::GetProperties(), PCBEXPR_BUILTIN_FUNCTIONS::GetSignatures(), PCBEXPR_BUILTIN_FUNCTIONS::Instance(), PROPERTY_MANAGER::Instance(), m_fabPropRegex, m_frame, m_hJustRegex, m_lineStyleRegex, m_netClassRegex, m_netNameRegex, BOARD_DESIGN_SETTINGS::m_NetSettings, m_padConnectionsRegex, m_padShapeRegex, m_padTypeRegex, m_pinTypeRegex, m_scintillaTricks, m_shapeRegex, PANEL_SETUP_RULES_BASE::m_textEditor, m_typeRegex, m_viaTypeRegex, m_vJustRegex, m_zoneConnStyleRegex, name, PAGED_DIALOG::SetModified(), and STRING.
Referenced by PANEL_SETUP_RULES().
      
  | 
  overrideprivatevirtual | 
Reimplemented from PANEL_SETUP_RULES_BASE.
Definition at line 914 of file panel_setup_rules.cpp.
References _, ConvertMarkdown2Html(), and m_helpWindow.
      
  | 
  overrideprivate | 
Definition at line 885 of file panel_setup_rules.cpp.
References m_frame, m_originalText, and PANEL_SETUP_RULES_BASE::m_textEditor.
      
  | 
  overrideprivate | 
Definition at line 845 of file panel_setup_rules.cpp.
References _, ConvertSmartQuotesAndDashes(), dummy, m_frame, m_originalText, PANEL_SETUP_RULES_BASE::m_textEditor, and OnCompile().
      
  | 
  protectedinherited | 
Definition at line 47 of file panel_setup_rules_base.h.
Referenced by PANEL_SETUP_RULES::PANEL_SETUP_RULES(), PANEL_SETUP_RULES_BASE(), and ~PANEL_SETUP_RULES_BASE().
      
  | 
  protectedinherited | 
Definition at line 48 of file panel_setup_rules_base.h.
Referenced by PANEL_SETUP_RULES::checkPlausibility(), PANEL_SETUP_RULES::OnCompile(), PANEL_SETUP_RULES_BASE(), and ~PANEL_SETUP_RULES_BASE().
      
  | 
  private | 
Definition at line 70 of file panel_setup_rules.h.
Referenced by onScintillaCharAdded(), and PANEL_SETUP_RULES().
      
  | 
  private | 
Definition at line 60 of file panel_setup_rules.h.
Referenced by checkPlausibility(), ImportSettingsFrom(), OnCompile(), onScintillaCharAdded(), PANEL_SETUP_RULES(), TransferDataFromWindow(), and TransferDataToWindow().
      
  | 
  private | 
Definition at line 79 of file panel_setup_rules.h.
Referenced by OnSyntaxHelp(), PANEL_SETUP_RULES(), and ~PANEL_SETUP_RULES().
      
  | 
  private | 
Definition at line 76 of file panel_setup_rules.h.
Referenced by onScintillaCharAdded(), and PANEL_SETUP_RULES().
      
  | 
  private | 
Definition at line 75 of file panel_setup_rules.h.
Referenced by onScintillaCharAdded(), and PANEL_SETUP_RULES().
      
  | 
  private | 
Definition at line 64 of file panel_setup_rules.h.
Referenced by onScintillaCharAdded(), and PANEL_SETUP_RULES().
      
  | 
  private | 
Definition at line 65 of file panel_setup_rules.h.
Referenced by onScintillaCharAdded(), and PANEL_SETUP_RULES().
      
  | 
  private | 
Definition at line 62 of file panel_setup_rules.h.
Referenced by onCharHook(), TransferDataFromWindow(), and TransferDataToWindow().
      
  | 
  private | 
Definition at line 73 of file panel_setup_rules.h.
Referenced by onScintillaCharAdded(), and PANEL_SETUP_RULES().
      
  | 
  private | 
Definition at line 72 of file panel_setup_rules.h.
Referenced by onScintillaCharAdded(), and PANEL_SETUP_RULES().
      
  | 
  private | 
Definition at line 68 of file panel_setup_rules.h.
Referenced by onScintillaCharAdded(), and PANEL_SETUP_RULES().
      
  | 
  private | 
Definition at line 69 of file panel_setup_rules.h.
Referenced by onScintillaCharAdded(), and PANEL_SETUP_RULES().
      
  | 
  private | 
Definition at line 61 of file panel_setup_rules.h.
Referenced by onScintillaCharAdded(), PANEL_SETUP_RULES(), and ~PANEL_SETUP_RULES().
      
  | 
  private | 
Definition at line 71 of file panel_setup_rules.h.
Referenced by onScintillaCharAdded(), and PANEL_SETUP_RULES().
      
  | 
  protectedinherited | 
Definition at line 44 of file panel_setup_rules_base.h.
Referenced by PANEL_SETUP_RULES_BASE(), and ~PANEL_SETUP_RULES_BASE().
      
  | 
  protectedinherited | 
Definition at line 46 of file panel_setup_rules_base.h.
Referenced by PANEL_SETUP_RULES::ImportSettingsFrom(), PANEL_SETUP_RULES::onCharHook(), PANEL_SETUP_RULES::OnCompile(), PANEL_SETUP_RULES::OnContextMenu(), PANEL_SETUP_RULES::OnErrorLinkClicked(), PANEL_SETUP_RULES::onScintillaCharAdded(), PANEL_SETUP_RULES::PANEL_SETUP_RULES(), PANEL_SETUP_RULES_BASE(), PANEL_SETUP_RULES::TransferDataFromWindow(), PANEL_SETUP_RULES::TransferDataToWindow(), PANEL_SETUP_RULES::~PANEL_SETUP_RULES(), and ~PANEL_SETUP_RULES_BASE().
      
  | 
  protectedinherited | 
Definition at line 43 of file panel_setup_rules_base.h.
Referenced by PANEL_SETUP_RULES_BASE().
      
  | 
  protectedinherited | 
Definition at line 45 of file panel_setup_rules_base.h.
Referenced by PANEL_SETUP_RULES_BASE().
      
  | 
  private | 
Definition at line 66 of file panel_setup_rules.h.
Referenced by onScintillaCharAdded(), and PANEL_SETUP_RULES().
      
  | 
  private | 
Definition at line 67 of file panel_setup_rules.h.
Referenced by onScintillaCharAdded(), and PANEL_SETUP_RULES().
      
  | 
  private | 
Definition at line 77 of file panel_setup_rules.h.
Referenced by onScintillaCharAdded(), and PANEL_SETUP_RULES().
      
  | 
  private | 
Definition at line 74 of file panel_setup_rules.h.
Referenced by onScintillaCharAdded(), and PANEL_SETUP_RULES().