OpenMW
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Public Types | Public Member Functions | Public Attributes | Protected Member Functions | Private Attributes | List of all members
MWGui::CreateClassDialog Class Reference

#include <class.hpp>

Inheritance diagram for MWGui::CreateClassDialog:
Collaboration diagram for MWGui::CreateClassDialog:

Public Types

typedef
MyGUI::delegates::CMultiDelegate0 
EventHandle_Void
 
- Public Types inherited from MWGui::WindowBase
typedef
MyGUI::delegates::CMultiDelegate1
< WindowBase * > 
EventHandle_WindowBase
 

Public Member Functions

 CreateClassDialog ()
 
virtual ~CreateClassDialog ()
 
std::string getName () const
 
std::string getDescription () const
 
ESM::Class::Specialization getSpecializationId () const
 
std::vector< intgetFavoriteAttributes () const
 
std::vector
< ESM::Skill::SkillEnum
getMajorSkills () const
 
std::vector
< ESM::Skill::SkillEnum
getMinorSkills () const
 
void setNextButtonShow (bool shown)
 
- Public Member Functions inherited from MWGui::WindowModal
 WindowModal (const std::string &parLayout)
 
virtual void open ()
 Notify that window has been made visible. More...
 
virtual void close ()
 Notify that window has been hidden. More...
 
virtual void exit ()
 Gracefully exits the window. More...
 
- Public Member Functions inherited from MWGui::WindowBase
 WindowBase (const std::string &parLayout)
 
virtual void setVisible (bool visible)
 Sets the visibility of the window. More...
 
bool isVisible ()
 Returns the visibility state of the window. More...
 
void center ()
 
- Public Member Functions inherited from MWGui::Layout
 Layout (const std::string &_layout, MyGUI::Widget *_parent=nullptr)
 
virtual ~Layout ()
 
MyGUI::Widget * getWidget (const std::string &_name)
 
template<typename T >
void getWidget (T *&_widget, const std::string &_name)
 
void setCoord (int x, int y, int w, int h)
 
void setText (const std::string &name, const std::string &caption)
 
void setTitle (const std::string &title)
 

Public Attributes

EventHandle_Void eventBack
 
EventHandle_WindowBase eventDone
 
- Public Attributes inherited from MWGui::Layout
MyGUI::Widget * mMainWidget
 

Protected Member Functions

void onOkClicked (MyGUI::Widget *_sender)
 
void onBackClicked (MyGUI::Widget *_sender)
 
void onSpecializationClicked (MyGUI::Widget *_sender)
 
void onSpecializationSelected ()
 
void onAttributeClicked (Widgets::MWAttributePtr _sender)
 
void onAttributeSelected ()
 
void onSkillClicked (Widgets::MWSkillPtr _sender)
 
void onSkillSelected ()
 
void onDescriptionClicked (MyGUI::Widget *_sender)
 
void onDescriptionEntered (WindowBase *parWindow)
 
void onDialogCancel ()
 
void setSpecialization (int id)
 
void update ()
 

Private Attributes

MyGUI::EditBox * mEditName
 
MyGUI::TextBox * mSpecializationName
 
Widgets::MWAttributePtr mFavoriteAttribute0
 
Widgets::MWAttributePtr mFavoriteAttribute1
 
Widgets::MWSkillPtr mMajorSkill [5]
 
Widgets::MWSkillPtr mMinorSkill [5]
 
std::vector< Widgets::MWSkillPtrmSkills
 
std::string mDescription
 
SelectSpecializationDialogmSpecDialog
 
SelectAttributeDialogmAttribDialog
 
SelectSkillDialogmSkillDialog
 
DescriptionDialogmDescDialog
 
ESM::Class::Specialization mSpecializationId
 
Widgets::MWAttributePtr mAffectedAttribute
 
Widgets::MWSkillPtr mAffectedSkill
 

Additional Inherited Members

- Protected Attributes inherited from MWGui::Layout
std::string mPrefix
 
std::string mLayoutName
 
MyGUI::VectorWidgetPtr mListWindowRoot
 

Member Typedef Documentation

typedef MyGUI::delegates::CMultiDelegate0 MWGui::CreateClassDialog::EventHandle_Void

Constructor & Destructor Documentation

MWGui::CreateClassDialog::CreateClassDialog ( )

Here is the call graph for this function:

MWGui::CreateClassDialog::~CreateClassDialog ( )
virtual

Member Function Documentation

std::string MWGui::CreateClassDialog::getDescription ( ) const

