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

The drill chart's own settings in the generated table dialog: which holes it reports, the totals row, the board's hole grouping and template import and export. More...

#include <panel_drill_chart_options.h>

Inheritance diagram for PANEL_DRILL_CHART_OPTIONS:
PANEL_DRILL_CHART_OPTIONS_BASE GENERATED_TABLE_OPTIONS_PANEL

Public Member Functions

 PANEL_DRILL_CHART_OPTIONS (wxWindow *aParent)
 
void TransferToWindow (const PCB_GENERATED_TABLE &aTable) override
 
bool TransferFromWindow (PCB_GENERATED_TABLE &aTable, GENERATED_TABLE_REFRESH &aRefresh) override
 Applies to the table. Board state goes into aRefresh so Cancel leaves the board alone.
 

Public Attributes

std::function< std::optional< GENERATED_TABLE_FORMAT >()> m_GetFormat
 The dialog's columns, units and precision as edited so far, or nothing when a grid edit is invalid.
 
std::function< void(const GENERATED_TABLE_FORMAT &)> m_SetFormat
 Hands the dialog a new column set, units and precision, e.g. from an imported template.
 

Protected Attributes

wxCheckBox * m_filterPlated
 
wxCheckBox * m_filterNonPlated
 
wxCheckBox * m_filterVias
 
wxCheckBox * m_filterSlots
 
wxCheckBox * m_filterBackdrills
 
wxCheckBox * m_filterCastellated
 
wxCheckBox * m_showTotals
 
wxCheckListBox * m_groupByList
 
wxButton * m_importTemplateButton
 
wxButton * m_exportTemplateButton
 

Private Member Functions

void onImportTemplate (wxCommandEvent &aEvent) override
 
void onExportTemplate (wxCommandEvent &aEvent) override
 

Detailed Description

The drill chart's own settings in the generated table dialog: which holes it reports, the totals row, the board's hole grouping and template import and export.

Definition at line 30 of file panel_drill_chart_options.h.

Constructor & Destructor Documentation

◆ PANEL_DRILL_CHART_OPTIONS()

PANEL_DRILL_CHART_OPTIONS::PANEL_DRILL_CHART_OPTIONS ( wxWindow * aParent)
explicit

Member Function Documentation

◆ onExportTemplate()

◆ onImportTemplate()

◆ TransferFromWindow()

◆ TransferToWindow()

Member Data Documentation

◆ m_exportTemplateButton

wxButton* PANEL_DRILL_CHART_OPTIONS_BASE::m_exportTemplateButton
protectedinherited

◆ m_filterBackdrills

wxCheckBox* PANEL_DRILL_CHART_OPTIONS_BASE::m_filterBackdrills
protectedinherited

◆ m_filterCastellated

wxCheckBox* PANEL_DRILL_CHART_OPTIONS_BASE::m_filterCastellated
protectedinherited

◆ m_filterNonPlated

wxCheckBox* PANEL_DRILL_CHART_OPTIONS_BASE::m_filterNonPlated
protectedinherited

◆ m_filterPlated

wxCheckBox* PANEL_DRILL_CHART_OPTIONS_BASE::m_filterPlated
protectedinherited

◆ m_filterSlots

wxCheckBox* PANEL_DRILL_CHART_OPTIONS_BASE::m_filterSlots
protectedinherited

◆ m_filterVias

wxCheckBox* PANEL_DRILL_CHART_OPTIONS_BASE::m_filterVias
protectedinherited

◆ m_GetFormat

std::function<std::optional<GENERATED_TABLE_FORMAT>()> GENERATED_TABLE_OPTIONS_PANEL::m_GetFormat
inherited

The dialog's columns, units and precision as edited so far, or nothing when a grid edit is invalid.

Definition at line 62 of file dialog_generated_table_properties.h.

Referenced by PANEL_DRILL_CHART_OPTIONS::onExportTemplate().

◆ m_groupByList

wxCheckListBox* PANEL_DRILL_CHART_OPTIONS_BASE::m_groupByList
protectedinherited

◆ m_importTemplateButton

wxButton* PANEL_DRILL_CHART_OPTIONS_BASE::m_importTemplateButton
protectedinherited

◆ m_SetFormat

std::function<void( const GENERATED_TABLE_FORMAT& )> GENERATED_TABLE_OPTIONS_PANEL::m_SetFormat
inherited

Hands the dialog a new column set, units and precision, e.g. from an imported template.

Definition at line 65 of file dialog_generated_table_properties.h.

Referenced by PANEL_DRILL_CHART_OPTIONS::onImportTemplate().

◆ m_showTotals


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