| 
    KiCad PCB EDA Suite
    
   | 
 
#include <panel_jobset.h>
  
Public Member Functions | |
| PANEL_JOBSET (wxAuiNotebook *aParent, KICAD_MANAGER_FRAME *aFrame, std::unique_ptr< JOBSET > aJobsFile) | |
| ~PANEL_JOBSET () | |
| void | RemoveDestination (PANEL_DESTINATION *aPanel) | 
| void | EnsurePcbSchFramesOpen () | 
| wxString | GetFilePath () const | 
| void | UpdateTitle () | 
| JOBSET * | GetJobsFile () | 
| bool | OpenJobOptionsForListItem (size_t aItemIndex) | 
| void | OnJobButtonDelete (wxCommandEvent &aEvent) override | 
| std::vector< PANEL_DESTINATION * > | GetDestinationPanels () | 
| virtual bool | canWindowClose () | 
| virtual void | doWindowClose () | 
| void | SetProjectTied (bool aYes) | 
| bool | GetProjectTied () | 
| void | SetClosable (bool aYes) | 
| bool | GetClosable () const | 
Protected Member Functions | |
| virtual void | OnSizeGrid (wxSizeEvent &aEvent) override | 
| virtual void | OnAddJobClick (wxCommandEvent &aEvent) override | 
| virtual void | OnAddDestinationClick (wxCommandEvent &aEvent) override | 
| virtual void | OnSaveButtonClick (wxCommandEvent &aEvent) override | 
| virtual void | OnJobButtonUp (wxCommandEvent &aEvent) override | 
| virtual void | OnJobButtonDown (wxCommandEvent &aEvent) override | 
| virtual void | OnGenerateAllDestinationsClick (wxCommandEvent &event) override | 
| virtual void | OnGridCellChange (wxGridEvent &aEvent) override | 
| bool | GetCanClose () override | 
Protected Attributes | |
| WX_GRID * | m_jobsGrid | 
| STD_BITMAP_BUTTON * | m_buttonAddJob | 
| STD_BITMAP_BUTTON * | m_buttonUp | 
| STD_BITMAP_BUTTON * | m_buttonDown | 
| STD_BITMAP_BUTTON * | m_buttonDelete | 
| wxScrolledWindow * | m_destinationList | 
| wxBoxSizer * | m_destinationListSizer | 
| STD_BITMAP_BUTTON * | m_buttonAddDestination | 
| wxButton * | m_buttonSave | 
| wxButton * | m_buttonGenerateAllDestinations | 
Private Member Functions | |
| void | rebuildJobList () | 
| void | buildDestinationList () | 
| void | addDestinationPanel (JOBSET_DESTINATION *aDestination) | 
Private Attributes | |
| wxAuiNotebook * | m_parentBook | 
| KICAD_MANAGER_FRAME * | m_frame | 
| std::unique_ptr< JOBSET > | m_jobsFile | 
| bool | m_closable = false | 
| bool | m_projectTied = false | 
Definition at line 68 of file panel_jobset.h.
| PANEL_JOBSET::PANEL_JOBSET | ( | wxAuiNotebook * | aParent, | 
| KICAD_MANAGER_FRAME * | aFrame, | ||
| std::unique_ptr< JOBSET > | aJobsFile ) | 
Definition at line 505 of file panel_jobset.cpp.
References buildDestinationList(), COL_NUMBER, COL_SOURCE, KiBitmapBundle(), PANEL_JOBSET_BASE::m_buttonAddDestination, PANEL_JOBSET_BASE::m_buttonAddJob, PANEL_JOBSET_BASE::m_buttonDelete, PANEL_JOBSET_BASE::m_buttonDown, PANEL_JOBSET_BASE::m_buttonUp, m_frame, m_jobsFile, PANEL_JOBSET_BASE::m_jobsGrid, m_parentBook, move, PANEL_JOBSET_BASE::PANEL_JOBSET_BASE(), rebuildJobList(), small_down, small_plus, small_trash, and small_up.
| PANEL_JOBSET::~PANEL_JOBSET | ( | ) | 
Definition at line 532 of file panel_jobset.cpp.
References PANEL_JOBSET_BASE::m_jobsGrid.
      
  | 
  private | 
