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

Public Member Functions

 RENAME_DIALOG (wxWindow *aParent, const wxString &aName, std::function< bool(wxString newName)> aValidator)
 
wxString GetSymbolName ()
 
 RENAME_DIALOG (wxWindow *aParent, const wxString &aName, std::function< bool(wxString newName)> aValidator)
 
wxString GetFPName ()
 

Protected Member Functions

bool TransferDataFromWindow () override
 
bool TransferDataFromWindow () override
 

Private Attributes

std::function< bool(wxString newName)> m_validator
 

Detailed Description

Definition at line 363 of file symbol_editor_control.cpp.

Constructor & Destructor Documentation

◆ RENAME_DIALOG() [1/2]

RENAME_DIALOG::RENAME_DIALOG ( wxWindow *  aParent,
const wxString &  aName,
std::function< bool(wxString newName)>  aValidator 
)
inline

Definition at line 366 of file symbol_editor_control.cpp.

◆ RENAME_DIALOG() [2/2]

RENAME_DIALOG::RENAME_DIALOG ( wxWindow *  aParent,
const wxString &  aName,
std::function< bool(wxString newName)>  aValidator 
)
inline

Definition at line 424 of file footprint_editor_control.cpp.

Member Function Documentation

◆ GetFPName()

wxString RENAME_DIALOG::GetFPName ( )
inline

◆ GetSymbolName()

wxString RENAME_DIALOG::GetSymbolName ( )
inline

◆ TransferDataFromWindow() [1/2]

bool RENAME_DIALOG::TransferDataFromWindow ( )
inlineoverrideprotected

Definition at line 380 of file symbol_editor_control.cpp.

References GetSymbolName(), and m_validator.

◆ TransferDataFromWindow() [2/2]

bool RENAME_DIALOG::TransferDataFromWindow ( )
inlineoverrideprotected

Definition at line 438 of file footprint_editor_control.cpp.

References GetFPName(), and m_validator.

Member Data Documentation

◆ m_validator

std::function< bool(wxString newName)> RENAME_DIALOG::m_validator
private

Definition at line 386 of file symbol_editor_control.cpp.

Referenced by TransferDataFromWindow().


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