KiCad PCB EDA Suite
Loading...
Searching...
No Matches
PANEL_DRILL_CHART_OPTIONS_BASE Class Referenceabstract

Class PANEL_DRILL_CHART_OPTIONS_BASE. More...

#include <panel_drill_chart_options_base.h>

Inheritance diagram for PANEL_DRILL_CHART_OPTIONS_BASE:
GENERATED_TABLE_OPTIONS_PANEL PANEL_DRILL_CHART_OPTIONS

Public Member Functions

 PANEL_DRILL_CHART_OPTIONS_BASE (wxWindow *parent, wxWindowID id=wxID_ANY, const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxSize(-1,-1), long style=wxTAB_TRAVERSAL, const wxString &name=wxEmptyString)
 
 ~PANEL_DRILL_CHART_OPTIONS_BASE ()
 
virtual void TransferToWindow (const PCB_GENERATED_TABLE &aTable)=0
 
virtual bool TransferFromWindow (PCB_GENERATED_TABLE &aTable, GENERATED_TABLE_REFRESH &aRefresh)=0
 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 Member Functions

virtual void onImportTemplate (wxCommandEvent &event)
 
virtual void onExportTemplate (wxCommandEvent &event)
 

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
 

Detailed Description

Constructor & Destructor Documentation

◆ PANEL_DRILL_CHART_OPTIONS_BASE()

PANEL_DRILL_CHART_OPTIONS_BASE::PANEL_DRILL_CHART_OPTIONS_BASE ( wxWindow * parent,
wxWindowID id = wxID_ANY,
const wxPoint & pos = wxDefaultPosition,
const wxSize & size = wxSize( -1,-1 ),
long style = wxTAB_TRAVERSAL,
const wxString & name = wxEmptyString )

◆ ~PANEL_DRILL_CHART_OPTIONS_BASE()

PANEL_DRILL_CHART_OPTIONS_BASE::~PANEL_DRILL_CHART_OPTIONS_BASE ( )

Member Function Documentation

◆ onExportTemplate()

virtual void PANEL_DRILL_CHART_OPTIONS_BASE::onExportTemplate ( wxCommandEvent & event)
inlineprotectedvirtual

◆ onImportTemplate()

virtual void PANEL_DRILL_CHART_OPTIONS_BASE::onImportTemplate ( wxCommandEvent & event)
inlineprotectedvirtual

◆ TransferFromWindow()

virtual bool GENERATED_TABLE_OPTIONS_PANEL::TransferFromWindow ( PCB_GENERATED_TABLE & aTable,
GENERATED_TABLE_REFRESH & aRefresh )
pure virtualinherited

Applies to the table. Board state goes into aRefresh so Cancel leaves the board alone.

Implemented in PANEL_DRILL_CHART_OPTIONS.

◆ TransferToWindow()

virtual void GENERATED_TABLE_OPTIONS_PANEL::TransferToWindow ( const PCB_GENERATED_TABLE & aTable)
pure virtualinherited

Implemented in PANEL_DRILL_CHART_OPTIONS.

Member Data Documentation

◆ m_exportTemplateButton

wxButton* PANEL_DRILL_CHART_OPTIONS_BASE::m_exportTemplateButton
protected

◆ m_filterBackdrills

wxCheckBox* PANEL_DRILL_CHART_OPTIONS_BASE::m_filterBackdrills
protected

◆ m_filterCastellated

wxCheckBox* PANEL_DRILL_CHART_OPTIONS_BASE::m_filterCastellated
protected

◆ m_filterNonPlated

wxCheckBox* PANEL_DRILL_CHART_OPTIONS_BASE::m_filterNonPlated
protected

◆ m_filterPlated

wxCheckBox* PANEL_DRILL_CHART_OPTIONS_BASE::m_filterPlated
protected

◆ m_filterSlots

wxCheckBox* PANEL_DRILL_CHART_OPTIONS_BASE::m_filterSlots
protected

◆ m_filterVias

wxCheckBox* PANEL_DRILL_CHART_OPTIONS_BASE::m_filterVias
protected

◆ 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
protected

◆ m_importTemplateButton

wxButton* PANEL_DRILL_CHART_OPTIONS_BASE::m_importTemplateButton
protected

◆ 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: