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

#include <lib_table_notebook_panel.h>

Inheritance diagram for LIB_TABLE_NOTEBOOK_PANEL:
PANEL_NOTEBOOK_BASE

Public Member Functions

 LIB_TABLE_NOTEBOOK_PANEL (wxWindow *parent, wxWindowID id=wxID_ANY)
 
 ~LIB_TABLE_NOTEBOOK_PANEL () override
 
bool GetCanClose () override
 
WX_GRIDGetGrid ()
 
LIB_TABLE_GRID_DATA_MODELGetModel ()
 
bool TableModified ()
 
bool SaveTable ()
 
void MarkDirty ()
 
void ClearDirty ()
 
void SetProjectTied (bool aYes)
 
bool GetProjectTied ()
 
void SetClosable (bool aYes)
 
bool GetClosable () const
 

Static Public Member Functions

static void AddTable (wxAuiNotebook *aNotebook, const wxString &aTitle, bool aClosable)
 

Private Member Functions

void onGridCellChanging (wxGridEvent &aEvent)
 

Private Attributes

wxString m_baseTitle
 
bool m_closable = false
 
bool m_projectTied = false
 

Detailed Description

Definition at line 27 of file lib_table_notebook_panel.h.

Constructor & Destructor Documentation

◆ LIB_TABLE_NOTEBOOK_PANEL()

LIB_TABLE_NOTEBOOK_PANEL::LIB_TABLE_NOTEBOOK_PANEL ( wxWindow * parent,
wxWindowID id = wxID_ANY )
inline

Definition at line 30 of file lib_table_notebook_panel.h.

References PANEL_NOTEBOOK_BASE::PANEL_NOTEBOOK_BASE().

Referenced by AddTable().

◆ ~LIB_TABLE_NOTEBOOK_PANEL()

LIB_TABLE_NOTEBOOK_PANEL::~LIB_TABLE_NOTEBOOK_PANEL ( )
override

Definition at line 29 of file lib_table_notebook_panel.cpp.

References GetGrid(), and onGridCellChanging().

Member Function Documentation

◆ AddTable()

void LIB_TABLE_NOTEBOOK_PANEL::AddTable ( wxAuiNotebook * aNotebook,
const wxString & aTitle,
bool aClosable )
static

◆ ClearDirty()

void LIB_TABLE_NOTEBOOK_PANEL::ClearDirty ( )

Definition at line 107 of file lib_table_notebook_panel.cpp.

References m_baseTitle.

Referenced by PANEL_SYM_LIB_TABLE::onReset(), and SaveTable().

◆ GetCanClose()

◆ GetClosable()

bool PANEL_NOTEBOOK_BASE::GetClosable ( ) const
inlineinherited

◆ GetGrid()

◆ GetModel()

LIB_TABLE_GRID_DATA_MODEL * LIB_TABLE_NOTEBOOK_PANEL::GetModel ( )
inline

Definition at line 58 of file lib_table_notebook_panel.h.

References GetGrid().

Referenced by onGridCellChanging(), SaveTable(), and TableModified().

◆ GetProjectTied()

bool PANEL_NOTEBOOK_BASE::GetProjectTied ( )
inlineinherited

Definition at line 38 of file panel_notebook_base.h.

References m_projectTied.

◆ MarkDirty()

void LIB_TABLE_NOTEBOOK_PANEL::MarkDirty ( )

◆ onGridCellChanging()

void LIB_TABLE_NOTEBOOK_PANEL::onGridCellChanging ( wxGridEvent & aEvent)
private

◆ SaveTable()

bool LIB_TABLE_NOTEBOOK_PANEL::SaveTable ( )

◆ SetClosable()

void PANEL_NOTEBOOK_BASE::SetClosable ( bool aYes)
inlineinherited

◆ SetProjectTied()

void PANEL_NOTEBOOK_BASE::SetProjectTied ( bool aYes)
inlineinherited

Definition at line 37 of file panel_notebook_base.h.

References m_projectTied.

Referenced by KICAD_MANAGER_FRAME::OpenJobsFile().

◆ TableModified()

Member Data Documentation

◆ m_baseTitle

wxString LIB_TABLE_NOTEBOOK_PANEL::m_baseTitle
private

Definition at line 74 of file lib_table_notebook_panel.h.

Referenced by AddTable(), ClearDirty(), and MarkDirty().

◆ m_closable

bool PANEL_NOTEBOOK_BASE::m_closable = false
privateinherited

Definition at line 46 of file panel_notebook_base.h.

Referenced by GetClosable(), and SetClosable().

◆ m_projectTied

bool PANEL_NOTEBOOK_BASE::m_projectTied = false
privateinherited

Definition at line 47 of file panel_notebook_base.h.

Referenced by GetProjectTied(), and SetProjectTied().


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