16 virtual void updateLocalization(
size_t index, std::wstring_view localizedText)
override;
26 virtual size_t getHash()
const override = 0;
30 virtual LRESULT
addTextIconItem(std::string_view localizationKey,
const std::filesystem::path& pathToIcon)
override final;
32 virtual LRESULT
insertTextIconItem(std::string_view localizationKey,
const std::filesystem::path& pathToIcon,
size_t index)
override final;
34 virtual LRESULT
changeTextIconItem(std::string_view localizationKey,
const std::filesystem::path& pathToIcon,
size_t index)
override final;
Base class for all list views with text and icon items.
BaseTextIconListView(const std::wstring &listViewName, const utility::ComponentSettings &settings, BaseComposite *parent, utility::iconListViewType type, uint16_t iconsWidth, uint16_t iconsHeight, size_t count=standard_sizes::defaultImagesCount)
utility::IconsHolder icons
virtual size_t getHash() const override=0
Used as key in creators.
virtual ~BaseTextIconListView()=default
virtual json::JSONBuilder getStructure() const override
virtual void updateLocalization(size_t index, std::wstring_view localizedText) override
virtual LRESULT insertTextIconItem(std::string_view localizationKey, const std::filesystem::path &pathToIcon, size_t index) override final
virtual LRESULT changeTextIconItem(std::string_view localizationKey, const std::filesystem::path &pathToIcon, size_t index) override final
virtual LRESULT addTextIconItem(std::string_view localizationKey, const std::filesystem::path &pathToIcon) override final
Change localization of combo boxes, list views, tab controls, etc.
Provides adding text and icon items for list views.
virtual LRESULT addTextIconItem(std::wstring_view text, const std::filesystem::path &pathToIcon)
virtual LRESULT changeTextIconItem(std::wstring_view text, const std::filesystem::path &pathToIcon, size_t index)
virtual LRESULT insertTextIconItem(std::wstring_view text, const std::filesystem::path &pathToIcon, size_t index)