OpenMW
|
#include <itemview.hpp>
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. | |
void | update () |
Static Public Member Functions | |
static void | registerComponents () |
Register needed components with MyGUI's factory manager. | |
Public Attributes | |
EventHandle_ModelIndex | eventItemClicked |
Fired when an item was clicked. | |
EventHandle_Void | eventBackgroundClicked |
Fired when the background was clicked (useful for drag and drop) | |
Private Member Functions | |
virtual void | initialiseOverride () |
virtual void | setSize (const MyGUI::IntSize &_value) |
virtual void | setCoord (const MyGUI::IntCoord &_value) |
void | setSize (int _width, int _height) |
void | setCoord (int _left, int _top, int _width, int _height) |
void | onSelectedItem (MyGUI::Widget *sender) |
void | onSelectedBackground (MyGUI::Widget *sender) |
void | onMouseWheel (MyGUI::Widget *_sender, int _rel) |
Private Attributes | |
ItemModel * | mModel |
MyGUI::ScrollView * | mScrollView |
typedef MyGUI::delegates::CMultiDelegate1<ItemModel::ModelIndex> MWGui::ItemView::EventHandle_ModelIndex |
typedef MyGUI::delegates::CMultiDelegate0 MWGui::ItemView::EventHandle_Void |
MWGui::ItemView::~ItemView | ( | ) | [virtual] |
void MWGui::ItemView::initialiseOverride | ( | ) | [private, virtual] |
void MWGui::ItemView::onMouseWheel | ( | MyGUI::Widget * | _sender, |
int | _rel | ||
) | [private] |
void MWGui::ItemView::onSelectedBackground | ( | MyGUI::Widget * | sender | ) | [private] |
void MWGui::ItemView::onSelectedItem | ( | MyGUI::Widget * | sender | ) | [private] |
void MWGui::ItemView::registerComponents | ( | ) | [static] |
Register needed components with MyGUI's factory manager.
void MWGui::ItemView::setCoord | ( | const MyGUI::IntCoord & | _value | ) | [private, virtual] |
void MWGui::ItemView::setCoord | ( | int | _left, |
int | _top, | ||
int | _width, | ||
int | _height | ||
) | [private] |
void MWGui::ItemView::setModel | ( | ItemModel * | model | ) |
Takes ownership of model.
void MWGui::ItemView::setSize | ( | const MyGUI::IntSize & | _value | ) | [private, virtual] |
void MWGui::ItemView::setSize | ( | int | _width, |
int | _height | ||
) | [private] |
void MWGui::ItemView::update | ( | ) |
Fired when the background was clicked (useful for drag and drop)
Fired when an item was clicked.
ItemModel* MWGui::ItemView::mModel [private] |
MyGUI::ScrollView* MWGui::ItemView::mScrollView [private] |