|
KiCad PCB EDA Suite
|
#include <dialog_autosave_recovery.h>
Public Member Functions | |
| DIALOG_AUTOSAVE_RECOVERY (wxWindow *aParent, const std::vector< std::pair< wxString, wxString > > &aStale) | |
| AUTOSAVE_RECOVERY_CHOICE | GetChoice () const |
| std::vector< std::pair< wxString, wxString > > | GetSelectedStale () const |
Protected Member Functions | |
| void | OnRestore (wxCommandEvent &aEvent) override |
| void | OnKeepCurrent (wxCommandEvent &aEvent) override |
| void | OnKeepBoth (wxCommandEvent &aEvent) override |
| void | OnCancel (wxCommandEvent &aEvent) override |
| void | onItemCheckChanged (wxListEvent &aEvent) |
| void | updateActionButtons () |
Protected Attributes | |
| wxBoxSizer * | bMainSizer |
| wxStaticText * | m_explanation |
| wxListCtrl * | m_fileList |
| wxButton * | m_btnRestore |
| wxButton * | m_btnKeepCurrent |
| wxButton * | m_btnKeepBoth |
| wxButton * | m_btnCancel |
Private Attributes | |
| AUTOSAVE_RECOVERY_CHOICE | m_choice |
| std::vector< std::pair< wxString, wxString > > | m_stale |
Definition at line 44 of file dialog_autosave_recovery.h.
| DIALOG_AUTOSAVE_RECOVERY::DIALOG_AUTOSAVE_RECOVERY | ( | wxWindow * | aParent, |
| const std::vector< std::pair< wxString, wxString > > & | aStale ) |
Definition at line 39 of file dialog_autosave_recovery.cpp.
References _, CANCEL, DIALOG_AUTOSAVE_RECOVERY_BASE::DIALOG_AUTOSAVE_RECOVERY_BASE(), formatStamp(), m_choice, DIALOG_AUTOSAVE_RECOVERY_BASE::m_fileList, m_stale, onItemCheckChanged(), and updateActionButtons().
|
inline |
Definition at line 49 of file dialog_autosave_recovery.h.
References m_choice.
Referenced by EDA_BASE_FRAME::CheckForAutosaveFiles().
| std::vector< std::pair< wxString, wxString > > DIALOG_AUTOSAVE_RECOVERY::GetSelectedStale | ( | ) | const |
Definition at line 78 of file dialog_autosave_recovery.cpp.
References DIALOG_AUTOSAVE_RECOVERY_BASE::m_fileList, and m_stale.
Referenced by EDA_BASE_FRAME::CheckForAutosaveFiles().
|
overrideprotectedvirtual |
Reimplemented from DIALOG_AUTOSAVE_RECOVERY_BASE.
Definition at line 139 of file dialog_autosave_recovery.cpp.
|
protected |
Definition at line 92 of file dialog_autosave_recovery.cpp.
References updateActionButtons().
Referenced by DIALOG_AUTOSAVE_RECOVERY().
|
overrideprotectedvirtual |
Reimplemented from DIALOG_AUTOSAVE_RECOVERY_BASE.
Definition at line 132 of file dialog_autosave_recovery.cpp.
|
overrideprotectedvirtual |
Reimplemented from DIALOG_AUTOSAVE_RECOVERY_BASE.
Definition at line 125 of file dialog_autosave_recovery.cpp.
References KEEP_CURRENT, and m_choice.
|
overrideprotectedvirtual |
Reimplemented from DIALOG_AUTOSAVE_RECOVERY_BASE.
Definition at line 118 of file dialog_autosave_recovery.cpp.
|
protected |
Definition at line 99 of file dialog_autosave_recovery.cpp.
References DIALOG_AUTOSAVE_RECOVERY_BASE::m_btnKeepBoth, DIALOG_AUTOSAVE_RECOVERY_BASE::m_btnKeepCurrent, DIALOG_AUTOSAVE_RECOVERY_BASE::m_btnRestore, and DIALOG_AUTOSAVE_RECOVERY_BASE::m_fileList.
Referenced by DIALOG_AUTOSAVE_RECOVERY(), and onItemCheckChanged().
|
protectedinherited |
Definition at line 37 of file dialog_autosave_recovery_base.h.
Referenced by DIALOG_AUTOSAVE_RECOVERY_BASE().
|
protectedinherited |
Definition at line 43 of file dialog_autosave_recovery_base.h.
Referenced by DIALOG_AUTOSAVE_RECOVERY_BASE(), and ~DIALOG_AUTOSAVE_RECOVERY_BASE().
|
protectedinherited |
Definition at line 42 of file dialog_autosave_recovery_base.h.
Referenced by DIALOG_AUTOSAVE_RECOVERY_BASE(), DIALOG_AUTOSAVE_RECOVERY::updateActionButtons(), and ~DIALOG_AUTOSAVE_RECOVERY_BASE().
|
protectedinherited |
Definition at line 41 of file dialog_autosave_recovery_base.h.
Referenced by DIALOG_AUTOSAVE_RECOVERY_BASE(), DIALOG_AUTOSAVE_RECOVERY::updateActionButtons(), and ~DIALOG_AUTOSAVE_RECOVERY_BASE().
|
protectedinherited |
Definition at line 40 of file dialog_autosave_recovery_base.h.
Referenced by DIALOG_AUTOSAVE_RECOVERY_BASE(), DIALOG_AUTOSAVE_RECOVERY::updateActionButtons(), and ~DIALOG_AUTOSAVE_RECOVERY_BASE().
|
private |
Definition at line 64 of file dialog_autosave_recovery.h.
Referenced by DIALOG_AUTOSAVE_RECOVERY(), GetChoice(), OnCancel(), OnKeepBoth(), OnKeepCurrent(), and OnRestore().
|
protectedinherited |
Definition at line 38 of file dialog_autosave_recovery_base.h.
Referenced by DIALOG_AUTOSAVE_RECOVERY_BASE().
|
protectedinherited |
Definition at line 39 of file dialog_autosave_recovery_base.h.
Referenced by DIALOG_AUTOSAVE_RECOVERY::DIALOG_AUTOSAVE_RECOVERY(), DIALOG_AUTOSAVE_RECOVERY_BASE(), DIALOG_AUTOSAVE_RECOVERY::GetSelectedStale(), and DIALOG_AUTOSAVE_RECOVERY::updateActionButtons().
|
private |
Definition at line 65 of file dialog_autosave_recovery.h.
Referenced by DIALOG_AUTOSAVE_RECOVERY(), and GetSelectedStale().