GUIFramework 1.1.0
Framework for desktop GUI applications in C++.
Loading...
Searching...
No Matches
gui_framework::parsers::MainWindowParser Struct Reference

Parse MainWindowParser specific properties. More...

#include <MainWindowParser.h>

Inheritance diagram for gui_framework::parsers::MainWindowParser:
gui_framework::parsers::SeparateWindowParser gui_framework::parsers::BaseCompositeParser gui_framework::parsers::BaseComponentParser

Public Member Functions

 MainWindowParser ()
 
void parse (const json::utility::jsonObject &description) override
 
 ~MainWindowParser ()=default
 
- Public Member Functions inherited from gui_framework::parsers::SeparateWindowParser
 SeparateWindowParser ()=default
 
void parse (const json::utility::jsonObject &description) override
 
 ~SeparateWindowParser ()=default
 
- Public Member Functions inherited from gui_framework::parsers::BaseCompositeParser
 BaseCompositeParser ()
 
virtual ~BaseCompositeParser ()=default
 
- Public Member Functions inherited from gui_framework::parsers::BaseComponentParser
 BaseComponentParser ()
 
virtual ~BaseComponentParser ()=default
 

Public Attributes

uint16_t trayIconResource
 
std::vector< std::pair< std::wstring, BaseMainWindow::Function > > items
 
bool alwaysShowTrayIcon
 
- Public Attributes inherited from gui_framework::parsers::SeparateWindowParser
std::string pathToLargeIcon
 
std::string pathToSmallIcon
 
std::string onCloseFunctionName
 
std::string onCloseFunctionModuleName
 
- Public Attributes inherited from gui_framework::parsers::BaseCompositeParser
std::string windowFunctionName
 
BaseComposite::exitMode mode
 
std::string onDestroyFunctionName
 
std::string onDestroyFunctionModuleName
 
- Public Attributes inherited from gui_framework::parsers::BaseComponentParser
std::wstring className
 
utility::ComponentSettings settings
 
std::array< uint8_t, 3 > backgroundColor
 
std::array< uint8_t, 3 > textColor
 

Detailed Description

Parse MainWindowParser specific properties.

Definition at line 11 of file MainWindowParser.h.

Constructor & Destructor Documentation

◆ MainWindowParser()

gui_framework::parsers::MainWindowParser::MainWindowParser ( )

Definition at line 9 of file MainWindowParser.cpp.

◆ ~MainWindowParser()

gui_framework::parsers::MainWindowParser::~MainWindowParser ( )
default

Member Function Documentation

◆ parse()

void gui_framework::parsers::MainWindowParser::parse ( const json::utility::jsonObject & description)
overridevirtual

Reimplemented from gui_framework::parsers::BaseCompositeParser.

Definition at line 16 of file MainWindowParser.cpp.

Member Data Documentation

◆ alwaysShowTrayIcon

bool gui_framework::parsers::MainWindowParser::alwaysShowTrayIcon

Definition at line 15 of file MainWindowParser.h.

◆ items

std::vector<std::pair<std::wstring, BaseMainWindow::Function> > gui_framework::parsers::MainWindowParser::items

Definition at line 14 of file MainWindowParser.h.

◆ trayIconResource

uint16_t gui_framework::parsers::MainWindowParser::trayIconResource

Definition at line 13 of file MainWindowParser.h.


The documentation for this struct was generated from the following files: