KDDockWidgets API Documentation  1.5
Functions
LayoutSaver.cpp File Reference

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

#include "LayoutSaver.h"
#include "Config.h"
#include "MainWindowBase.h"
#include "DockWidgetBase.h"
#include "FrameworkWidgetFactory.h"
#include "private/LayoutSaver_p.h"
#include "private/DockRegistry_p.h"
#include "private/DockWidgetBase_p.h"
#include "private/FloatingWindow_p.h"
#include "private/Frame_p.h"
#include "private/LayoutWidget_p.h"
#include "private/Logging_p.h"
#include "private/Position_p.h"
#include <qmath.h>
#include <QDebug>
#include <QFile>
Include dependency graph for LayoutSaver.cpp:

Go to the source code of this file.

Functions

InternalRestoreOptions internalRestoreOptions (RestoreOptions options)
 
static QVariantList stringListToVariant (const QStringList &strs)
 
static QStringList variantToStringList (const QVariantList &variantList)
 

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

◆ stringListToVariant()

static QVariantList stringListToVariant ( const QStringList strs)
static

Definition at line 79 of file LayoutSaver.cpp.

References QList::size().

◆ variantToStringList()

static QStringList variantToStringList ( const QVariantList &  variantList)
static

Definition at line 89 of file LayoutSaver.cpp.

References QList::push_back(), and QList::reserve().


© 2019-2022 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 on Mon Mar 7 2022 02:01:21 for KDDockWidgets API Documentation by doxygen 1.8.20