KiCad PCB EDA Suite
dialog_erc.cpp File Reference
#include <fctsys.h>
#include <gestfich.h>
#include <pgm_base.h>
#include <sch_screen.h>
#include <sch_edit_frame.h>
#include <invoke_sch_dialog.h>
#include <project.h>
#include <kiface_i.h>
#include <bitmaps.h>
#include <reporter.h>
#include <wildcards_and_files_ext.h>
#include <sch_view.h>
#include <netlist_object.h>
#include <sch_marker.h>
#include <sch_component.h>
#include <connection_graph.h>
#include <tools/ee_actions.h>
#include <tool/tool_manager.h>
#include <dialog_erc.h>
#include <erc.h>
#include <id.h>
#include <confirm.h>
#include <wx/ffile.h>
#include <erc_item.h>
#include <eeschema_settings.h>

Go to the source code of this file.

Functions

wxDialog * InvokeDialogERC (SCH_EDIT_FRAME *aCaller)
 Create the modeless DIALOG_ERC and show it, return something to destroy or close it. More...
 

Variables

static int RPT_SEVERITY_ALL = RPT_SEVERITY_WARNING | RPT_SEVERITY_ERROR | RPT_SEVERITY_EXCLUSION
 

Function Documentation

◆ InvokeDialogERC()

wxDialog* InvokeDialogERC ( SCH_EDIT_FRAME aCaller)

Create the modeless DIALOG_ERC and show it, return something to destroy or close it.

The dialog will have ID_DIALOG_ERC from id.h

Definition at line 618 of file dialog_erc.cpp.

619 {
620  // This is a modeless dialog, so new it rather than instantiating on stack.
621  DIALOG_ERC* dlg = new DIALOG_ERC( aCaller );
622 
623  dlg->Show( true );
624 
625  return dlg; // wxDialog is information hiding about DIALOG_ERC.
626 }
bool Show(bool show) override

References DIALOG_SHIM::Show().

Referenced by EE_INSPECTION_TOOL::RunERC().

Variable Documentation

◆ RPT_SEVERITY_ALL

Definition at line 143 of file dialog_erc.cpp.

Referenced by DIALOG_ERC::OnSeverity(), and DIALOG_ERC::syncCheckboxes().