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 Member Functions | Private Attributes | List of all members
MWGui::Widgets::MWAttribute Class Reference

#include <widgets.hpp>

Inheritance diagram for MWGui::Widgets::MWAttribute:
Collaboration diagram for MWGui::Widgets::MWAttribute:

Public Types

typedef MWMechanics::AttributeValue AttributeValue
 
typedef
MyGUI::delegates::CMultiDelegate1
< MWAttribute * > 
EventHandle_AttributeVoid
 

Public Member Functions

 MWAttribute ()
 
void setAttributeId (int attributeId)
 
void setAttributeValue (const AttributeValue &value)
 
int getAttributeId () const
 
const AttributeValuegetAttributeValue () const
 

Public Attributes

EventHandle_AttributeVoid eventClicked
 

Protected Member Functions

virtual ~MWAttribute ()
 
virtual void initialiseOverride ()
 
void onClicked (MyGUI::Widget *_sender)
 

Private Member Functions

void updateWidgets ()
 

Private Attributes

int mId
 
AttributeValue mValue
 
MyGUI::TextBox * mAttributeNameWidget
 
MyGUI::TextBox * mAttributeValueWidget
 

Member Typedef Documentation

typedef MyGUI::delegates::CMultiDelegate1<MWAttribute*> MWGui::Widgets::MWAttribute::EventHandle_AttributeVoid

Constructor & Destructor Documentation

MWGui::Widgets::MWAttribute::MWAttribute ( )
MWGui::Widgets::MWAttribute::~MWAttribute ( )
protectedvirtual

Member Function Documentation

int MWGui::Widgets::MWAttribute::getAttributeId ( ) const
inline

Here is the caller graph for this function:

const AttributeValue& MWGui::Widgets::MWAttribute::getAttributeValue ( ) const
inline
void MWGui::Widgets::MWAttribute::initialiseOverride ( )
protectedvirtual

Here is the call graph for this function:

void MWGui::Widgets::MWAttribute::onClicked ( MyGUI::Widget *  _sender)
protected

Here is the caller graph for this function:

void MWGui::Widgets::MWAttribute::setAttributeId ( int  attributeId)

Here is the call graph for this function:

Here is the caller graph for this function:

void MWGui::Widgets::MWAttribute::setAttributeValue ( const AttributeValue value)

Here is the call graph for this function:

Here is the caller graph for this function:

void MWGui::Widgets::MWAttribute::updateWidgets ( )
private

Here is the call graph for this function:

Here is the caller graph for this function:

Member Data Documentation

EventHandle_AttributeVoid MWGui::Widgets::MWAttribute::eventClicked

Event : Attribute clicked.
signature : void method(MWAttribute* _sender)

MyGUI::TextBox* MWGui::Widgets::MWAttribute::mAttributeNameWidget
private
MyGUI::TextBox* MWGui::Widgets::MWAttribute::mAttributeValueWidget
private
int MWGui::Widgets::MWAttribute::mId
private
AttributeValue MWGui::Widgets::MWAttribute::mValue
private

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