43 m_editFrame( nullptr ),
45 m_drcDialog( nullptr ),
73 bool show_dlg_modal =
true;
81 show_dlg_modal =
false;
133 bool aReportAllTrackErrors,
bool aTestFootprints )
144 bool netlistFetched =
false;
151 aProgressReporter->
AdvancePhase(
_(
"Refilling all zones..." ) );
158 if( aTestFootprints && !
Kiface().IsSingle() )
161 "fully annotated schematic." ) ) )
163 netlistFetched =
true;
172 m_drcEngine->SetProgressReporter( aProgressReporter );
175 [&](
const std::shared_ptr<DRC_ITEM>& aItem,
VECTOR2I aPos,
int aLayer )
179 commit.Add( marker );
192 if( aTestFootprints && netlistFetched )
KIFACE_BASE & Kiface()
Global KIFACE_BASE "get" accessor.
static TOOL_ACTION excludeMarker
static TOOL_ACTION nextMarker
static TOOL_ACTION prevMarker
std::shared_ptr< DRC_ENGINE > m_DRCEngine
BOARD_DESIGN_SETTINGS & GetDesignSettings() const
void SetFootprintTestsRun()
Called after running Footprint Tests.
void UpdateData()
Rebuild the contents of the violation tabs based on the current markers and severties.
void SetDrcRun()
Called after running DRC.
void SelectMarker(const PCB_MARKER *aMarker)
bool Show(bool show) override
KICAD_T Type() const
Returns the type of object.
static const TOOL_EVENT SelectedEvent
static const TOOL_EVENT PointSelectedEvent
Store information read from a netlist along with the flags used to update the NETLIST in the BOARD.
static TOOL_ACTION selectionClear
Clear the current selection.
static TOOL_ACTION runDRC
PCB_DRAW_PANEL_GAL * GetCanvas() const override
Return a pointer to GAL-based canvas of given EDA draw frame.
DS_PROXY_VIEW_ITEM * GetDrawingSheet() const
void ResolveDRCExclusions(bool aCreateMarkers)
If aCreateMarkers then create DRC exclusion markers from the serialized data.
bool FetchNetlistFromSchematic(NETLIST &aNetlist, const wxString &aAnnotateMessage)
A progress reporter interface for use in multi-threaded environments.
virtual bool IsCancelled() const =0
virtual void AdvancePhase()=0
Use the next available virtual zone of the dialog progress bar.
virtual unsigned int GetSize() const override
Return the number of stored items.
EDA_UNITS GetUserUnits() const
This file contains miscellaneous commonly used macros and functions.
@ PCB_MARKER_T
class PCB_MARKER, a marker used to show something