KiCad PCB EDA Suite
Loading...
Searching...
No Matches
EDIT_TABLE_TOOL_BASE< T_TABLE, T_TABLECELL, T_COMMIT > Class Template Referenceabstract

SCH_TABLE_EDIT_TOOL and PCB_TABLE_EDIT_TOOL share most of their algorithms, which are implemented here. More...

#include <edit_table_tool_base.h>

Protected Member Functions

void addMenus (CONDITIONAL_MENU &selToolMenu)
 
int doAddRowAbove (const TOOL_EVENT &aEvent)
 
int doAddRowBelow (const TOOL_EVENT &aEvent)
 
int doAddColumnBefore (const TOOL_EVENT &aEvent)
 
int doAddColumnAfter (const TOOL_EVENT &aEvent)
 
int doDeleteRows (const TOOL_EVENT &aEvent)
 
int doDeleteColumns (const TOOL_EVENT &aEvent)
 
int doMergeCells (const TOOL_EVENT &aEvent)
 
int doUnmergeCells (const TOOL_EVENT &aEvent)
 
virtual TOOL_MANAGERgetToolMgr ()=0
 
virtual BASE_SCREENgetScreen ()=0
 
virtual const SELECTIONgetTableCellSelection ()=0
 
virtual void clearSelection ()=0
 
virtual T_TABLECELL * copyCell (T_TABLECELL *aSource)=0
 

Detailed Description

template<typename T_TABLE, typename T_TABLECELL, typename T_COMMIT>
class EDIT_TABLE_TOOL_BASE< T_TABLE, T_TABLECELL, T_COMMIT >

SCH_TABLE_EDIT_TOOL and PCB_TABLE_EDIT_TOOL share most of their algorithms, which are implemented here.

Definition at line 42 of file edit_table_tool_base.h.

Member Function Documentation

◆ addMenus()

◆ clearSelection()

template<typename T_TABLE , typename T_TABLECELL , typename T_COMMIT >
virtual void EDIT_TABLE_TOOL_BASE< T_TABLE, T_TABLECELL, T_COMMIT >::clearSelection ( )
protectedpure virtual

◆ copyCell()

template<typename T_TABLE , typename T_TABLECELL , typename T_COMMIT >
virtual T_TABLECELL * EDIT_TABLE_TOOL_BASE< T_TABLE, T_TABLECELL, T_COMMIT >::copyCell ( T_TABLECELL *  aSource)
protectedpure virtual

◆ doAddColumnAfter()

◆ doAddColumnBefore()

◆ doAddRowAbove()

◆ doAddRowBelow()

◆ doDeleteColumns()

◆ doDeleteRows()

◆ doMergeCells()

◆ doUnmergeCells()

template<typename T_TABLE , typename T_TABLECELL , typename T_COMMIT >
int EDIT_TABLE_TOOL_BASE< T_TABLE, T_TABLECELL, T_COMMIT >::doUnmergeCells ( const TOOL_EVENT aEvent)
inlineprotected

◆ getScreen()

◆ getTableCellSelection()

◆ getToolMgr()


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