|
MyGUI 3.4.3
|
widget description should be here. More...
#include <MyGUI_MultiListBox.h>

Public Types | |
| typedef RTTIBase | Base |
| typedef MultiListBox | RTTIBase |
Public Types inherited from MyGUI::Widget | |
| typedef RTTIBase | Base |
| typedef Widget | RTTIBase |
Public Types inherited from MyGUI::IObject | |
| typedef IObject | RTTIBase |
Static Public Member Functions | |
| static std::string_view | getClassTypeName () |
Static Public Member Functions inherited from MyGUI::Widget | |
| static std::string_view | getClassTypeName () |
Static Public Member Functions inherited from MyGUI::IObject | |
| static std::string_view | getClassTypeName () |
Additional Inherited Members | |
Protected Attributes inherited from MyGUI::ICroppedRectangle | |
| IntRect | mMargin |
| IntCoord | mCoord |
| IntPoint | mAbsolutePosition |
| bool | mIsMargin {false} |
| ICroppedRectangle * | mCroppedParent {nullptr} |
widget description should be here.
Definition at line 38 of file MyGUI_MultiListBox.h.
Definition at line 44 of file MyGUI_MultiListBox.h.
Definition at line 44 of file MyGUI_MultiListBox.h.
|
overridevirtual |
Reimplemented from MyGUI::IItemContainer.
Definition at line 591 of file MyGUI_MultiListBox.cpp.
Reimplemented from MyGUI::IItemContainer.
Definition at line 779 of file MyGUI_MultiListBox.cpp.
|
overridevirtual |
Reimplemented from MyGUI::IItemContainer.
Definition at line 586 of file MyGUI_MultiListBox.cpp.
Reimplemented from MyGUI::IItemContainer.
Definition at line 607 of file MyGUI_MultiListBox.cpp.
Reimplemented from MyGUI::IItemContainer.
Definition at line 597 of file MyGUI_MultiListBox.cpp.
Reimplemented from MyGUI::IItemContainer.
Definition at line 602 of file MyGUI_MultiListBox.cpp.
| void MyGUI::MultiListBox::addColumn | ( | const UString & | _name, |
| int | _width = 0, | ||
| Any | _data = Any::Null ) |
Add new column at last position
| _width | Width of new column |
| _name | Name of new column |
| _data | Any data associated with new column |
Definition at line 530 of file MyGUI_MultiListBox.cpp.
Add new item at the end
Definition at line 540 of file MyGUI_MultiListBox.cpp.
Clear an item data at a specified position.
Definition at line 535 of file MyGUI_MultiListBox.cpp.
| void MyGUI::MultiListBox::clearIndexSelected | ( | ) |
Clear item selection
Definition at line 560 of file MyGUI_MultiListBox.cpp.
Clear an item data at a specified position.
Definition at line 570 of file MyGUI_MultiListBox.cpp.
Clear an item data at a specified position.
Definition at line 575 of file MyGUI_MultiListBox.cpp.
Search item in specified _column, returns index of the first occurrence in column or ITEM_NONE if item not found
Definition at line 196 of file MyGUI_MultiListBox.cpp.
|
inlinestatic |
Definition at line 44 of file MyGUI_MultiListBox.h.
| size_t MyGUI::MultiListBox::getColumnCount | ( | ) | const |
Get number of columns.
Definition at line 525 of file MyGUI_MultiListBox.cpp.
Get item data from specified position.
Definition at line 154 of file MyGUI_MultiListBox.h.
| size_t MyGUI::MultiListBox::getColumnIndex | ( | const MultiListItem * | _item | ) | const |
Get column index.
Definition at line 795 of file MyGUI_MultiListBox.cpp.
| const UString & MyGUI::MultiListBox::getColumnName | ( | const MultiListItem * | _item | ) | const |
Get _column name
Definition at line 790 of file MyGUI_MultiListBox.cpp.
Get _column name
Definition at line 86 of file MyGUI_MultiListBox.cpp.
Get _column width
Definition at line 92 of file MyGUI_MultiListBox.cpp.
| size_t MyGUI::MultiListBox::getIndexSelected | ( | ) | const |
Get index of selected item (ITEM_NONE if none selected)
Definition at line 555 of file MyGUI_MultiListBox.cpp.
| size_t MyGUI::MultiListBox::getItemCount | ( | ) | const |
Definition at line 125 of file MyGUI_MultiListBox.cpp.
Get item data from specified position.
Definition at line 223 of file MyGUI_MultiListBox.h.
Get item name from specified position.
Definition at line 550 of file MyGUI_MultiListBox.cpp.
|
inline |
Get item data from specified position.
Definition at line 258 of file MyGUI_MultiListBox.h.
Get sub item name
Definition at line 188 of file MyGUI_MultiListBox.cpp.
|
inlineoverridevirtual |
Get type name as string
Reimplemented from MyGUI::Widget.
Definition at line 44 of file MyGUI_MultiListBox.h.
|
overrideprotectedvirtual |
Reimplemented from MyGUI::Widget.
Definition at line 20 of file MyGUI_MultiListBox.cpp.
| void MyGUI::MultiListBox::insertColumnAt | ( | size_t | _column, |
| const UString & | _name, | ||
| int | _width = 0, | ||
| Any | _data = Any::Null ) |
Insert new column
| _column | New column will be inserted before _column |
| _name | Name of new column |
| _width | Width of new column |
| _data | Any data associated with new column |
Definition at line 612 of file MyGUI_MultiListBox.cpp.
| void MyGUI::MultiListBox::insertItemAt | ( | size_t | _index, |
| const UString & | _name, | ||
| Any | _data = Any::Null ) |
Insert new item before _index line
Definition at line 447 of file MyGUI_MultiListBox.cpp.
Compare with selected type
Definition at line 44 of file MyGUI_MultiListBox.h.
|
inlineoverridevirtual |
Compare with selected type
Reimplemented from MyGUI::Widget.
Definition at line 44 of file MyGUI_MultiListBox.h.
Reimplemented from MyGUI::Widget.
Definition at line 670 of file MyGUI_MultiListBox.cpp.
Reimplemented from MyGUI::Widget.
Definition at line 681 of file MyGUI_MultiListBox.cpp.
| void MyGUI::MultiListBox::removeAllColumns | ( | ) |
Delete all columns
Definition at line 98 of file MyGUI_MultiListBox.cpp.
| void MyGUI::MultiListBox::removeAllItems | ( | ) |
Delete all items
Definition at line 132 of file MyGUI_MultiListBox.cpp.
Delete column
Definition at line 638 of file MyGUI_MultiListBox.cpp.
Remove item at a specified position.
Definition at line 472 of file MyGUI_MultiListBox.cpp.
Replace an item data at a specified position.
Definition at line 511 of file MyGUI_MultiListBox.cpp.
| void MyGUI::MultiListBox::setColumnName | ( | MultiListItem * | _item, |
| const UString & | _name ) |
Set column name
| _item | column |
| _name | New name of column |
Definition at line 785 of file MyGUI_MultiListBox.cpp.
Set column name
| _column | Index of column |
| _name | New name of column |
Definition at line 70 of file MyGUI_MultiListBox.cpp.
| void MyGUI::MultiListBox::setColumnResizingPolicy | ( | MultiListItem * | _item, |
| ResizingPolicy | _value ) |
Set resizing policy of column.
| _item | Pointer to column |
| _value | New resizing policy for column |
Definition at line 806 of file MyGUI_MultiListBox.cpp.
| void MyGUI::MultiListBox::setColumnResizingPolicyAt | ( | size_t | _index, |
| ResizingPolicy | _value ) |
Set resizing policy of column.
| _index | Index of column |
| _value | New resizing policy for column |
Definition at line 811 of file MyGUI_MultiListBox.cpp.
| void MyGUI::MultiListBox::setColumnWidth | ( | MultiListItem * | _item, |
| int | _width ) |
Set column width
| _item | column |
| _width | New width of column |
Definition at line 818 of file MyGUI_MultiListBox.cpp.
Set column width
| _column | Index of column |
| _width | New width of column |
Definition at line 79 of file MyGUI_MultiListBox.cpp.
Set widget position and size
Reimplemented from MyGUI::ICroppedRectangle.
Definition at line 836 of file MyGUI_MultiListBox.cpp.
Set widget position and size
Reimplemented from MyGUI::ICroppedRectangle.
Definition at line 172 of file MyGUI_Widget.cpp.
See Widget::setCoord(const IntCoord& _coord)
Definition at line 179 of file MyGUI_Widget.cpp.
Select specified _index
Definition at line 161 of file MyGUI_MultiListBox.cpp.
Replace an item data at a specified position.
Definition at line 565 of file MyGUI_MultiListBox.cpp.
Replace an item name.
Definition at line 545 of file MyGUI_MultiListBox.cpp.
Set widget position (position of left top corner)
Reimplemented from MyGUI::ICroppedRectangle.
Definition at line 823 of file MyGUI_MultiListBox.cpp.
Set widget position (position of left top corner)
Reimplemented from MyGUI::ICroppedRectangle.
Definition at line 168 of file MyGUI_Widget.cpp.
See Widget::setPosition(const IntPoint& _pos)
Definition at line 175 of file MyGUI_Widget.cpp.
Set widget size
Reimplemented from MyGUI::ICroppedRectangle.
Definition at line 828 of file MyGUI_MultiListBox.cpp.
Set widget size
Reimplemented from MyGUI::ICroppedRectangle.
Definition at line 170 of file MyGUI_Widget.cpp.
See Widget::setSize(const IntSize& _size)
Definition at line 177 of file MyGUI_Widget.cpp.
Replace an item data at a specified position.
Definition at line 517 of file MyGUI_MultiListBox.cpp.
Set sub item
| _column | Index of column |
| _index | Index of line |
| _name | New sub item value |
Definition at line 176 of file MyGUI_MultiListBox.cpp.
|
overrideprotectedvirtual |
Reimplemented from MyGUI::Widget.
Definition at line 65 of file MyGUI_MultiListBox.cpp.
Sort multilist by column
Definition at line 104 of file MyGUI_MultiListBox.cpp.
Swap columns at a specified positions.
Definition at line 647 of file MyGUI_MultiListBox.cpp.
Swap items at a specified positions.
Definition at line 498 of file MyGUI_MultiListBox.cpp.
| EventPair<EventHandle_WidgetSizeT, EventHandle_MultiListPtrSizeT> MyGUI::MultiListBox::eventListChangePosition |
Event : Selected item position changed.
signature : void method(MyGUI::MultiListBox* _sender, size_t _index)
| _sender | widget that called this event |
| _index | of new item |
Definition at line 282 of file MyGUI_MultiListBox.h.
| EventPair<EventHandle_WidgetSizeT, EventHandle_MultiListPtrSizeT> MyGUI::MultiListBox::eventListSelectAccept |
Event : Enter pressed or double click.
signature : void method(MyGUI::MultiListBox* _sender, size_t _index)
| _sender | widget that called this event |
| _index | of selected item |
Definition at line 275 of file MyGUI_MultiListBox.h.
| EventHandle_MultiListPtrCIBNotifyCellDataRef MyGUI::MultiListBox::eventNotifyItem |
Event : Notify about event in item widget.
signature : void method(MyGUI::MultiList* _sender, const MyGUI::IBNotifyItemData& _info)
| _sender | widget that called this event |
| _info | info about item notify |
Definition at line 302 of file MyGUI_MultiListBox.h.
| EventPair< EventHandle_MultiListPtrSizeTCUTFStringRefCUTFStringRefBoolRef, EventHandle_MultiListPtrSizeTSizeTSizeTBoolRef> MyGUI::MultiListBox::requestOperatorLess |
Event : Less than operator for sort multilist by columns.
signature : void method(MyGUI::MultiListBox* _sender, size_t _column, size_t _index1, size_t _index2, bool& _less)
| _sender | widget that called this event |
| _column | Index of column |
| _index1 | Index of row for compare |
| _index2 | Index of row for compare |
| _less | Comparsion result (write your value here) |
Definition at line 295 of file MyGUI_MultiListBox.h.