KDDockWidgets API Documentation 2.1
Loading...
Searching...
No Matches
Namespaces | Functions
LayoutSaver.cpp File Reference

Class to save and restore dock widget layouts. More...

#include "LayoutSaver.h"
#include "Config.h"
#include "core/ViewFactory.h"
#include "core/LayoutSaver_p.h"
#include "core/Logging_p.h"
#include "core/Position_p.h"
#include "core/Utils_p.h"
#include "core/View_p.h"
#include "core/DockRegistry.h"
#include "core/Platform.h"
#include "core/Layout.h"
#include "core/Group.h"
#include "core/FloatingWindow.h"
#include "core/DockWidget.h"
#include "core/DockWidget_p.h"
#include "core/MainWindow.h"
#include "core/nlohmann_helpers_p.h"
#include "core/layouting/Item_p.h"
#include <iostream>
#include <fstream>
#include <cmath>
#include <utility>
Include dependency graph for LayoutSaver.cpp:

Go to the source code of this file.

Namespaces

namespace  KDDockWidgets
 Class to abstract QAction, so code still works with QtQuick and Flutter.
 

Functions

void KDDockWidgets::from_json (const nlohmann::json &j, LayoutSaver::Layout &layout)
 
void KDDockWidgets::from_json (const nlohmann::json &j, LayoutSaver::ScreenInfo &screenInfo)
 
void KDDockWidgets::from_json (const nlohmann::json &json, LayoutSaver::DockWidget &dw)
 
void KDDockWidgets::from_json (const nlohmann::json &json, LayoutSaver::FloatingWindow &window)
 
void KDDockWidgets::from_json (const nlohmann::json &json, LayoutSaver::Group &f)
 
void KDDockWidgets::from_json (const nlohmann::json &json, LayoutSaver::MainWindow &mw)
 
void KDDockWidgets::from_json (const nlohmann::json &json, LayoutSaver::MultiSplitter &s)
 
void KDDockWidgets::from_json (const nlohmann::json &json, LayoutSaver::Placeholder &placeHolder)
 
void KDDockWidgets::from_json (const nlohmann::json &json, LayoutSaver::Position &pos)
 
void KDDockWidgets::from_json (const nlohmann::json &json, typename LayoutSaver::DockWidget::List &list)
 
InternalRestoreOptions internalRestoreOptions (RestoreOptions options)
 
template<typename T >
KDDockWidgets::jsonValue (const nlohmann::json &json, const char *name, const T &defaultValue)
 
void KDDockWidgets::to_json (nlohmann::json &j, const LayoutSaver::Layout &layout)
 
void KDDockWidgets::to_json (nlohmann::json &json, const LayoutSaver::DockWidget &dw)
 
void KDDockWidgets::to_json (nlohmann::json &json, const LayoutSaver::FloatingWindow &window)
 
void KDDockWidgets::to_json (nlohmann::json &json, const LayoutSaver::Group &f)
 
void KDDockWidgets::to_json (nlohmann::json &json, const LayoutSaver::MainWindow &mw)
 
void KDDockWidgets::to_json (nlohmann::json &json, const LayoutSaver::MultiSplitter &s)
 
void KDDockWidgets::to_json (nlohmann::json &json, const LayoutSaver::Placeholder &placeHolder)
 
void KDDockWidgets::to_json (nlohmann::json &json, const LayoutSaver::Position &pos)
 
void KDDockWidgets::to_json (nlohmann::json &json, const LayoutSaver::ScreenInfo &screenInfo)
 
void KDDockWidgets::to_json (nlohmann::json &json, const typename LayoutSaver::DockWidget::List &list)
 
template<typename Type >
void KDDockWidgets::to_json (nlohmann::json &json, const typename Type::List &list)
 

Detailed Description

Class to save and restore dock widget layouts.

Author
Sérgio Martins <sergi.nosp@m.o.ma.nosp@m.rtins.nosp@m.@kda.nosp@m.b.com>

Definition in file LayoutSaver.cpp.

Function Documentation

◆ internalRestoreOptions()

InternalRestoreOptions internalRestoreOptions ( RestoreOptions  options)
inline

© Klarälvdalens Datakonsult AB (KDAB)
"The Qt, C++ and OpenGL Experts"
https://www.kdab.com/
KDDockWidgets
Advanced Dock Widget Framework for Qt
https://www.kdab.com/development-resources/qt-tools/kddockwidgets/
Generated by doxygen 1.9.8