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

#include <panel_notebook_base.h>

Inheritance diagram for PANEL_NOTEBOOK_BASE:
PANEL_JOBS_BASE PANEL_KICAD_LAUNCHER_BASE PANEL_JOBS PANEL_KICAD_LAUNCHER

Public Member Functions

 PANEL_NOTEBOOK_BASE (wxWindow *parent, wxWindowID id=wxID_ANY, const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxSize(-1, -1), long style=wxTAB_TRAVERSAL, const wxString &name=wxEmptyString)
 
virtual bool canWindowClose ()
 
virtual void doWindowClose ()
 
void SetProjectTied (bool aYes)
 
bool GetProjectTied ()
 
void SetClosable (bool aYes)
 
bool GetClosable () const
 
virtual bool GetCanClose ()
 

Private Attributes

bool m_closable = false
 
bool m_projectTied = false
 

Detailed Description

Definition at line 25 of file panel_notebook_base.h.

Constructor & Destructor Documentation

◆ PANEL_NOTEBOOK_BASE()

PANEL_NOTEBOOK_BASE::PANEL_NOTEBOOK_BASE ( wxWindow *  parent,
wxWindowID  id = wxID_ANY,
const wxPoint &  pos = wxDefaultPosition,
const wxSize &  size = wxSize( -1, -1 ),
long  style = wxTAB_TRAVERSAL,
const wxString &  name = wxEmptyString 
)
inline

Definition at line 28 of file panel_notebook_base.h.

Member Function Documentation

◆ canWindowClose()

virtual bool PANEL_NOTEBOOK_BASE::canWindowClose ( )
inlinevirtual

Definition at line 37 of file panel_notebook_base.h.

◆ doWindowClose()

virtual void PANEL_NOTEBOOK_BASE::doWindowClose ( )
inlinevirtual

Definition at line 38 of file panel_notebook_base.h.

◆ GetCanClose()

virtual bool PANEL_NOTEBOOK_BASE::GetCanClose ( )
inlinevirtual

◆ GetClosable()

bool PANEL_NOTEBOOK_BASE::GetClosable ( ) const
inline

Definition at line 44 of file panel_notebook_base.h.

References m_closable.

Referenced by KICAD_MANAGER_FRAME::onNotebookPageCloseRequest().

◆ GetProjectTied()

bool PANEL_NOTEBOOK_BASE::GetProjectTied ( )
inline

Definition at line 41 of file panel_notebook_base.h.

References m_projectTied.

Referenced by KICAD_MANAGER_FRAME::CloseProject().

◆ SetClosable()

void PANEL_NOTEBOOK_BASE::SetClosable ( bool  aYes)
inline

◆ SetProjectTied()

void PANEL_NOTEBOOK_BASE::SetProjectTied ( bool  aYes)
inline

Definition at line 40 of file panel_notebook_base.h.

References m_projectTied.

Referenced by KICAD_MANAGER_FRAME::OpenJobsFile().

Member Data Documentation

◆ m_closable

bool PANEL_NOTEBOOK_BASE::m_closable = false
private

Definition at line 49 of file panel_notebook_base.h.

Referenced by GetClosable(), and SetClosable().

◆ m_projectTied

bool PANEL_NOTEBOOK_BASE::m_projectTied = false
private

Definition at line 50 of file panel_notebook_base.h.

Referenced by GetProjectTied(), and SetProjectTied().


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