|
KDDockWidgets API Documentation
1.6
|
Go to the documentation of this file.
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
61 Q_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.")
131 return visibility == InitialVisibilityOption::StartHidden;
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;
189 Q_ENUM_NS(RestoreOptions)
281 Q_ENUM_NS(FrameOptions)
289 Q_ENUM_NS(TabWidgetOptions)
296 return QStringLiteral(
"none");
298 return QStringLiteral(
"left");
300 return QStringLiteral(
"top");
302 return QStringLiteral(
"right");
304 return QStringLiteral(
"bottom");
320 Q_DECLARE_OPERATORS_FOR_FLAGS(KDDockWidgets::FrameOptions)