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

#include <filedlg_hook_save_project.h>

Inheritance diagram for FILEDLG_HOOK_SAVE_PROJECT:

Public Member Functions

 FILEDLG_HOOK_SAVE_PROJECT ()
 
virtual void AddCustomControls (wxFileDialogCustomize &customizer) override
 
virtual void TransferDataFromCustomControls () override
 Gets the selected state of the create new project option.
 
bool GetCreateNewProject () const
 Gets if this hook has attached controls to a dialog box.
 
bool IsAttachedToDialog () const
 
 FILEDLG_HOOK_SAVE_PROJECT ()
 
virtual void AddCustomControls (wxFileDialogCustomize &customizer) override
 
virtual void TransferDataFromCustomControls () override
 Gets the selected state of the create new project option.
 
bool GetCreateNewProject () const
 Gets if this hook has attached controls to a dialog box.
 
bool IsAttachedToDialog () const
 

Private Member Functions

 wxDECLARE_NO_COPY_CLASS (FILEDLG_HOOK_SAVE_PROJECT)
 
 wxDECLARE_NO_COPY_CLASS (FILEDLG_HOOK_SAVE_PROJECT)
 

Private Attributes

bool m_createNewProject = true
 
bool m_controlsAttached = false
 
wxFileDialogCheckBox * m_cb = nullptr
 

Detailed Description

Definition at line 25 of file eeschema/widgets/filedlg_hook_save_project.h.

Constructor & Destructor Documentation

◆ FILEDLG_HOOK_SAVE_PROJECT() [1/2]

FILEDLG_HOOK_SAVE_PROJECT::FILEDLG_HOOK_SAVE_PROJECT ( )
inline

Definition at line 28 of file eeschema/widgets/filedlg_hook_save_project.h.

◆ FILEDLG_HOOK_SAVE_PROJECT() [2/2]

FILEDLG_HOOK_SAVE_PROJECT::FILEDLG_HOOK_SAVE_PROJECT ( )
inline

Definition at line 28 of file pcbnew/widgets/filedlg_hook_save_project.h.

Member Function Documentation

◆ AddCustomControls() [1/2]

virtual void FILEDLG_HOOK_SAVE_PROJECT::AddCustomControls ( wxFileDialogCustomize &  customizer)
inlineoverridevirtual

Definition at line 30 of file eeschema/widgets/filedlg_hook_save_project.h.

References _, m_cb, and m_controlsAttached.

◆ AddCustomControls() [2/2]

virtual void FILEDLG_HOOK_SAVE_PROJECT::AddCustomControls ( wxFileDialogCustomize &  customizer)
inlineoverridevirtual

Definition at line 30 of file pcbnew/widgets/filedlg_hook_save_project.h.

References _, m_cb, and m_controlsAttached.

◆ GetCreateNewProject() [1/2]

bool FILEDLG_HOOK_SAVE_PROJECT::GetCreateNewProject ( ) const
inline

Gets if this hook has attached controls to a dialog box.

Definition at line 44 of file eeschema/widgets/filedlg_hook_save_project.h.

References m_createNewProject.

Referenced by AskSaveBoardFileName(), and SCH_EDIT_FRAME::SaveProject().

◆ GetCreateNewProject() [2/2]

bool FILEDLG_HOOK_SAVE_PROJECT::GetCreateNewProject ( ) const
inline

Gets if this hook has attached controls to a dialog box.

Definition at line 44 of file pcbnew/widgets/filedlg_hook_save_project.h.

References m_createNewProject.

◆ IsAttachedToDialog() [1/2]

bool FILEDLG_HOOK_SAVE_PROJECT::IsAttachedToDialog ( ) const
inline

◆ IsAttachedToDialog() [2/2]

bool FILEDLG_HOOK_SAVE_PROJECT::IsAttachedToDialog ( ) const
inline

Definition at line 47 of file pcbnew/widgets/filedlg_hook_save_project.h.

References m_controlsAttached.

◆ TransferDataFromCustomControls() [1/2]

virtual void FILEDLG_HOOK_SAVE_PROJECT::TransferDataFromCustomControls ( )
inlineoverridevirtual

Gets the selected state of the create new project option.

Definition at line 38 of file eeschema/widgets/filedlg_hook_save_project.h.

References m_cb, and m_createNewProject.

◆ TransferDataFromCustomControls() [2/2]

virtual void FILEDLG_HOOK_SAVE_PROJECT::TransferDataFromCustomControls ( )
inlineoverridevirtual

Gets the selected state of the create new project option.

Definition at line 38 of file pcbnew/widgets/filedlg_hook_save_project.h.

References m_cb, and m_createNewProject.

◆ wxDECLARE_NO_COPY_CLASS() [1/2]

FILEDLG_HOOK_SAVE_PROJECT::wxDECLARE_NO_COPY_CLASS ( FILEDLG_HOOK_SAVE_PROJECT  )
private

◆ wxDECLARE_NO_COPY_CLASS() [2/2]

FILEDLG_HOOK_SAVE_PROJECT::wxDECLARE_NO_COPY_CLASS ( FILEDLG_HOOK_SAVE_PROJECT  )
private

Member Data Documentation

◆ m_cb

wxFileDialogCheckBox * FILEDLG_HOOK_SAVE_PROJECT::m_cb = nullptr
private

◆ m_controlsAttached

bool FILEDLG_HOOK_SAVE_PROJECT::m_controlsAttached = false
private

◆ m_createNewProject

bool FILEDLG_HOOK_SAVE_PROJECT::m_createNewProject = true
private

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