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

#include <filedlg_hook_embed_file.h>

Inheritance diagram for FILEDLG_HOOK_EMBED_FILE:

Public Member Functions

 FILEDLG_HOOK_EMBED_FILE (bool aDefaultEmbed=true, EMBED_FILE_CONTEXT aContext=EMBED_FILE_CONTEXT::NONE)
 
virtual void AddCustomControls (wxFileDialogCustomize &customizer) override
 
virtual void TransferDataFromCustomControls () override
 
bool GetEmbed () const
 

Private Member Functions

 wxDECLARE_NO_COPY_CLASS (FILEDLG_HOOK_EMBED_FILE)
 

Static Private Member Functions

static bool & choiceRef (COMMON_SETTINGS *aCfg, EMBED_FILE_CONTEXT aContext)
 

Private Attributes

EMBED_FILE_CONTEXT m_context
 
bool m_embed
 
wxFileDialogCheckBox * m_cb = nullptr
 

Detailed Description

Definition at line 39 of file filedlg_hook_embed_file.h.

Constructor & Destructor Documentation

◆ FILEDLG_HOOK_EMBED_FILE()

FILEDLG_HOOK_EMBED_FILE::FILEDLG_HOOK_EMBED_FILE ( bool aDefaultEmbed = true,
EMBED_FILE_CONTEXT aContext = EMBED_FILE_CONTEXT::NONE )
inline

Definition at line 42 of file filedlg_hook_embed_file.h.

References choiceRef(), m_context, m_embed, NONE, and Pgm().

Referenced by wxDECLARE_NO_COPY_CLASS().

Member Function Documentation

◆ AddCustomControls()

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

Definition at line 53 of file filedlg_hook_embed_file.h.

References _, m_cb, and m_embed.

◆ choiceRef()

◆ GetEmbed()

◆ TransferDataFromCustomControls()

virtual void FILEDLG_HOOK_EMBED_FILE::TransferDataFromCustomControls ( )
inlineoverridevirtual

Definition at line 63 of file filedlg_hook_embed_file.h.

References choiceRef(), m_cb, m_context, m_embed, NONE, and Pgm().

◆ wxDECLARE_NO_COPY_CLASS()

FILEDLG_HOOK_EMBED_FILE::wxDECLARE_NO_COPY_CLASS ( FILEDLG_HOOK_EMBED_FILE )
private

Member Data Documentation

◆ m_cb

wxFileDialogCheckBox* FILEDLG_HOOK_EMBED_FILE::m_cb = nullptr
private

Definition at line 93 of file filedlg_hook_embed_file.h.

Referenced by AddCustomControls(), and TransferDataFromCustomControls().

◆ m_context

EMBED_FILE_CONTEXT FILEDLG_HOOK_EMBED_FILE::m_context
private

◆ m_embed

bool FILEDLG_HOOK_EMBED_FILE::m_embed
private

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