19#ifndef KD_KDDOCKWIDGETS_H
20#define KD_KDDOCKWIDGETS_H
22#include "docks_export.h"
23#include "Qt5Qt6Compat_p.h"
30#define KDDOCKWIDGETS_SUPPORTS_NESTED_MAINWINDOWS
35class ItemBoxContainer;
61Q_ENUM_NS(MainWindowOptions)
112 : preferredSize(size)
118 , preferredSize(size)
122 QT_DEPRECATED_X(
"AddingOption is deprecated and will be removed in v1.5. Use InitialVisibilityOption instead.")
142 : preferredSize.height();
147 return preferredLength(o) > 0;
170 friend class Layouting::Item;
171 friend class Layouting::ItemBoxContainer;
172 friend class KDDockWidgets::MultiSplitter;
173 friend class KDDockWidgets::DropArea;
190Q_ENUM_NS(RestoreOptions)
251 return ::qHash(
static_cast<uint
>(loc), seed);
282Q_ENUM_NS(FrameOptions)
290Q_ENUM_NS(TabWidgetOptions)
313 return QStringLiteral(
"none");
315 return QStringLiteral(
"left");
317 return QStringLiteral(
"top");
319 return QStringLiteral(
"right");
321 return QStringLiteral(
"bottom");
337Q_DECLARE_OPERATORS_FOR_FLAGS(KDDockWidgets::FrameOptions)