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

#include <panel_embedded_files.h>

Inheritance diagram for PANEL_EMBEDDED_FILES:
PANEL_EMBEDDED_FILES_BASE

Public Member Functions

 PANEL_EMBEDDED_FILES (wxWindow *parent, EMBEDDED_FILES *aFiles)
 
 ~PANEL_EMBEDDED_FILES () override
 
bool TransferDataFromWindow () override
 
bool TransferDataToWindow () override
 
bool GetEmbedFonts () const
 

Protected Member Functions

void onFontEmbedClick (wxCommandEvent &event) override
 
void onAddEmbeddedFile (wxCommandEvent &event) override
 
void onDeleteEmbeddedFile (wxCommandEvent &event) override
 
void onExportFiles (wxCommandEvent &event) override
 
void onSize (wxSizeEvent &event) override
 
virtual void onGridRightClick (wxGridEvent &event)
 

Protected Attributes

WX_GRIDm_files_grid
 
STD_BITMAP_BUTTONm_browse_button
 
STD_BITMAP_BUTTONm_delete_button
 
wxCheckBox * m_cbEmbedFonts
 
wxButton * m_export
 

Private Member Functions

void resizeGrid ()
 

Private Attributes

EMBEDDED_FILESm_files
 
EMBEDDED_FILESm_localFiles
 

Detailed Description

Definition at line 56 of file panel_embedded_files.h.

Constructor & Destructor Documentation

◆ PANEL_EMBEDDED_FILES()

◆ ~PANEL_EMBEDDED_FILES()

PANEL_EMBEDDED_FILES::~PANEL_EMBEDDED_FILES ( )
override

Definition at line 109 of file panel_embedded_files.cpp.

References PANEL_EMBEDDED_FILES_BASE::m_files_grid.

Member Function Documentation

◆ GetEmbedFonts()

bool PANEL_EMBEDDED_FILES::GetEmbedFonts ( ) const
inline

Definition at line 64 of file panel_embedded_files.h.

References PANEL_EMBEDDED_FILES_BASE::m_cbEmbedFonts.

◆ onAddEmbeddedFile()

void PANEL_EMBEDDED_FILES::onAddEmbeddedFile ( wxCommandEvent &  event)
overrideprotectedvirtual

◆ onDeleteEmbeddedFile()

void PANEL_EMBEDDED_FILES::onDeleteEmbeddedFile ( wxCommandEvent &  event)
overrideprotectedvirtual

◆ onExportFiles()

void PANEL_EMBEDDED_FILES::onExportFiles ( wxCommandEvent &  event)
overrideprotectedvirtual

◆ onFontEmbedClick()

◆ onGridRightClick()

virtual void PANEL_EMBEDDED_FILES_BASE::onGridRightClick ( wxGridEvent &  event)
inlineprotectedvirtualinherited

◆ onSize()

void PANEL_EMBEDDED_FILES::onSize ( wxSizeEvent &  event)
overrideprotectedvirtual

Reimplemented from PANEL_EMBEDDED_FILES_BASE.

Definition at line 116 of file panel_embedded_files.cpp.

References resizeGrid().

◆ resizeGrid()

void PANEL_EMBEDDED_FILES::resizeGrid ( )
private

Definition at line 122 of file panel_embedded_files.cpp.

References PANEL_EMBEDDED_FILES_BASE::m_files_grid.

Referenced by onSize(), and TransferDataToWindow().

◆ TransferDataFromWindow()

◆ TransferDataToWindow()

Member Data Documentation

◆ m_browse_button

STD_BITMAP_BUTTON* PANEL_EMBEDDED_FILES_BASE::m_browse_button
protectedinherited

◆ m_cbEmbedFonts

◆ m_delete_button

STD_BITMAP_BUTTON* PANEL_EMBEDDED_FILES_BASE::m_delete_button
protectedinherited

◆ m_export

wxButton* PANEL_EMBEDDED_FILES_BASE::m_export
protectedinherited

◆ m_files

EMBEDDED_FILES* PANEL_EMBEDDED_FILES::m_files
private

◆ m_files_grid

◆ m_localFiles


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