Here is the caller graph for this function:

std::vector< int > MWGui::CreateClassDialog::getFavoriteAttributes ( ) const

Here is the call graph for this function:

Here is the caller graph for this function:

std::vector< ESM::Skill::SkillEnum > MWGui::CreateClassDialog::getMajorSkills ( ) const

Here is the caller graph for this function:

std::vector< ESM::Skill::SkillEnum > MWGui::CreateClassDialog::getMinorSkills ( ) const

Here is the caller graph for this function:

std::string MWGui::CreateClassDialog::getName ( ) const

Here is the caller graph for this function:

ESM::Class::Specialization MWGui::CreateClassDialog::getSpecializationId ( ) const

Here is the caller graph for this function:

void MWGui::CreateClassDialog::onAttributeClicked ( Widgets::MWAttributePtr  _sender)
protected

Here is the call graph for this function:

Here is the caller graph for this function:

void MWGui::CreateClassDialog::onAttributeSelected ( )
protected

Here is the call graph for this function:

Here is the caller graph for this function:

void MWGui::CreateClassDialog::onBackClicked ( MyGUI::Widget *  _sender)
protected

Here is the caller graph for this function:

void MWGui::CreateClassDialog::onDescriptionClicked ( MyGUI::Widget *  _sender)
protected

Here is the call graph for this function:

Here is the caller graph for this function:

void MWGui::CreateClassDialog::onDescriptionEntered ( WindowBase parWindow)
protected

Here is the call graph for this function:

Here is the caller graph for this function:

void MWGui::CreateClassDialog::onDialogCancel ( )
protected

Here is the call graph for this function:

Here is the caller graph for this function:

void MWGui::CreateClassDialog::onOkClicked ( MyGUI::Widget *  _sender)
protected

Here is the call graph for this function:

Here is the caller graph for this function:

void MWGui::CreateClassDialog::onSkillClicked ( Widgets::MWSkillPtr  _sender)
protected

Here is the call graph for this function:

Here is the caller graph for this function:

void MWGui::CreateClassDialog::onSkillSelected ( )
protected

Here is the call graph for this function:

Here is the caller graph for this function:

void MWGui::CreateClassDialog::onSpecializationClicked ( MyGUI::Widget *  _sender)
protected

Here is the call graph for this function:

Here is the caller graph for this function:

void MWGui::CreateClassDialog::onSpecializationSelected ( )
protected

Here is the call graph for this function:

Here is the caller graph for this function:

void MWGui::CreateClassDialog::setNextButtonShow ( bool  shown)

Here is the call graph for this function:

Here is the caller graph for this function:

void MWGui::CreateClassDialog::setSpecialization ( int  id)
protected

Here is the call graph for this function:

Here is the caller graph for this function:

void MWGui::CreateClassDialog::update ( )
protected

Here is the call graph for this function:

Here is the caller graph for this function:

Member Data Documentation

EventHandle_Void MWGui::CreateClassDialog::eventBack

Event : Back button clicked.
signature : void method()

EventHandle_WindowBase MWGui::CreateClassDialog::eventDone

Event : Dialog finished, OK button clicked.
signature : void method()

Widgets::MWAttributePtr MWGui::CreateClassDialog::mAffectedAttribute
private
Widgets::MWSkillPtr MWGui::CreateClassDialog::mAffectedSkill
private
SelectAttributeDialog* MWGui::CreateClassDialog::mAttribDialog
private
DescriptionDialog* MWGui::CreateClassDialog::mDescDialog
private
std::string MWGui::CreateClassDialog::mDescription
private
MyGUI::EditBox* MWGui::CreateClassDialog::mEditName
private
Widgets::MWAttributePtr MWGui::CreateClassDialog::mFavoriteAttribute0
private
Widgets::MWAttributePtr MWGui::CreateClassDialog::mFavoriteAttribute1
private
Widgets::MWSkillPtr MWGui::CreateClassDialog::mMajorSkill[5]
private
Widgets::MWSkillPtr MWGui::CreateClassDialog::mMinorSkill[5]
private
SelectSkillDialog* MWGui::CreateClassDialog::mSkillDialog
private
std::vector<Widgets::MWSkillPtr> MWGui::CreateClassDialog::mSkills
private
SelectSpecializationDialog* MWGui::CreateClassDialog::mSpecDialog
private
ESM::Class::Specialization MWGui::CreateClassDialog::mSpecializationId
private
MyGUI::TextBox* MWGui::CreateClassDialog::mSpecializationName
private

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