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 the selected state of the copy subsheets option.
 
bool GetCopySubsheets () const
 Gets the selected state of the include external sheets option.
 
bool GetIncludeExternSheets () 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_copySubsheets = true
 
bool m_includeExternal = false
 
bool m_controlsAttached = false
 
wxFileDialogCheckBox * m_cb = nullptr
 
wxFileDialogChoice * m_choice = 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

◆ 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, m_choice, 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.

◆ GetCopySubsheets()

bool FILEDLG_HOOK_SAVE_PROJECT::GetCopySubsheets ( ) const
inline

Gets the selected state of the include external sheets option.

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

References m_copySubsheets.

Referenced by SCH_EDIT_FRAME::SaveProject().

◆ GetCreateNewProject() [1/2]

bool FILEDLG_HOOK_SAVE_PROJECT::GetCreateNewProject ( ) const
inline

Gets the selected state of the copy subsheets option.

Definition at line 58 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 48 of file pcbnew/widgets/filedlg_hook_save_project.h.

References m_createNewProject.

◆ GetIncludeExternSheets()

bool FILEDLG_HOOK_SAVE_PROJECT::GetIncludeExternSheets ( ) const
inline

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

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

References m_includeExternal.

Referenced by SCH_EDIT_FRAME::SaveProject().

◆ 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 51 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 50 of file eeschema/widgets/filedlg_hook_save_project.h.

References m_cb, m_choice, m_copySubsheets, m_createNewProject, and m_includeExternal.

◆ TransferDataFromCustomControls() [2/2]

virtual void FILEDLG_HOOK_SAVE_PROJECT::TransferDataFromCustomControls ( )
inlineoverridevirtual

Gets the selected state of the create new project option.

Definition at line 42 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_choice

wxFileDialogChoice* FILEDLG_HOOK_SAVE_PROJECT::m_choice = nullptr
private

◆ m_controlsAttached

bool FILEDLG_HOOK_SAVE_PROJECT::m_controlsAttached = false
private

◆ m_copySubsheets

bool FILEDLG_HOOK_SAVE_PROJECT::m_copySubsheets = true
private

◆ m_createNewProject

bool FILEDLG_HOOK_SAVE_PROJECT::m_createNewProject = true
private

◆ m_includeExternal

bool FILEDLG_HOOK_SAVE_PROJECT::m_includeExternal = false
private

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