Definition at line 608 of file panel_jobset.cpp.
References PANEL_JOBSET_BASE::m_destinationList, PANEL_JOBSET_BASE::m_destinationListSizer, m_frame, and m_jobsFile.
Referenced by buildDestinationList(), and OnAddDestinationClick().
      
  | 
  private | 
Definition at line 637 of file panel_jobset.cpp.
References addDestinationPanel(), and m_jobsFile.
Referenced by PANEL_JOBSET().
      
  | 
  inlinevirtualinherited | 
Definition at line 37 of file panel_notebook_base.h.
      
  | 
  inlinevirtualinherited | 
Definition at line 38 of file panel_notebook_base.h.
| void PANEL_JOBSET::EnsurePcbSchFramesOpen | ( | ) | 
Definition at line 867 of file panel_jobset.cpp.
References FRAME_PCB_EDITOR, FRAME_SCH, FILEEXT::KiCadSchematicFileExtension, m_frame, KIWAY_PLAYER::OpenProjectFiles(), and project.
Referenced by OnGenerateAllDestinationsClick(), and OpenJobOptionsForListItem().
      
  | 
  overrideprotectedvirtual | 
Reimplemented from PANEL_NOTEBOOK_BASE.
Definition at line 846 of file panel_jobset.cpp.
References _, HandleUnsavedChanges(), and m_jobsFile.
      
  | 
  inlineinherited | 
Definition at line 44 of file panel_notebook_base.h.
References m_closable.
| std::vector< PANEL_DESTINATION * > PANEL_JOBSET::GetDestinationPanels | ( | ) | 
Definition at line 623 of file panel_jobset.cpp.
References PANEL_JOBSET_BASE::m_destinationListSizer.
Referenced by OnGenerateAllDestinationsClick(), and rebuildJobList().
| wxString PANEL_JOBSET::GetFilePath | ( | ) | const | 
Definition at line 919 of file panel_jobset.cpp.
References m_jobsFile.
      
  | 
  inline | 
Definition at line 83 of file panel_jobset.h.
References m_jobsFile.
      
  | 
  inlineinherited | 
Definition at line 41 of file panel_notebook_base.h.
References m_projectTied.
      
  | 
  overrideprotectedvirtual | 
Reimplemented from PANEL_JOBSET_BASE.
Definition at line 799 of file panel_jobset.cpp.
References _, addDestinationPanel(), EDA_LIST_DIALOG::GetTextSelection(), EDA_LIST_DIALOG::HideFilter(), JobsetDestinationTypeInfos, m_frame, m_jobsFile, EDA_LIST_DIALOG::SetListLabel(), and DIALOG_SHIM::ShowModal().
      
  | 
  overrideprotectedvirtual | 
Reimplemented from PANEL_JOBSET_BASE.
Definition at line 717 of file panel_jobset.cpp.
References _, JOB_REGISTRY::CreateInstance(), JOB_REGISTRY::GetRegistry(), EDA_LIST_DIALOG::GetTextSelection(), m_jobsFile, PANEL_JOBSET_BASE::m_jobsGrid, OpenJobOptionsForListItem(), rebuildJobList(), EDA_LIST_DIALOG::SetListLabel(), and DIALOG_SHIM::ShowModal().
      
  | 
  overrideprotectedvirtual | 
Reimplemented from PANEL_JOBSET_BASE.
Definition at line 971 of file panel_jobset.cpp.
References _, DisplayError(), EnsurePcbSchFramesOpen(), GetDestinationPanels(), NULL_REPORTER::GetInstance(), m_frame, m_jobsFile, PANEL_JOBSET_BASE::m_jobsGrid, project, Refresh(), and JOBS_RUNNER::RunJobsAllDestinations().
      
  | 
  overrideprotectedvirtual | 
