3Depict
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
AutosaveDialog Class Reference

#include <autosaveDialog.h>

Inheritance diagram for AutosaveDialog:
Inheritance graph
[legend]
Collaboration diagram for AutosaveDialog:
Collaboration graph
[legend]

Public Member Functions

 AutosaveDialog (wxWindow *parent, int id=wxID_ANY, const wxString &title=wxT(""), const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxDefaultSize, long style=wxDEFAULT_DIALOG_STYLE)
 
virtual void OnListStates (wxCommandEvent &event)
 
virtual void OnListStatesDClick (wxCommandEvent &event)
 
virtual void OnRemoveAll (wxCommandEvent &event)
 
virtual void OnCancel (wxCommandEvent &event)
 
virtual void OnOK (wxCommandEvent &event)
 
void setItems (const std::vector< std::string > &items)
 
unsigned int getSelectedItem () const
 Get the item that was selected, returning the position of the selected. More...
 
bool removedItems () const
 

Protected Member Functions

 DECLARE_EVENT_TABLE ()
 

Protected Attributes

wxListBox * listStates
 
wxButton * btnRemoveAll
 
wxButton * btnCancel
 
wxButton * btnOK
 

Constructor & Destructor Documentation

◆ AutosaveDialog()

AutosaveDialog::AutosaveDialog ( wxWindow *  parent,
int  id = wxID_ANY,
const wxString &  title = wxT(""),
const wxPoint &  pos = wxDefaultPosition,
const wxSize &  size = wxDefaultSize,
long  style = wxDEFAULT_DIALOG_STYLE 
)

Member Function Documentation

◆ DECLARE_EVENT_TABLE()

AutosaveDialog::DECLARE_EVENT_TABLE ( )
protected

◆ getSelectedItem()

unsigned int AutosaveDialog::getSelectedItem ( ) const
inline

Get the item that was selected, returning the position of the selected.

Referenced by MainWindowFrame::checkReloadAutosave().

Here is the caller graph for this function:

◆ OnCancel()

void AutosaveDialog::OnCancel ( wxCommandEvent &  event)
virtual

Referenced by AutosaveDialog().

Here is the caller graph for this function:

◆ OnListStates()

void AutosaveDialog::OnListStates ( wxCommandEvent &  event)
virtual

References btnOK, and listStates.

Referenced by AutosaveDialog().

Here is the caller graph for this function:

◆ OnListStatesDClick()

void AutosaveDialog::OnListStatesDClick ( wxCommandEvent &  event)
virtual

Referenced by AutosaveDialog().

Here is the caller graph for this function:

◆ OnOK()

void AutosaveDialog::OnOK ( wxCommandEvent &  event)
virtual

References ASSERT.

Referenced by AutosaveDialog().

Here is the caller graph for this function:

◆ OnRemoveAll()

void AutosaveDialog::OnRemoveAll ( wxCommandEvent &  event)
virtual

References btnCancel, btnOK, btnRemoveAll, and listStates.

Referenced by AutosaveDialog().

Here is the caller graph for this function:

◆ removedItems()

bool AutosaveDialog::removedItems ( ) const
inline

Referenced by MainWindowFrame::checkReloadAutosave().

Here is the caller graph for this function:

◆ setItems()

void AutosaveDialog::setItems ( const std::vector< std::string > &  items)

References btnCancel, btnOK, btnRemoveAll, listStates, and TRANS.

Referenced by MainWindowFrame::checkReloadAutosave().

Here is the caller graph for this function:

Member Data Documentation

◆ btnCancel

wxButton* AutosaveDialog::btnCancel
protected

◆ btnOK

wxButton* AutosaveDialog::btnOK
protected

◆ btnRemoveAll

wxButton* AutosaveDialog::btnRemoveAll
protected

◆ listStates

wxListBox* AutosaveDialog::listStates
protected

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