GUIFramework 1.1.0
Framework for desktop GUI applications in C++.
|
Deserialize MainWindow from JSON. More...
#include <MainWindowDeserializer.h>
Public Member Functions | |
MainWindowDeserializer ()=default | |
template<typename MainWindowT > requires (std::is_base_of_v<BaseMainWindow, MainWindowT>) | |
void | deserialize (const std::string &componentName, const json::utility::jsonObject &description, std::unique_ptr< MainWindowT > &mainWindow) const |
MainWindow has no parent, you must manage the pointer. | |
~MainWindowDeserializer ()=default | |
Deserialize MainWindow from JSON.
Definition at line 20 of file MainWindowDeserializer.h.
|
default |
|
default |
void gui_framework::deserializers::MainWindowDeserializer::deserialize | ( | const std::string & | componentName, |
const json::utility::jsonObject & | description, | ||
std::unique_ptr< MainWindowT > & | mainWindow ) const |
MainWindow has no parent, you must manage the pointer.
WrongMenuTypeException |
Definition at line 36 of file MainWindowDeserializer.h.