GUIFramework 1.1.0
Framework for desktop GUI applications in C++.
Loading...
Searching...
No Matches
BaseListTextListView.h
Go to the documentation of this file.
1#pragma once
2
3#include "BaseListListView.h"
6
7namespace gui_framework
8{
12 public BaseListListView,
14 {
15 protected:
16 virtual void updateLocalization(size_t index, std::wstring_view localizedText) override;
17
18 public:
19 BaseListTextListView(const std::wstring& listViewName, const utility::ComponentSettings& settings, BaseComposite* parent);
20
23 virtual size_t getHash() const override = 0;
24
25 virtual json::JSONBuilder getStructure() const override;
26
27 virtual LRESULT addTextItem(std::string_view localizationKey) final override;
28
29 virtual LRESULT insertTextItem(std::string_view localizationKey, size_t index) final override;
30
31 virtual LRESULT changeTextItem(std::string_view localizationKey, size_t index) final override;
32
33 virtual ~BaseListTextListView() = default;
34
35 using interfaces::ITextListView::addTextItem;
36
37 using interfaces::ITextListView::insertTextItem;
38
39 using interfaces::ITextListView::changeTextItem;
40 };
41}
#define GUI_FRAMEWORK_API
Base class for all windows that has children windows.
Base class for all list views in list mode.
Base class for all list views in list mode with text items.
virtual ~BaseListTextListView()=default
virtual size_t getHash() const override=0
Used as key in creators.
Change localization of combo boxes, list views, tab controls, etc.
Provides adding text items for list views.