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

#include <choiceKeyFrameDialog.h>

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

Public Member Functions

 ChoiceKeyFrameDialog (wxWindow *parent, int id, const wxString &title, const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxDefaultSize, long style=wxDEFAULT_DIALOG_STYLE)
 
void setChoices (const std::vector< std::string > &choices, size_t defaultChoice=0)
 
size_t getChoiceIndex () const
 
std::string getChoice () const
 
size_t getStartFrame () const
 
virtual void OnChoiceCombo (wxCommandEvent &event)
 
virtual void OnFrameText (wxCommandEvent &event)
 

Protected Member Functions

 DECLARE_EVENT_TABLE ()
 

Protected Attributes

wxStaticText * labelFrame
 
wxTextCtrl * textFrame
 
wxStaticText * labelSelection
 
wxComboBox * comboChoice
 
wxButton * btnCancel
 
wxButton * btnOK
 

Constructor & Destructor Documentation

◆ ChoiceKeyFrameDialog()

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

Member Function Documentation

◆ DECLARE_EVENT_TABLE()

ChoiceKeyFrameDialog::DECLARE_EVENT_TABLE ( )
protected

◆ getChoice()

std::string ChoiceKeyFrameDialog::getChoice ( ) const
inline

Referenced by ExportAnimationDialog::OnFilterGridCellSelected().

Here is the caller graph for this function:

◆ getChoiceIndex()

size_t ChoiceKeyFrameDialog::getChoiceIndex ( ) const
inline

◆ getStartFrame()

size_t ChoiceKeyFrameDialog::getStartFrame ( ) const
inline

Referenced by ExportAnimationDialog::OnFilterGridCellSelected().

Here is the caller graph for this function:

◆ OnChoiceCombo()

void ChoiceKeyFrameDialog::OnChoiceCombo ( wxCommandEvent &  event)
virtual

References comboChoice.

Referenced by ChoiceKeyFrameDialog().

Here is the caller graph for this function:

◆ OnFrameText()

void ChoiceKeyFrameDialog::OnFrameText ( wxCommandEvent &  event)
virtual

References ASSERT, btnOK, comboChoice, textFrame, and validateTextAsStream().

Referenced by ChoiceKeyFrameDialog().

Here is the caller graph for this function:

◆ setChoices()

void ChoiceKeyFrameDialog::setChoices ( const std::vector< std::string > &  choices,
size_t  defaultChoice = 0 
)

References btnCancel, btnOK, comboChoice, labelFrame, labelSelection, and textFrame.

Referenced by ExportAnimationDialog::OnFilterGridCellSelected().

Here is the caller graph for this function:

Member Data Documentation

◆ btnCancel

wxButton* ChoiceKeyFrameDialog::btnCancel
protected

Referenced by ChoiceKeyFrameDialog(), and setChoices().

◆ btnOK

wxButton* ChoiceKeyFrameDialog::btnOK
protected

◆ comboChoice

wxComboBox* ChoiceKeyFrameDialog::comboChoice
protected

◆ labelFrame

wxStaticText* ChoiceKeyFrameDialog::labelFrame
protected

Referenced by ChoiceKeyFrameDialog(), and setChoices().

◆ labelSelection

wxStaticText* ChoiceKeyFrameDialog::labelSelection
protected

Referenced by ChoiceKeyFrameDialog(), and setChoices().

◆ textFrame

wxTextCtrl* ChoiceKeyFrameDialog::textFrame
protected

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