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 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 Attributes

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 28 of file lib_table_notebook_panel.cpp.

References GetGrid().

Member Function Documentation

◆ AddTable()

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

◆ GetCanClose()

bool LIB_TABLE_NOTEBOOK_PANEL::GetCanClose ( )
overridevirtual

Reimplemented from PANEL_NOTEBOOK_BASE.

Definition at line 110 of file lib_table_notebook_panel.cpp.

References _, GetGrid(), HandleUnsavedChanges(), SaveTable(), and TableModified().

◆ 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 SaveTable(), and TableModified().

◆ GetProjectTied()

bool PANEL_NOTEBOOK_BASE::GetProjectTied ( )
inlineinherited

Definition at line 38 of file panel_notebook_base.h.

References m_projectTied.

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