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

#include <draganddrop.hpp>

Collaboration diagram for MWGui::DragAndDrop:

Public Member Functions

 DragAndDrop ()
 
void startDrag (int index, SortFilterItemModel *sortModel, ItemModel *sourceModel, ItemView *sourceView, int count)
 
void drop (ItemModel *targetModel, ItemView *targetView)
 
void finish ()
 

Public Attributes

bool mIsOnDragAndDrop
 
MyGUI::Widget * mDraggedWidget
 
ItemModelmSourceModel
 
ItemViewmSourceView
 
SortFilterItemModelmSourceSortModel
 
ItemStack mItem
 
int mDraggedCount
 

Constructor & Destructor Documentation

MWGui::DragAndDrop::DragAndDrop ( )

Member Function Documentation

void MWGui::DragAndDrop::drop ( ItemModel targetModel,
ItemView targetView 
)

Here is the call graph for this function:

Here is the caller graph for this function:

void MWGui::DragAndDrop::finish ( )

Here is the call graph for this function:

Here is the caller graph for this function:

void MWGui::DragAndDrop::startDrag ( int  index,
SortFilterItemModel sortModel,
ItemModel sourceModel,
ItemView sourceView,
int  count 
)

Here is the call graph for this function:

Here is the caller graph for this function:

Member Data Documentation

int MWGui::DragAndDrop::mDraggedCount
MyGUI::Widget* MWGui::DragAndDrop::mDraggedWidget
bool MWGui::DragAndDrop::mIsOnDragAndDrop
ItemStack MWGui::DragAndDrop::mItem
ItemModel* MWGui::DragAndDrop::mSourceModel
SortFilterItemModel* MWGui::DragAndDrop::mSourceSortModel
ItemView* MWGui::DragAndDrop::mSourceView

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