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

Data Structures | |
| struct | TabItemInfo |
Public Types | |
| typedef RTTIBase | Base |
| typedef TabControl | RTTIBase |
| using | VectorTabItemInfo = std::vector<TabItemInfo> |
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 () |
Static Public Attributes | |
| static constexpr int | DEFAULT_WIDTH = -1 |
Friends | |
| class | TabItem |
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 26 of file MyGUI_TabControl.h.
Definition at line 32 of file MyGUI_TabControl.h.
Definition at line 32 of file MyGUI_TabControl.h.
| using MyGUI::TabControl::VectorTabItemInfo = std::vector<TabItemInfo> |
Definition at line 51 of file MyGUI_TabControl.h.
|
overridevirtual |
Reimplemented from MyGUI::IItemContainer.
Definition at line 750 of file MyGUI_TabControl.cpp.
|
protected |
Definition at line 427 of file MyGUI_TabControl.cpp.
Reimplemented from MyGUI::IItemContainer.
Definition at line 760 of file MyGUI_TabControl.cpp.
|
overridevirtual |
Reimplemented from MyGUI::IItemContainer.
Definition at line 745 of file MyGUI_TabControl.cpp.
Reimplemented from MyGUI::IItemContainer.
Definition at line 770 of file MyGUI_TabControl.cpp.
Definition at line 435 of file MyGUI_TabControl.cpp.
|
protected |
Definition at line 481 of file MyGUI_TabControl.cpp.
Definition at line 452 of file MyGUI_TabControl.cpp.
Reimplemented from MyGUI::IItemContainer.
Definition at line 755 of file MyGUI_TabControl.cpp.
Reimplemented from MyGUI::IItemContainer.
Definition at line 765 of file MyGUI_TabControl.cpp.
Definition at line 389 of file MyGUI_TabControl.cpp.
Add an item to the end of a array.
Definition at line 647 of file MyGUI_TabControl.cpp.
Move all elements so specified becomes visible.
Definition at line 692 of file MyGUI_TabControl.cpp.
Move all elements so specified becomes visible.
Definition at line 265 of file MyGUI_TabControl.cpp.
| void MyGUI::TabControl::beginToItemFirst | ( | ) |
Move all elements so first becomes visible.
Definition at line 697 of file MyGUI_TabControl.cpp.
| void MyGUI::TabControl::beginToItemLast | ( | ) |
Move all elements so last becomes visible.
Definition at line 703 of file MyGUI_TabControl.cpp.
| void MyGUI::TabControl::beginToItemSelected | ( | ) |
Move all elements so selected becomes visible.
Definition at line 709 of file MyGUI_TabControl.cpp.
Clear an item data.
Definition at line 677 of file MyGUI_TabControl.cpp.
Clear an item data at a specified position.
Definition at line 672 of file MyGUI_TabControl.cpp.
Search item, returns the position of the first occurrence in array or ITEM_NONE if item not found.
Definition at line 565 of file MyGUI_TabControl.cpp.
Search item, returns the position of the first occurrence in array or ITEM_NONE if item not found.
Definition at line 575 of file MyGUI_TabControl.cpp.
Search item, returns the item of the first occurrence in array or nullptr if item not found.
Definition at line 585 of file MyGUI_TabControl.cpp.
| bool MyGUI::TabControl::getButtonAutoWidth | ( | ) | const |
Get button auto width flag
Definition at line 730 of file MyGUI_TabControl.cpp.
| int MyGUI::TabControl::getButtonDefaultWidth | ( | ) | const |
Get default button width
Definition at line 725 of file MyGUI_TabControl.cpp.
Get button width.
Definition at line 720 of file MyGUI_TabControl.cpp.
Get button width at a specified position.
Definition at line 511 of file MyGUI_TabControl.cpp.
|
inlinestatic |
Definition at line 32 of file MyGUI_TabControl.h.
| size_t MyGUI::TabControl::getIndexSelected | ( | ) | const |
Get index of selected item (ITEM_NONE if none selected)
Definition at line 657 of file MyGUI_TabControl.cpp.
Get item from specified position.
Definition at line 523 of file MyGUI_TabControl.cpp.
| size_t MyGUI::TabControl::getItemCount | ( | ) | const |
Get number of items.
Definition at line 637 of file MyGUI_TabControl.cpp.
Get item data.
Definition at line 144 of file MyGUI_TabControl.h.
Get item data from specified position.
Definition at line 137 of file MyGUI_TabControl.h.
Get item index.
Definition at line 555 of file MyGUI_TabControl.cpp.
Get item name.
Definition at line 687 of file MyGUI_TabControl.cpp.
Get item name from specified position.
Definition at line 517 of file MyGUI_TabControl.cpp.
| TabItem * MyGUI::TabControl::getItemSelected | ( | ) | const |
Get selected item (nullptr if none selected)
Definition at line 595 of file MyGUI_TabControl.cpp.
| bool MyGUI::TabControl::getSmoothShow | ( | ) | const |
Get smooth sheets showing flag
Definition at line 740 of file MyGUI_TabControl.cpp.
|
inlineoverridevirtual |
Get type name as string
Reimplemented from MyGUI::Widget.
Definition at line 32 of file MyGUI_TabControl.h.
|
overrideprotectedvirtual |
Reimplemented from MyGUI::Widget.
Definition at line 20 of file MyGUI_TabControl.cpp.
| TabItem * MyGUI::TabControl::insertItem | ( | TabItem * | _to, |
| const UString & | _name, | ||
| Any | _data = Any::Null ) |
Insert an item into a array.
Definition at line 642 of file MyGUI_TabControl.cpp.
| TabItem * MyGUI::TabControl::insertItemAt | ( | size_t | _index, |
| const UString & | _name, | ||
| Any | _data = Any::Null ) |
Insert an item into a array at a specified position.
Definition at line 151 of file MyGUI_TabControl.cpp.
Compare with selected type
Definition at line 32 of file MyGUI_TabControl.h.
Compare with selected type
Reimplemented from MyGUI::Widget.
Definition at line 32 of file MyGUI_TabControl.h.
|
protected |
Definition at line 228 of file MyGUI_TabControl.cpp.
|
protected |
Definition at line 207 of file MyGUI_TabControl.cpp.
Reimplemented from MyGUI::Widget.
Definition at line 133 of file MyGUI_TabControl.cpp.
| void MyGUI::TabControl::removeAllItems | ( | ) |
Remove all items.
Definition at line 535 of file MyGUI_TabControl.cpp.
Remove item.
Definition at line 652 of file MyGUI_TabControl.cpp.
Remove item at a specified position.
Definition at line 529 of file MyGUI_TabControl.cpp.
Enable or disable button auto width
Definition at line 310 of file MyGUI_TabControl.cpp.
Set default button width and disable autowidth mode
Definition at line 302 of file MyGUI_TabControl.cpp.
| void MyGUI::TabControl::setButtonWidth | ( | TabItem * | _item, |
| int | _width = DEFAULT_WIDTH ) |
Set button width.
Definition at line 715 of file MyGUI_TabControl.cpp.
| void MyGUI::TabControl::setButtonWidthAt | ( | size_t | _index, |
| int | _width = DEFAULT_WIDTH ) |
Set button width at a specified position.
Definition at line 329 of file MyGUI_TabControl.cpp.
Set widget position and size
Reimplemented from MyGUI::ICroppedRectangle.
Definition at line 200 of file MyGUI_TabControl.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 364 of file MyGUI_TabControl.cpp.
Replace an item data.
Definition at line 667 of file MyGUI_TabControl.cpp.
Replace an item data at a specified position.
Definition at line 505 of file MyGUI_TabControl.cpp.
Replace an item name.
Definition at line 682 of file MyGUI_TabControl.cpp.
Replace an item name at a specified position.
Definition at line 347 of file MyGUI_TabControl.cpp.
Select item.
Definition at line 662 of file MyGUI_TabControl.cpp.
Set widget position (position of left top corner)
Reimplemented from MyGUI::ICroppedRectangle.
Definition at line 186 of file MyGUI_TabControl.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.
|
overrideprotectedvirtual |
Reimplemented from MyGUI::Widget.
Definition at line 610 of file MyGUI_TabControl.cpp.
Set widget size
Reimplemented from MyGUI::ICroppedRectangle.
Definition at line 193 of file MyGUI_TabControl.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.
Enable or disable smooth sheets showing
Definition at line 735 of file MyGUI_TabControl.cpp.
|
overrideprotectedvirtual |
Reimplemented from MyGUI::Widget.
Definition at line 113 of file MyGUI_TabControl.cpp.
Definition at line 174 of file MyGUI_TabControl.cpp.
|
protected |
Definition at line 775 of file MyGUI_TabControl.cpp.
Definition at line 30 of file MyGUI_TabControl.h.
Definition at line 53 of file MyGUI_TabControl.h.
| EventPair<EventHandle_WidgetSizeT, EventHandle_TabPtrSizeT> MyGUI::TabControl::eventTabChangeSelect |
Event : Active TabControl sheet changed
signature : void method(MyGUI::TabControl* _sender, size_t _index)
| _sender | widget that called this event |
| _index | Index of selected sheet |
Definition at line 218 of file MyGUI_TabControl.h.