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 | 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_GRID * | m_files_grid |
STD_BITMAP_BUTTON * | m_browse_button |
STD_BITMAP_BUTTON * | m_delete_button |
wxButton * | m_export |
wxStaticLine * | m_staticline1 |
wxCheckBox * | m_cbEmbedFonts |
Private Member Functions | |
void | resizeGrid () |
Private Attributes | |
EMBEDDED_FILES * | m_files |
EMBEDDED_FILES * | m_localFiles |
Definition at line 31 of file panel_embedded_files.h.
PANEL_EMBEDDED_FILES::PANEL_EMBEDDED_FILES | ( | wxWindow * | parent, |
EMBEDDED_FILES * | aFiles | ||
) |
Definition at line 38 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().
|
inlineoverride |
Definition at line 35 of file panel_embedded_files.h.
|
inline |
Definition at line 39 of file panel_embedded_files.h.
References PANEL_EMBEDDED_FILES_BASE::m_cbEmbedFonts.
|
overrideprotectedvirtual |
Reimplemented from PANEL_EMBEDDED_FILES_BASE.
Definition at line 157 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 208 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 228 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 84 of file panel_embedded_files.cpp.
References _, and PANEL_EMBEDDED_FILES_BASE::m_files_grid.
|
overrideprotectedvirtual |
Reimplemented from PANEL_EMBEDDED_FILES_BASE.
Definition at line 58 of file panel_embedded_files.cpp.
References 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().
|
override |
Definition at line 136 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 109 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 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 47 of file panel_embedded_files_base.h.
Referenced by GetEmbedFonts(), PANEL_EMBEDDED_FILES_BASE::PANEL_EMBEDDED_FILES_BASE(), TransferDataFromWindow(), and TransferDataToWindow().
|
protectedinherited |
Definition at line 44 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 53 of file panel_embedded_files.h.
Referenced by PANEL_EMBEDDED_FILES(), TransferDataFromWindow(), and TransferDataToWindow().
|
protectedinherited |
Definition at line 42 of file panel_embedded_files_base.h.
Referenced by onAddEmbeddedFile(), onDeleteEmbeddedFile(), onGridRightClick(), PANEL_EMBEDDED_FILES(), PANEL_EMBEDDED_FILES_BASE::PANEL_EMBEDDED_FILES_BASE(), resizeGrid(), TransferDataToWindow(), and PANEL_EMBEDDED_FILES_BASE::~PANEL_EMBEDDED_FILES_BASE().
|
private |
Definition at line 54 of file panel_embedded_files.h.
Referenced by onAddEmbeddedFile(), onDeleteEmbeddedFile(), onExportFiles(), PANEL_EMBEDDED_FILES(), TransferDataFromWindow(), and TransferDataToWindow().
|
protectedinherited |
Definition at line 46 of file panel_embedded_files_base.h.
Referenced by PANEL_EMBEDDED_FILES_BASE::PANEL_EMBEDDED_FILES_BASE().