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 &aTitle, const wxString &aName, std::function< bool(const wxString &newName)> aValidator)
 

Protected Member Functions

bool TransferDataFromWindow () override
 

Private Attributes

std::function< bool(const wxString &aNewName)> m_validator
 

Detailed Description

Definition at line 127 of file library_editor_control.cpp.

Constructor & Destructor Documentation

◆ RENAME_DIALOG()

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

Definition at line 130 of file library_editor_control.cpp.

Member Function Documentation

◆ TransferDataFromWindow()

bool RENAME_DIALOG::TransferDataFromWindow ( )
inlineoverrideprotected

Definition at line 137 of file library_editor_control.cpp.

References m_validator.

Member Data Documentation

◆ m_validator

std::function<bool( const wxString& aNewName )> RENAME_DIALOG::m_validator
private

Definition at line 143 of file library_editor_control.cpp.

Referenced by TransferDataFromWindow().


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