KiCad PCB EDA Suite
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages Concepts
PANEL_JOBSET_BASE Class Reference

Class PANEL_JOBSET_BASE. More...

#include <panel_jobset_base.h>

Inheritance diagram for PANEL_JOBSET_BASE:
PANEL_NOTEBOOK_BASE PANEL_JOBSET

Public Member Functions

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

Protected Member Functions

virtual void OnGridCellChange (wxGridEvent &event)
 
virtual void OnSizeGrid (wxSizeEvent &event)
 
virtual void OnAddJobClick (wxCommandEvent &event)
 
virtual void OnJobButtonUp (wxCommandEvent &event)
 
virtual void OnJobButtonDown (wxCommandEvent &event)
 
virtual void OnJobButtonDelete (wxCommandEvent &event)
 
virtual void OnAddDestinationClick (wxCommandEvent &event)
 
virtual void OnSaveButtonClick (wxCommandEvent &event)
 
virtual void OnGenerateAllDestinationsClick (wxCommandEvent &event)
 

Protected Attributes

WX_GRIDm_jobsGrid
 
STD_BITMAP_BUTTONm_buttonAddJob
 
STD_BITMAP_BUTTONm_buttonUp
 
STD_BITMAP_BUTTONm_buttonDown
 
STD_BITMAP_BUTTONm_buttonDelete
 
wxScrolledWindow * m_destinationList
 
wxBoxSizer * m_destinationListSizer
 
STD_BITMAP_BUTTONm_buttonAddDestination
 
wxButton * m_buttonSave
 
wxButton * m_buttonGenerateAllDestinations
 

Private Attributes

bool m_closable = false
 
bool m_projectTied = false
 

Detailed Description

Class PANEL_JOBSET_BASE.

Definition at line 44 of file panel_jobset_base.h.

Constructor & Destructor Documentation

◆ PANEL_JOBSET_BASE()

PANEL_JOBSET_BASE::PANEL_JOBSET_BASE ( wxWindow *  parent,
wxWindowID  id = wxID_ANY,
const wxPoint &  pos = wxDefaultPosition,
const wxSize &  size = wxSize( 600,400 ),
long  style = wxTAB_TRAVERSAL,
const wxString &  name = wxEmptyString 
)

◆ ~PANEL_JOBSET_BASE()

Member Function Documentation

◆ canWindowClose()

virtual bool PANEL_NOTEBOOK_BASE::canWindowClose ( )
inlinevirtualinherited

Definition at line 37 of file panel_notebook_base.h.

◆ doWindowClose()

virtual void PANEL_NOTEBOOK_BASE::doWindowClose ( )
inlinevirtualinherited

Definition at line 38 of file panel_notebook_base.h.

◆ GetCanClose()

virtual bool PANEL_NOTEBOOK_BASE::GetCanClose ( )
inlinevirtualinherited

Reimplemented in PANEL_JOBSET.

Definition at line 46 of file panel_notebook_base.h.

◆ GetClosable()

bool PANEL_NOTEBOOK_BASE::GetClosable ( ) const
inlineinherited

Definition at line 44 of file panel_notebook_base.h.

References PANEL_NOTEBOOK_BASE::m_closable.

◆ GetProjectTied()

bool PANEL_NOTEBOOK_BASE::GetProjectTied ( )
inlineinherited

Definition at line 41 of file panel_notebook_base.h.

References PANEL_NOTEBOOK_BASE::m_projectTied.

◆ OnAddDestinationClick()

virtual void PANEL_JOBSET_BASE::OnAddDestinationClick ( wxCommandEvent &  event)
inlineprotectedvirtual

Reimplemented in PANEL_JOBSET.

Definition at line 67 of file panel_jobset_base.h.

Referenced by PANEL_JOBSET_BASE(), and ~PANEL_JOBSET_BASE().

◆ OnAddJobClick()

virtual void PANEL_JOBSET_BASE::OnAddJobClick ( wxCommandEvent &  event)
inlineprotectedvirtual

Reimplemented in PANEL_JOBSET.

Definition at line 63 of file panel_jobset_base.h.

Referenced by PANEL_JOBSET_BASE(), and ~PANEL_JOBSET_BASE().

◆ OnGenerateAllDestinationsClick()

virtual void PANEL_JOBSET_BASE::OnGenerateAllDestinationsClick ( wxCommandEvent &  event)
inlineprotectedvirtual

Reimplemented in PANEL_JOBSET.

Definition at line 69 of file panel_jobset_base.h.