Reimplemented from PANEL_JOBSET_BASE.
Definition at line 697 of file panel_jobset.cpp.
References COL_DESCR, m_jobsFile, and PANEL_JOBSET_BASE::m_jobsGrid.
      
  | 
  overridevirtual | 
Reimplemented from PANEL_JOBSET_BASE.
Definition at line 788 of file panel_jobset.cpp.
References m_jobsFile, and PANEL_JOBSET_BASE::m_jobsGrid.
      
  | 
  overrideprotectedvirtual | 
Reimplemented from PANEL_JOBSET_BASE.
Definition at line 948 of file panel_jobset.cpp.
References m_jobsFile, PANEL_JOBSET_BASE::m_jobsGrid, and rebuildJobList().
      
  | 
  overrideprotectedvirtual | 
Reimplemented from PANEL_JOBSET_BASE.
Definition at line 925 of file panel_jobset.cpp.
References m_jobsFile, PANEL_JOBSET_BASE::m_jobsGrid, and rebuildJobList().
      
  | 
  overrideprotectedvirtual | 
Reimplemented from PANEL_JOBSET_BASE.
Definition at line 707 of file panel_jobset.cpp.
References m_jobsFile, PANEL_JOBSET_BASE::m_jobsGrid, and UpdateTitle().
      
  | 
  overrideprotectedvirtual | 
Reimplemented from PANEL_JOBSET_BASE.
Definition at line 1014 of file panel_jobset.cpp.
References COL_DESCR, COL_NUMBER, COL_SOURCE, and PANEL_JOBSET_BASE::m_jobsGrid.
| bool PANEL_JOBSET::OpenJobOptionsForListItem | ( | size_t | aItemIndex | ) | 
Definition at line 650 of file panel_jobset.cpp.
References EnsurePcbSchFramesOpen(), JOB_REGISTRY::GetKifaceType(), JOB::GetType(), KIWAY::KIWAY_FACE_COUNT, m_frame, JOBSET_JOB::m_job, m_jobsFile, JOBSET_JOB::m_type, DIALOG_SHIM::ShowModal(), DIALOG_SHIM::ShowQuasiModal(), and UpdateTitle().
Referenced by OnAddJobClick().
      
  | 
  private | 
Definition at line 554 of file panel_jobset.cpp.
References COL_DESCR, COL_NUMBER, COL_SOURCE, KIWAY::FACE_PCB, KIWAY::FACE_SCH, GetDestinationPanels(), JOB_REGISTRY::GetKifaceType(), KIWAY::KIWAY_FACE_COUNT, m_jobsFile, PANEL_JOBSET_BASE::m_jobsGrid, and UpdateTitle().
Referenced by OnAddJobClick(), OnJobButtonDown(), OnJobButtonUp(), and PANEL_JOBSET().
| void PANEL_JOBSET::RemoveDestination | ( | PANEL_DESTINATION * | aPanel | ) | 
Definition at line 539 of file panel_jobset.cpp.
References PANEL_DESTINATION::GetDestination(), PANEL_JOBSET_BASE::m_destinationList, PANEL_JOBSET_BASE::m_destinationListSizer, and m_jobsFile.
      
  | 
  inlineinherited | 
Definition at line 43 of file panel_notebook_base.h.
References m_closable.
Referenced by KICAD_MANAGER_FRAME::OpenJobsFile().
      
  | 
  inlineinherited | 
Definition at line 40 of file panel_notebook_base.h.
References m_projectTied.
Referenced by KICAD_MANAGER_FRAME::OpenJobsFile().
| void PANEL_JOBSET::UpdateTitle | ( | ) | 
Definition at line 594 of file panel_jobset.cpp.
References m_jobsFile, and m_parentBook.
Referenced by OnSaveButtonClick(), OpenJobOptionsForListItem(), and rebuildJobList().
      
  | 
  protectedinherited | 
Definition at line 56 of file panel_jobset_base.h.
Referenced by PANEL_JOBSET::PANEL_JOBSET(), PANEL_JOBSET_BASE(), and ~PANEL_JOBSET_BASE().
      
  | 
  protectedinherited | 
