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

Public Member Functions

 TEXT_BUTTON_URL (wxWindow *aParent, DIALOG_SHIM *aParentDlg, SEARCH_STACK *aSearchStack, const std::function< GRID_CELL_URL_EDITOR_CONTEXT(int)> &aContextProvider, int &aRow)
 
 ~TEXT_BUTTON_URL ()
 

Protected Member Functions

void DoSetPopupControl (wxComboPopup *popup) override
 
void OnButtonClick () override
 
void OnTextChange (wxCommandEvent &event)
 
void UpdateButtonBitmaps ()
 

Protected Attributes

DIALOG_SHIMm_dlg
 
SEARCH_STACKm_searchStack
 
std::function< GRID_CELL_URL_EDITOR_CONTEXT(int)> m_contextProvider
 
int & m_row
 

Detailed Description

Definition at line 245 of file grid_text_button_helpers.cpp.

Constructor & Destructor Documentation

◆ TEXT_BUTTON_URL()

TEXT_BUTTON_URL::TEXT_BUTTON_URL ( wxWindow * aParent,
DIALOG_SHIM * aParentDlg,
SEARCH_STACK * aSearchStack,
const std::function< GRID_CELL_URL_EDITOR_CONTEXT(int)> & aContextProvider,
int & aRow )
inline

◆ ~TEXT_BUTTON_URL()

TEXT_BUTTON_URL::~TEXT_BUTTON_URL ( )
inline

Definition at line 266 of file grid_text_button_helpers.cpp.

References OnTextChange().

Member Function Documentation

◆ DoSetPopupControl()

void TEXT_BUTTON_URL::DoSetPopupControl ( wxComboPopup * popup)
inlineoverrideprotected

Definition at line 271 of file grid_text_button_helpers.cpp.

◆ OnButtonClick()

◆ OnTextChange()

void TEXT_BUTTON_URL::OnTextChange ( wxCommandEvent & event)
inlineprotected

Definition at line 337 of file grid_text_button_helpers.cpp.

References UpdateButtonBitmaps().

Referenced by TEXT_BUTTON_URL(), and ~TEXT_BUTTON_URL().

◆ UpdateButtonBitmaps()

void TEXT_BUTTON_URL::UpdateButtonBitmaps ( )
inlineprotected

Definition at line 343 of file grid_text_button_helpers.cpp.

References KiBitmapBundle(), small_folder, and www.

Referenced by OnTextChange(), and TEXT_BUTTON_URL().

Member Data Documentation

◆ m_contextProvider

std::function<GRID_CELL_URL_EDITOR_CONTEXT( int )> TEXT_BUTTON_URL::m_contextProvider
protected

Definition at line 355 of file grid_text_button_helpers.cpp.

Referenced by OnButtonClick(), and TEXT_BUTTON_URL().

◆ m_dlg

DIALOG_SHIM* TEXT_BUTTON_URL::m_dlg
protected

Definition at line 352 of file grid_text_button_helpers.cpp.

Referenced by OnButtonClick(), and TEXT_BUTTON_URL().

◆ m_row

int& TEXT_BUTTON_URL::m_row
protected

Definition at line 356 of file grid_text_button_helpers.cpp.

Referenced by OnButtonClick(), and TEXT_BUTTON_URL().

◆ m_searchStack

SEARCH_STACK* TEXT_BUTTON_URL::m_searchStack
protected

Definition at line 353 of file grid_text_button_helpers.cpp.

Referenced by OnButtonClick(), and TEXT_BUTTON_URL().


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