MyGUI_MultiListItem.h
Go to the documentation of this file.
/*
* This source file is part of MyGUI. For the latest info, see http://mygui.info/
* Distributed under the MIT License
* (See accompanying file COPYING.MIT or copy at http://opensource.org/licenses/MIT)
*/
#ifndef MYGUI_MULTI_LIST_ITEM_H_
#define MYGUI_MULTI_LIST_ITEM_H_
#include "MyGUI_Prerequest.h"
#include "MyGUI_TextBox.h"
#include "MyGUI_TabControl.h"
#include "MyGUI_ResizingPolicy.h"
namespace MyGUI
{
class MYGUI_EXPORT MultiListItem : public TextBox
{
MYGUI_RTTI_DERIVED(MultiListItem)
public:
void setCaption(const UString& _value) override;
const UString& getCaption() const override;
void setItemResizingPolicy(ResizingPolicy _value);
void setItemWidth(int _value);
protected:
void initialiseOverride() override;
void shutdownOverride() override;
void setPropertyOverride(std::string_view _key, std::string_view _value) override;
private:
MultiListBox* getOwner() const;
};
} // namespace MyGUI
#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