KiCad PCB EDA Suite
|
#include <panel_embedded_files.h>
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_GRID * | m_files_grid |
STD_BITMAP_BUTTON * | m_browse_button |
STD_BITMAP_BUTTON * | m_delete_button |
wxCheckBox * | m_cbEmbedFonts |
wxButton * | m_export |
Private Member Functions | |
void | resizeGrid () |
Private Attributes | |
EMBEDDED_FILES * | m_files |
EMBEDDED_FILES * | m_localFiles |
Definition at line 56 of file panel_embedded_files.h.
PANEL_EMBEDDED_FILES::PANEL_EMBEDDED_FILES | ( | wxWindow * | parent, |
EMBEDDED_FILES * | aFiles | ||
) |
Definition at line 90 of file panel_embedded_files.cpp.
References EMBEDDED_FILES::AddFile(), EMBEDDED_FILES::EmbeddedFileMap(), WX_GRID::EnableAlternateRowColors(), KiBitmapBundle(), PANEL_EMBEDDED_FILES_BASE::m_browse_button, PANEL_EMBEDDED_FILES_BASE::m_delete_button, m_files, PANEL_EMBEDDED_FILES_BASE::m_files_grid, m_localFiles, name, and STD_BITMAP_BUTTON::SetBitmap().
|
override |
Definition at line 109 of file panel_embedded_files.cpp.
References PANEL_EMBEDDED_FILES_BASE::m_files_grid.
|
inline |
Definition at line 64 of file panel_embedded_files.h.
References PANEL_EMBEDDED_FILES_BASE::m_cbEmbedFonts.
|
overrideprotectedvirtual |
Reimplemented from PANEL_EMBEDDED_FILES_BASE.
Definition at line 258 of file panel_embedded_files.cpp.
References _, EMBEDDED_FILES::AddFile(), EMBEDDED_FILES::EMBEDDED_FILE::GetLink(), EMBEDDED_FILES::HasFile(), PANEL_EMBEDDED_FILES_BASE::m_files_grid, m_localFiles, name, and KIDIALOG::ShowModal().
|
overrideprotectedvirtual |
Reimplemented from PANEL_EMBEDDED_FILES_BASE.
Definition at line 308 of file panel_embedded_files.cpp.
References PANEL_EMBEDDED_FILES_BASE::m_files_grid, m_localFiles, name, and EMBEDDED_FILES::RemoveFile().
|
overrideprotectedvirtual |
Reimplemented from PANEL_EMBEDDED_FILES_BASE.
Definition at line 328 of file panel_embedded_files.cpp.
References _, KIDIALOG::DoNotShowCheckbox(), EMBEDDED_FILES::EmbeddedFileMap(), m_localFiles, name, path, KIDIALOG::SetOKCancelLabels(), and KIDIALOG::ShowModal().
|
overrideprotectedvirtual |
Reimplemented from PANEL_EMBEDDED_FILES_BASE.
Definition at line 191 of file panel_embedded_files.cpp.
References EMBEDDED_FILES::AddFile(), EMBEDDED_FILES::EMBEDDED_FILE::FONT, fonts, EMBEDDED_FILES::GetEmbeddedFile(), EMBEDDED_FILES::GetFonts(), EMBEDDED_FILES::EMBEDDED_FILE::GetLink(), PANEL_EMBEDDED_FILES_BASE::m_cbEmbedFonts, m_files, PANEL_EMBEDDED_FILES_BASE::m_files_grid, m_localFiles, name, EMBEDDED_FILES::EMBEDDED_FILE::name, EMBEDDED_FILES::RemoveFile(), and EMBEDDED_FILES::EMBEDDED_FILE::type.
|
inlineprotectedvirtualinherited |
Definition at line 49 of file panel_embedded_files_base.h.
Referenced by PANEL_EMBEDDED_FILES_BASE::PANEL_EMBEDDED_FILES_BASE(), and PANEL_EMBEDDED_FILES_BASE::~PANEL_EMBEDDED_FILES_BASE().
|
overrideprotectedvirtual |
Reimplemented from PANEL_EMBEDDED_FILES_BASE.
Definition at line 116 of file panel_embedded_files.cpp.
References 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().
|
override |
Definition at line 169 of file panel_embedded_files.cpp.
References EMBEDDED_FILES::AddFile(), EMBEDDED_FILES::ClearEmbeddedFiles(), EMBEDDED_FILES::EmbeddedFileMap(), PANEL_EMBEDDED_FILES_BASE::m_cbEmbedFonts, m_files, m_localFiles, EMBEDDED_FILES::RemoveFile(), and EMBEDDED_FILES::SetAreFontsEmbedded().
Referenced by DIALOG_LIB_SYMBOL_PROPERTIES::TransferDataFromWindow(), and DIALOG_FOOTPRINT_PROPERTIES::TransferDataFromWindow().
|
override |
Definition at line 142 of file panel_embedded_files.cpp.
References EMBEDDED_FILES::EmbeddedFileMap(), EMBEDDED_FILES::GetAreFontsEmbedded(), PANEL_EMBEDDED_FILES_BASE::m_cbEmbedFonts, m_files, PANEL_EMBEDDED_FILES_BASE::m_files_grid, m_localFiles, name, and resizeGrid().
Referenced by DIALOG_LIB_SYMBOL_PROPERTIES::TransferDataToWindow(), and DIALOG_FOOTPRINT_PROPERTIES::TransferDataToWindow().
|
protectedinherited |
Definition at line 42 of file panel_embedded_files_base.h.
Referenced by PANEL_EMBEDDED_FILES(), PANEL_EMBEDDED_FILES_BASE::PANEL_EMBEDDED_FILES_BASE(), and PANEL_EMBEDDED_FILES_BASE::~PANEL_EMBEDDED_FILES_BASE().
|
protectedinherited |
Definition at line 44 of file panel_embedded_files_base.h.
Referenced by GetEmbedFonts(), onFontEmbedClick(), PANEL_EMBEDDED_FILES_BASE::PANEL_EMBEDDED_FILES_BASE(), TransferDataFromWindow(), TransferDataToWindow(), and PANEL_EMBEDDED_FILES_BASE::~PANEL_EMBEDDED_FILES_BASE().
|
protectedinherited |
Definition at line 43 of file panel_embedded_files_base.h.
Referenced by PANEL_EMBEDDED_FILES(), PANEL_EMBEDDED_FILES_BASE::PANEL_EMBEDDED_FILES_BASE(), and PANEL_EMBEDDED_FILES_BASE::~PANEL_EMBEDDED_FILES_BASE().
|
protectedinherited |
Definition at line 45 of file panel_embedded_files_base.h.
Referenced by PANEL_EMBEDDED_FILES_BASE::PANEL_EMBEDDED_FILES_BASE(), and PANEL_EMBEDDED_FILES_BASE::~PANEL_EMBEDDED_FILES_BASE().
|
private |
Definition at line 77 of file panel_embedded_files.h.
Referenced by onFontEmbedClick(), PANEL_EMBEDDED_FILES(), TransferDataFromWindow(), and TransferDataToWindow().
|
protectedinherited |
Definition at line 41 of file panel_embedded_files_base.h.
Referenced by onAddEmbeddedFile(), onDeleteEmbeddedFile(), onFontEmbedClick(), PANEL_EMBEDDED_FILES(), PANEL_EMBEDDED_FILES_BASE::PANEL_EMBEDDED_FILES_BASE(), resizeGrid(), TransferDataToWindow(), ~PANEL_EMBEDDED_FILES(), and PANEL_EMBEDDED_FILES_BASE::~PANEL_EMBEDDED_FILES_BASE().
|
private |
Definition at line 78 of file panel_embedded_files.h.
Referenced by onAddEmbeddedFile(), onDeleteEmbeddedFile(), onExportFiles(), onFontEmbedClick(), PANEL_EMBEDDED_FILES(), TransferDataFromWindow(), and TransferDataToWindow().