GUIFramework 1.1.0
Framework for desktop GUI applications in C++.
Loading...
Searching...
No Matches
ListTextListView.cpp
Go to the documentation of this file.
1#include "ListTextListView.h"
2
3using namespace std;
4
5namespace gui_framework
6{
7 ListTextListView::ListTextListView(const wstring& listViewName, const utility::ComponentSettings& settings, BaseComposite* parent) :
9 (
10 listViewName,
11 settings,
12 parent
13 )
14 {
15
16 }
17
19 {
20 return typeid(ListTextListView).hash_code();
21 }
22
23 json::JSONBuilder ListTextListView::getStructure() const
24 {
25 using json::utility::jsonObject;
26
27 json::JSONBuilder builder = BaseListTextListView::getStructure();
28 jsonObject& current = get<jsonObject>(builder[utility::to_string(windowName, ISerializable::getCodepage())]);
29
30 return builder;
31 }
32}
const std::wstring windowName
Base class for all windows that has children windows.
Base class for all list views in list mode with text items.
virtual json::JSONBuilder getStructure() const override
json::JSONBuilder getStructure() const override
ListTextListView(const std::wstring &listViewName, const utility::ComponentSettings &settings, BaseComposite *parent)
size_t getHash() const override
Used as key in creators.
string to_string(wstring_view stringToConvert, uint32_t codepage)
Definition Utility.cpp:41