Definition at line 50 of file panel_jobset_base.h.
Referenced by PANEL_JOBSET::PANEL_JOBSET(), PANEL_JOBSET_BASE(), and ~PANEL_JOBSET_BASE().
      
  | 
  protectedinherited | 
Definition at line 53 of file panel_jobset_base.h.
Referenced by PANEL_JOBSET::PANEL_JOBSET(), PANEL_JOBSET_BASE(), and ~PANEL_JOBSET_BASE().
      
  | 
  protectedinherited | 
Definition at line 52 of file panel_jobset_base.h.
Referenced by PANEL_JOBSET::PANEL_JOBSET(), PANEL_JOBSET_BASE(), and ~PANEL_JOBSET_BASE().
      
  | 
  protectedinherited | 
Definition at line 58 of file panel_jobset_base.h.
Referenced by PANEL_JOBSET_BASE(), and ~PANEL_JOBSET_BASE().
      
  | 
  protectedinherited | 
Definition at line 57 of file panel_jobset_base.h.
Referenced by PANEL_JOBSET_BASE(), and ~PANEL_JOBSET_BASE().
      
  | 
  protectedinherited | 
Definition at line 51 of file panel_jobset_base.h.
Referenced by PANEL_JOBSET::PANEL_JOBSET(), PANEL_JOBSET_BASE(), and ~PANEL_JOBSET_BASE().
      
  | 
  privateinherited | 
Definition at line 49 of file panel_notebook_base.h.
Referenced by GetClosable(), and SetClosable().
      
  | 
  protectedinherited | 
Definition at line 54 of file panel_jobset_base.h.
Referenced by PANEL_JOBSET::addDestinationPanel(), PANEL_JOBSET_BASE(), and PANEL_JOBSET::RemoveDestination().
      
  | 
  protectedinherited | 
Definition at line 55 of file panel_jobset_base.h.
Referenced by PANEL_JOBSET::addDestinationPanel(), PANEL_JOBSET::GetDestinationPanels(), PANEL_JOBSET_BASE(), and PANEL_JOBSET::RemoveDestination().
      
  | 
  private | 
Definition at line 109 of file panel_jobset.h.
Referenced by addDestinationPanel(), EnsurePcbSchFramesOpen(), OnAddDestinationClick(), OnGenerateAllDestinationsClick(), OpenJobOptionsForListItem(), and PANEL_JOBSET().
      
  | 
  private | 
Definition at line 110 of file panel_jobset.h.
Referenced by addDestinationPanel(), buildDestinationList(), GetCanClose(), GetFilePath(), GetJobsFile(), OnAddDestinationClick(), OnAddJobClick(), OnGenerateAllDestinationsClick(), OnGridCellChange(), OnJobButtonDelete(), OnJobButtonDown(), OnJobButtonUp(), OnSaveButtonClick(), OpenJobOptionsForListItem(), PANEL_JOBSET(), rebuildJobList(), RemoveDestination(), and UpdateTitle().
      
  | 
  protectedinherited | 
Definition at line 49 of file panel_jobset_base.h.
Referenced by PANEL_JOBSET::OnAddJobClick(), PANEL_JOBSET::OnGenerateAllDestinationsClick(), PANEL_JOBSET::OnGridCellChange(), PANEL_JOBSET::OnJobButtonDelete(), PANEL_JOBSET::OnJobButtonDown(), PANEL_JOBSET::OnJobButtonUp(), PANEL_JOBSET::OnSaveButtonClick(), PANEL_JOBSET::OnSizeGrid(), PANEL_JOBSET::PANEL_JOBSET(), PANEL_JOBSET_BASE(), PANEL_JOBSET::rebuildJobList(), PANEL_JOBSET::~PANEL_JOBSET(), and ~PANEL_JOBSET_BASE().
      
  | 
  private | 
Definition at line 108 of file panel_jobset.h.
Referenced by PANEL_JOBSET(), and UpdateTitle().
      
  | 
  privateinherited | 
Definition at line 50 of file panel_notebook_base.h.
Referenced by GetProjectTied(), and SetProjectTied().