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 onGridRightClick (wxGridEvent &event) override
 
void onAddEmbeddedFile (wxCommandEvent &event) override
 
void onDeleteEmbeddedFile (wxCommandEvent &event) override
 
void onExportFiles (wxCommandEvent &event) override
 
void onSize (wxSizeEvent &event) override
 

Protected Attributes

WX_GRIDm_files_grid
 
STD_BITMAP_BUTTONm_browse_button
 
STD_BITMAP_BUTTONm_delete_button
 
wxButton * m_export
 
wxStaticLine * m_staticline1
 
wxCheckBox * m_cbEmbedFonts
 

Private Member Functions

void resizeGrid ()
 

Private Attributes

EMBEDDED_FILESm_files
 
EMBEDDED_FILESm_localFiles
 

Detailed Description

Definition at line 31 of file panel_embedded_files.h.

Constructor & Destructor Documentation

◆ PANEL_EMBEDDED_FILES()

◆ ~PANEL_EMBEDDED_FILES()

PANEL_EMBEDDED_FILES::~PANEL_EMBEDDED_FILES ( )
inlineoverride

Definition at line 35 of file panel_embedded_files.h.

Member Function Documentation

◆ GetEmbedFonts()

bool PANEL_EMBEDDED_FILES::GetEmbedFonts ( ) const
inline

Definition at line 39 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

◆ onGridRightClick()

void PANEL_EMBEDDED_FILES::onGridRightClick ( wxGridEvent &  event)
overrideprotectedvirtual

Reimplemented from PANEL_EMBEDDED_FILES_BASE.

Definition at line 84 of file panel_embedded_files.cpp.

References _, and PANEL_EMBEDDED_FILES_BASE::m_files_grid.

◆ onSize()

void PANEL_EMBEDDED_FILES::onSize ( wxSizeEvent &  event)
overrideprotectedvirtual

Reimplemented from PANEL_EMBEDDED_FILES_BASE.

Definition at line 58 of file panel_embedded_files.cpp.

References resizeGrid().

◆ resizeGrid()

void PANEL_EMBEDDED_FILES::resizeGrid ( )
private

Definition at line 64 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

wxCheckBox* PANEL_EMBEDDED_FILES_BASE::m_cbEmbedFonts
protectedinherited

◆ 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

◆ m_staticline1

wxStaticLine* PANEL_EMBEDDED_FILES_BASE::m_staticline1
protectedinherited

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