KiCad PCB EDA Suite
Loading...
Searching...
No Matches
TEXT_BUTTON_FILE_BROWSER Class Reference
Inheritance diagram for TEXT_BUTTON_FILE_BROWSER:

Public Member Functions

 TEXT_BUTTON_FILE_BROWSER (wxWindow *aParent, DIALOG_SHIM *aParentDlg, WX_GRID *aGrid, wxString *aCurrentDir, const wxString &aFileFilter=wxEmptyString, bool aNormalize=false, const wxString &aNormalizeBasePath=wxEmptyString, std::function< wxString(const wxString &)> aEmbedCallback=nullptr)
 
 TEXT_BUTTON_FILE_BROWSER (wxWindow *aParent, DIALOG_SHIM *aParentDlg, WX_GRID *aGrid, wxString *aCurrentDir, std::function< wxString(WX_GRID *grid, int row)> aFileFilterFn, bool aNormalize=false, const wxString &aNormalizeBasePath=wxEmptyString, std::function< wxString(const wxString &)> aEmbedCallback=nullptr)
 

Protected Member Functions

void DoSetPopupControl (wxComboPopup *popup) override
 
void OnButtonClick () override
 

Protected Attributes

DIALOG_SHIMm_dlg
 
WX_GRIDm_grid
 
wxString * m_currentDir
 
bool m_normalize
 
wxString m_normalizeBasePath
 
wxString m_fileFilter
 
std::function< wxString(WX_GRID *aGrid, int aRow)> m_fileFilterFn
 
std::function< wxString(const wxString &)> m_embedCallback
 

Detailed Description

Definition at line 440 of file grid_text_button_helpers.cpp.

Constructor & Destructor Documentation

◆ TEXT_BUTTON_FILE_BROWSER() [1/2]

TEXT_BUTTON_FILE_BROWSER::TEXT_BUTTON_FILE_BROWSER ( wxWindow * aParent,
DIALOG_SHIM * aParentDlg,
WX_GRID * aGrid,
wxString * aCurrentDir,
const wxString & aFileFilter = wxEmptyString,
bool aNormalize = false,
const wxString & aNormalizeBasePath = wxEmptyString,
std::function< wxString(const wxString &)> aEmbedCallback = nullptr )
inline

◆ TEXT_BUTTON_FILE_BROWSER() [2/2]

TEXT_BUTTON_FILE_BROWSER::TEXT_BUTTON_FILE_BROWSER ( wxWindow * aParent,
DIALOG_SHIM * aParentDlg,
WX_GRID * aGrid,
wxString * aCurrentDir,
std::function< wxString(WX_GRID *grid, int row)> aFileFilterFn,
bool aNormalize = false,
const wxString & aNormalizeBasePath = wxEmptyString,
std::function< wxString(const wxString &)> aEmbedCallback = nullptr )
inline

Member Function Documentation

◆ DoSetPopupControl()

void TEXT_BUTTON_FILE_BROWSER::DoSetPopupControl ( wxComboPopup * popup)
inlineoverrideprotected

Definition at line 488 of file grid_text_button_helpers.cpp.

◆ OnButtonClick()

void TEXT_BUTTON_FILE_BROWSER::OnButtonClick ( )
inlineoverrideprotected

Member Data Documentation

◆ m_currentDir

wxString* TEXT_BUTTON_FILE_BROWSER::m_currentDir
protected

◆ m_dlg

DIALOG_SHIM* TEXT_BUTTON_FILE_BROWSER::m_dlg
protected

◆ m_embedCallback

std::function<wxString( const wxString& )> TEXT_BUTTON_FILE_BROWSER::m_embedCallback
protected

◆ m_fileFilter

wxString TEXT_BUTTON_FILE_BROWSER::m_fileFilter
protected

Definition at line 592 of file grid_text_button_helpers.cpp.

Referenced by OnButtonClick(), and TEXT_BUTTON_FILE_BROWSER().

◆ m_fileFilterFn

std::function<wxString( WX_GRID* aGrid, int aRow )> TEXT_BUTTON_FILE_BROWSER::m_fileFilterFn
protected

Definition at line 593 of file grid_text_button_helpers.cpp.

Referenced by OnButtonClick(), and TEXT_BUTTON_FILE_BROWSER().

◆ m_grid

WX_GRID* TEXT_BUTTON_FILE_BROWSER::m_grid
protected

◆ m_normalize

bool TEXT_BUTTON_FILE_BROWSER::m_normalize
protected

◆ m_normalizeBasePath

wxString TEXT_BUTTON_FILE_BROWSER::m_normalizeBasePath
protected

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