Referenced by PANEL_JOBSET_BASE(), and ~PANEL_JOBSET_BASE().

◆ OnGridCellChange()

virtual void PANEL_JOBSET_BASE::OnGridCellChange ( wxGridEvent &  event)
inlineprotectedvirtual

Reimplemented in PANEL_JOBSET.

Definition at line 61 of file panel_jobset_base.h.

Referenced by PANEL_JOBSET_BASE(), and ~PANEL_JOBSET_BASE().

◆ OnJobButtonDelete()

virtual void PANEL_JOBSET_BASE::OnJobButtonDelete ( wxCommandEvent &  event)
inlineprotectedvirtual

Reimplemented in PANEL_JOBSET.

Definition at line 66 of file panel_jobset_base.h.

Referenced by PANEL_JOBSET_BASE(), and ~PANEL_JOBSET_BASE().

◆ OnJobButtonDown()

virtual void PANEL_JOBSET_BASE::OnJobButtonDown ( wxCommandEvent &  event)
inlineprotectedvirtual

Reimplemented in PANEL_JOBSET.

Definition at line 65 of file panel_jobset_base.h.

Referenced by PANEL_JOBSET_BASE(), and ~PANEL_JOBSET_BASE().

◆ OnJobButtonUp()

virtual void PANEL_JOBSET_BASE::OnJobButtonUp ( wxCommandEvent &  event)
inlineprotectedvirtual

Reimplemented in PANEL_JOBSET.

Definition at line 64 of file panel_jobset_base.h.

Referenced by PANEL_JOBSET_BASE(), and ~PANEL_JOBSET_BASE().

◆ OnSaveButtonClick()

virtual void PANEL_JOBSET_BASE::OnSaveButtonClick ( wxCommandEvent &  event)
inlineprotectedvirtual

Reimplemented in PANEL_JOBSET.

Definition at line 68 of file panel_jobset_base.h.

Referenced by PANEL_JOBSET_BASE(), and ~PANEL_JOBSET_BASE().

◆ OnSizeGrid()

virtual void PANEL_JOBSET_BASE::OnSizeGrid ( wxSizeEvent &  event)
inlineprotectedvirtual

Reimplemented in PANEL_JOBSET.

Definition at line 62 of file panel_jobset_base.h.

Referenced by PANEL_JOBSET_BASE(), and ~PANEL_JOBSET_BASE().

◆ SetClosable()

void PANEL_NOTEBOOK_BASE::SetClosable ( bool  aYes)
inlineinherited

Definition at line 43 of file panel_notebook_base.h.

References PANEL_NOTEBOOK_BASE::m_closable.

Referenced by KICAD_MANAGER_FRAME::OpenJobsFile().

◆ SetProjectTied()

void PANEL_NOTEBOOK_BASE::SetProjectTied ( bool  aYes)
inlineinherited

Member Data Documentation

◆ m_buttonAddDestination

STD_BITMAP_BUTTON* PANEL_JOBSET_BASE::m_buttonAddDestination
protected

◆ m_buttonAddJob

STD_BITMAP_BUTTON* PANEL_JOBSET_BASE::m_buttonAddJob
protected

◆ m_buttonDelete

STD_BITMAP_BUTTON* PANEL_JOBSET_BASE::m_buttonDelete
protected

◆ m_buttonDown

STD_BITMAP_BUTTON* PANEL_JOBSET_BASE::m_buttonDown
protected

◆ m_buttonGenerateAllDestinations

wxButton* PANEL_JOBSET_BASE::m_buttonGenerateAllDestinations
protected

Definition at line 58 of file panel_jobset_base.h.

Referenced by PANEL_JOBSET_BASE(), and ~PANEL_JOBSET_BASE().

◆ m_buttonSave

wxButton* PANEL_JOBSET_BASE::m_buttonSave
protected

Definition at line 57 of file panel_jobset_base.h.

Referenced by PANEL_JOBSET_BASE(), and ~PANEL_JOBSET_BASE().

◆ m_buttonUp

STD_BITMAP_BUTTON* PANEL_JOBSET_BASE::m_buttonUp
protected

◆ m_closable

bool PANEL_NOTEBOOK_BASE::m_closable = false
privateinherited

◆ m_destinationList

wxScrolledWindow* PANEL_JOBSET_BASE::m_destinationList
protected

◆ m_destinationListSizer

wxBoxSizer* PANEL_JOBSET_BASE::m_destinationListSizer
protected

◆ m_jobsGrid

◆ m_projectTied

bool PANEL_NOTEBOOK_BASE::m_projectTied = false
privateinherited

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