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

Settings only one kind of generated table has, shown below the shared column grid. More...

#include <dialog_generated_table_properties.h>

Inheritance diagram for GENERATED_TABLE_OPTIONS_PANEL:
PANEL_DRILL_CHART_OPTIONS_BASE PANEL_DRILL_CHART_OPTIONS

Public Member Functions

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.
 

Detailed Description

Settings only one kind of generated table has, shown below the shared column grid.

Definition at line 51 of file dialog_generated_table_properties.h.

Member Function Documentation

◆ TransferFromWindow()

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

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 virtual

Implemented in PANEL_DRILL_CHART_OPTIONS.

Member Data Documentation

◆ m_GetFormat

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

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_SetFormat

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

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().


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