| 
    KiCad PCB EDA Suite
    
   | 
 
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_MANAGER * | getToolMgr ()=0 | 
| virtual BASE_SCREEN * | getScreen ()=0 | 
| virtual const SELECTION & | getTableCellSelection ()=0 | 
| virtual void | clearSelection ()=0 | 
| virtual T_TABLECELL * | copyCell (T_TABLECELL *aSource)=0 | 
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.
      
  | 
  inlineprotected | 
Definition at line 45 of file edit_table_tool_base.h.
References ACTIONS::addColAfter, ACTIONS::addColBefore, CONDITIONAL_MENU::AddItem(), ACTIONS::addRowAbove, ACTIONS::addRowBelow, CONDITIONAL_MENU::AddSeparator(), ACTIONS::deleteColumns, ACTIONS::deleteRows, ACTIONS::editTable, SELECTION_CONDITIONS::Idle(), ACTIONS::mergeCells, SELECTION_CONDITIONS::MoreThan(), SELECTION_CONDITIONS::OnlyTypes(), PCB_TABLECELL_T, SCH_TABLECELL_T, and ACTIONS::unmergeCells.
      
  | 
  protectedpure virtual | 
Implemented in PCB_EDIT_TABLE_TOOL, and SCH_EDIT_TABLE_TOOL.
Referenced by doDeleteColumns(), and doDeleteRows().
      
  | 
  protectedpure virtual | 
Implemented in PCB_EDIT_TABLE_TOOL, and SCH_EDIT_TABLE_TOOL.
Referenced by doAddColumnAfter(), doAddColumnBefore(), doAddRowAbove(), and doAddRowBelow().
      
  | 
  inlineprotected | 
Definition at line 268 of file edit_table_tool_base.h.
References _, copyCell(), getScreen(), getTableCellSelection(), getToolMgr(), TOOL_MANAGER::PostEvent(), EVENTS::SelectedEvent, and table.
      
  | 
  inlineprotected | 
Definition at line 217 of file edit_table_tool_base.h.
References _, copyCell(), getScreen(), getTableCellSelection(), getToolMgr(), TOOL_MANAGER::PostEvent(), EVENTS::SelectedEvent, and table.
      
  | 
  inlineprotected | 
Definition at line 116 of file edit_table_tool_base.h.
References _, copyCell(), getScreen(), getTableCellSelection(), getToolMgr(), TOOL_MANAGER::PostEvent(), EVENTS::SelectedEvent, and table.
      
  | 
  inlineprotected | 
Definition at line 165 of file edit_table_tool_base.h.
References _, copyCell(), SELECTION::Empty(), getScreen(), getTableCellSelection(), getToolMgr(), TOOL_MANAGER::PostEvent(), EVENTS::SelectedEvent, and table.
      
  | 
  inlineprotected | 
Definition at line 396 of file edit_table_tool_base.h.
References _, clearSelection(), SELECTION::Empty(), getScreen(), getTableCellSelection(), getToolMgr(), TOOL_MANAGER::PostEvent(), EVENTS::SelectedEvent, STRUCT_DELETED, and table.
      
  | 
  inlineprotected | 
Definition at line 319 of file edit_table_tool_base.h.
References _, clearSelection(), SELECTION::Empty(), getScreen(), getTableCellSelection(), getToolMgr(), TOOL_MANAGER::PostEvent(), EVENTS::SelectedEvent, STRUCT_DELETED, and table.
      
  | 
  inlineprotected | 
Definition at line 474 of file edit_table_tool_base.h.
References _, SELECTION::Empty(), getScreen(), getTableCellSelection(), getToolMgr(), TOOL_MANAGER::PostEvent(), EVENTS::SelectedEvent, table, VECTOR2< T >::x, and VECTOR2< T >::y.
      
  | 
  inlineprotected | 
Definition at line 543 of file edit_table_tool_base.h.
References _, SELECTION::Empty(), getScreen(), getTableCellSelection(), getToolMgr(), TOOL_MANAGER::PostEvent(), EVENTS::SelectedEvent, and table.
      
  | 
  protectedpure virtual | 
Implemented in PCB_EDIT_TABLE_TOOL, and SCH_EDIT_TABLE_TOOL.
Referenced by doAddColumnAfter(), doAddColumnBefore(), doAddRowAbove(), doAddRowBelow(), doDeleteColumns(), doDeleteRows(), doMergeCells(), and doUnmergeCells().
      
  | 
  protectedpure virtual | 
Implemented in PCB_EDIT_TABLE_TOOL, and SCH_EDIT_TABLE_TOOL.
Referenced by doAddColumnAfter(), doAddColumnBefore(), doAddRowAbove(), doAddRowBelow(), doDeleteColumns(), doDeleteRows(), doMergeCells(), and doUnmergeCells().
      
  | 
  protectedpure virtual | 
Implemented in PCB_EDIT_TABLE_TOOL, and SCH_EDIT_TABLE_TOOL.
Referenced by doAddColumnAfter(), doAddColumnBefore(), doAddRowAbove(), doAddRowBelow(), doDeleteColumns(), doDeleteRows(), doMergeCells(), and doUnmergeCells().