MyGUI: MyGUI_MultiListItem.h Source File

MyGUI 3.4.3

MyGUI_MultiListItem.h
Go to the documentation of this file.
1/*
2 * This source file is part of MyGUI. For the latest info, see http://mygui.info/
3 * Distributed under the MIT License
4 * (See accompanying file COPYING.MIT or copy at http://opensource.org/licenses/MIT)
5 */
6
7#ifndef MYGUI_MULTI_LIST_ITEM_H_
8#define MYGUI_MULTI_LIST_ITEM_H_
9
10#include "MyGUI_Prerequest.h"
11#include "MyGUI_TextBox.h"
12#include "MyGUI_TabControl.h"
13#include "MyGUI_ResizingPolicy.h"
14
15namespace MyGUI
16{
17
21 class MYGUI_EXPORT MultiListItem : public TextBox
22 {
23 MYGUI_RTTI_DERIVED(MultiListItem)
24
25 public:
27 void setCaption(const UString& _value) override;
29 const UString& getCaption() const override;
30
31 void setItemResizingPolicy(ResizingPolicy _value);
32
33 void setItemWidth(int _value);
34
35 protected:
36 void initialiseOverride() override;
37 void shutdownOverride() override;
38
39 void setPropertyOverride(std::string_view _key, std::string_view _value) override;
40
41 private:
42 MultiListBox* getOwner() const;
43 };
44
45} // namespace MyGUI
46
47#endif // MYGUI_MULTI_LIST_ITEM_H_
MYGUI_EXPORT
#define MYGUI_EXPORT
Definition MyGUI_Platform.h:77
MyGUI_Prerequest.h
MYGUI_RTTI_DERIVED
#define MYGUI_RTTI_DERIVED(DerivedType)
Definition MyGUI_RTTI.h:69
MyGUI_ResizingPolicy.h
MyGUI_TabControl.h
MyGUI_TextBox.h
MyGUI::MultiListBox
widget description should be here.
Definition MyGUI_MultiListBox.h:43
MyGUI::MultiListItem
widget description should be here.
Definition MyGUI_MultiListItem.h:22
MyGUI::MultiListItem::setPropertyOverride
void setPropertyOverride(std::string_view _key, std::string_view _value) override
Definition MyGUI_MultiListItem.cpp:56
MyGUI::MultiListItem::setItemWidth
void setItemWidth(int _value)
Definition MyGUI_MultiListItem.cpp:49
MyGUI::MultiListItem::initialiseOverride
void initialiseOverride() override
Definition MyGUI_MultiListItem.cpp:14
MyGUI::MultiListItem::setCaption
void setCaption(const UString &_value) override
Definition MyGUI_MultiListItem.cpp:24
MyGUI::MultiListItem::getCaption
const UString & getCaption() const override
Definition MyGUI_MultiListItem.cpp:33
MyGUI::MultiListItem::setItemResizingPolicy
void setItemResizingPolicy(ResizingPolicy _value)
Definition MyGUI_MultiListItem.cpp:42
MyGUI::MultiListItem::shutdownOverride
void shutdownOverride() override
Definition MyGUI_MultiListItem.cpp:19
MyGUI::TextBox
widget description should be here.
Definition MyGUI_TextBox.h:20
MyGUI::UString
A UTF-16 string with implicit conversion to/from std::string and std::wstring.
Definition MyGUI_UString.h:144
MyGUI
Definition MyGUI_ActionController.h:15
MyGUI::ResizingPolicy
Definition MyGUI_ResizingPolicy.h:16