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)
 
 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)
 

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
 

Detailed Description

Definition at line 427 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 
)
inline

Definition at line 430 of file grid_text_button_helpers.cpp.

References KiBitmapBundle().

◆ 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 
)
inline

Definition at line 449 of file grid_text_button_helpers.cpp.

References KiBitmapBundle().

Member Function Documentation

◆ DoSetPopupControl()

void TEXT_BUTTON_FILE_BROWSER::DoSetPopupControl ( wxComboPopup *  popup)
inlineoverrideprotected

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

Definition at line 552 of file grid_text_button_helpers.cpp.

Referenced by OnButtonClick().

◆ m_dlg

DIALOG_SHIM* TEXT_BUTTON_FILE_BROWSER::m_dlg
protected

Definition at line 550 of file grid_text_button_helpers.cpp.

Referenced by OnButtonClick().

◆ m_fileFilter

wxString TEXT_BUTTON_FILE_BROWSER::m_fileFilter
protected

Definition at line 556 of file grid_text_button_helpers.cpp.

Referenced by OnButtonClick().

◆ m_fileFilterFn

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

Definition at line 557 of file grid_text_button_helpers.cpp.

Referenced by OnButtonClick().

◆ m_grid

WX_GRID* TEXT_BUTTON_FILE_BROWSER::m_grid
protected

Definition at line 551 of file grid_text_button_helpers.cpp.

Referenced by OnButtonClick().

◆ m_normalize

bool TEXT_BUTTON_FILE_BROWSER::m_normalize
protected

Definition at line 553 of file grid_text_button_helpers.cpp.

Referenced by OnButtonClick().

◆ m_normalizeBasePath

wxString TEXT_BUTTON_FILE_BROWSER::m_normalizeBasePath
protected

Definition at line 554 of file grid_text_button_helpers.cpp.

Referenced by OnButtonClick().


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