GUIFramework 1.1.0
Framework for desktop GUI applications in C++.
Loading...
Searching...
No Matches
BaseTextListView.h
Go to the documentation of this file.
1#pragma once
2
3#include "BaseListView.h"
6
7namespace gui_framework
8{
12 public BaseListView,
14 {
15 protected:
16 virtual void updateLocalization(size_t index, std::wstring_view localizedText) override;
17
18 public:
19 BaseTextListView(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 ~BaseTextListView() = 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.
Base class for all list views with text items only.
virtual size_t getHash() const override=0
Used as key in creators.
virtual ~BaseTextListView()=default
Change localization of combo boxes, list views, tab controls, etc.
Provides adding text items for list views.