KDDockWidgets API Documentation 2.1
|
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>
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 > | |
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) |
Class to save and restore dock widget layouts.
Definition in file LayoutSaver.cpp.
|
inline |
Definition at line 72 of file LayoutSaver.cpp.
References KDDockWidgets::RestoreOption_AbsoluteFloatingDockWindows, KDDockWidgets::RestoreOption_None, and KDDockWidgets::RestoreOption_RelativeToMainWindow.