KDDockWidgets API Documentation 2.0
|
#include <LayoutSaver_c.h>
Public Member Functions | |
LayoutSaver_wrapper () | |
~LayoutSaver_wrapper () | |
bool | restoreFromFile (const QString &jsonFilename) |
bool | saveToFile (const QString &jsonFilename) |
Public Member Functions inherited from KDDockWidgets::LayoutSaver | |
LayoutSaver (RestoreOptions options=RestoreOption_None) | |
Constructor. Construction on the stack is suggested. | |
~LayoutSaver () | |
Destructor. | |
Private * | dptr () const |
Vector< Core::DockWidget * > | restoredDockWidgets () const |
returns a list of dock widgets which were restored since the last restoreLayout() or restoreFromFile() | |
bool | restoreFromFile (const QString &jsonFilename) |
restores the layout from a JSON file | |
bool | restoreLayout (const QByteArray &) |
restores the layout from a byte array All MainWindows and DockWidgets should have been created before calling this function. | |
bool | saveToFile (const QString &jsonFilename) |
saves the layout to JSON file | |
QByteArray | serializeLayout () const |
saves the layout into a byte array | |
void | setAffinityNames (const Vector< QString > &affinityNames) |
Sets the list of affinity names for which restore and save will be applied on. Allows to save/restore only a subset of the windows. Empty by default, all windows are subject to save/restore. Any window with empty affinity will also be subject to save/restore, regardless of affinityNames . | |
Static Public Member Functions | |
static bool | restoreInProgress () |
Static Public Member Functions inherited from KDDockWidgets::LayoutSaver | |
static bool | restoreInProgress () |
returns whether a restore (restoreLayout) is in progress | |
Definition at line 16 of file LayoutSaver_c.h.
KDDockWidgetsBindings_wrappersNS::LayoutSaver_wrapper::~LayoutSaver_wrapper | ( | ) |
Definition at line 48 of file LayoutSaver_c.cpp.
KDDockWidgetsBindings_wrappersNS::LayoutSaver_wrapper::LayoutSaver_wrapper | ( | ) |
Definition at line 32 of file LayoutSaver_c.cpp.
bool KDDockWidgetsBindings_wrappersNS::LayoutSaver_wrapper::restoreFromFile | ( | const QString & | jsonFilename | ) |
Definition at line 36 of file LayoutSaver_c.cpp.
|
static |
Definition at line 40 of file LayoutSaver_c.cpp.
Referenced by c_static_KDDockWidgets__LayoutSaver__restoreInProgress().
bool KDDockWidgetsBindings_wrappersNS::LayoutSaver_wrapper::saveToFile | ( | const QString & | jsonFilename | ) |
Definition at line 44 of file LayoutSaver_c.cpp.