27 void setCaption(
const UString& _value)
override;
30 void setFontName(std::string_view _value)
override;
33 void setFontHeight(
int _value)
override;
36 void setItemName(
const UString& _value);
38 const UString& getItemName()
const;
41 void setItemData(
Any _data);
44 template<
typename ValueType>
47 return mOwner->getItemData<ValueType>(
this, _throw);
54 void setItemId(std::string_view _id);
56 const std::string& getItemId()
const;
59 size_t getItemIndex()
const;
65 template<
typename Type>
68 return mOwner->createItemChildT<Type>(
this);
77 void setItemChildVisible(
bool _visible);
85 bool getItemChecked()
const;
86 void setItemChecked(
bool _value);
90 IntSize _getContentSize()
const;
93 void initialiseOverride()
override;
94 void shutdownOverride()
override;
96 void setPropertyOverride(std::string_view _key, std::string_view _value)
override;
98 void onWidgetCreated(
Widget* _widget)
override;
105 IntSize mMinSize{10, 10};
106 Widget* mCheck{
nullptr};
107 bool mCheckValue{
false};