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

#include <itemview.hpp>

Inheritance diagram for MWGui::ItemView:
Collaboration diagram for MWGui::ItemView:

Public Types

typedef
MyGUI::delegates::CMultiDelegate1
< ItemModel::ModelIndex
EventHandle_ModelIndex
 
typedef
MyGUI::delegates::CMultiDelegate0 
EventHandle_Void
 

Public Member Functions

 ItemView ()
 
virtual ~ItemView ()
 
void setModel (ItemModel *model)
 Takes ownership of model. More...
 
void update ()
 
void resetScrollBars ()
 

Static Public Member Functions

static void registerComponents ()
 Register needed components with MyGUI's factory manager. More...
 

Public Attributes

EventHandle_ModelIndex eventItemClicked
 Fired when an item was clicked. More...
 
EventHandle_Void eventBackgroundClicked
 Fired when the background was clicked (useful for drag and drop) More...
 

Private Member Functions

virtual void initialiseOverride ()
 
void layoutWidgets ()
 
virtual void setSize (const MyGUI::IntSize &_value)
 
virtual void setCoord (const MyGUI::IntCoord &_value)
 
void onSelectedItem (MyGUI::Widget *sender)
 
void onSelectedBackground (MyGUI::Widget *sender)
 
void onMouseWheelMoved (MyGUI::Widget *_sender, int _rel)
 

Private Attributes

ItemModelmModel
 
MyGUI::ScrollView * mScrollView
 

Member Typedef Documentation

typedef MyGUI::delegates::CMultiDelegate1<ItemModel::ModelIndex> MWGui::ItemView::EventHandle_ModelIndex
typedef MyGUI::delegates::CMultiDelegate0 MWGui::ItemView::EventHandle_Void

Constructor & Destructor Documentation

MWGui::ItemView::ItemView ( )
MWGui::ItemView::~ItemView ( )
virtual

Member Function Documentation

void MWGui::ItemView::initialiseOverride ( )
privatevirtual
void MWGui::ItemView::layoutWidgets ( )
private

Here is the caller graph for this function:

void MWGui::ItemView::onMouseWheelMoved ( MyGUI::Widget *  _sender,
int  _rel 
)
private

Here is the caller graph for this function:

void MWGui::ItemView::onSelectedBackground ( MyGUI::Widget *  sender)
private

Here is the caller graph for this function:

void MWGui::ItemView::onSelectedItem ( MyGUI::Widget *  sender)
private

Here is the caller graph for this function:

void MWGui::ItemView::registerComponents ( )
static

Register needed components with MyGUI's factory manager.

Here is the caller graph for this function:

void MWGui::ItemView::resetScrollBars ( )

Here is the caller graph for this function:

void MWGui::ItemView::setCoord ( const MyGUI::IntCoord &  _value)
privatevirtual

Here is the call graph for this function:

void MWGui::ItemView::setModel ( ItemModel model)

Takes ownership of model.

Here is the call graph for this function:

Here is the caller graph for this function:

void MWGui::ItemView::setSize ( const MyGUI::IntSize &  _value)
privatevirtual

Here is the call graph for this function:

void MWGui::ItemView::update ( )

Here is the call graph for this function:

Here is the caller graph for this function:

Member Data Documentation

EventHandle_Void MWGui::ItemView::eventBackgroundClicked

Fired when the background was clicked (useful for drag and drop)

EventHandle_ModelIndex MWGui::ItemView::eventItemClicked

Fired when an item was clicked.

ItemModel* MWGui::ItemView::mModel
private
MyGUI::ScrollView* MWGui::ItemView::mScrollView
private

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