Add another base class to MultiSplitter

MultiSplitter is the QWidget that holds the layout. But we also
want to support other types of layouts, such as MDI.
This commit is contained in:
Sergio Martins
2021-02-09 12:37:08 +00:00
parent f3ce208ec1
commit 2130a31dfd
6 changed files with 90 additions and 11 deletions

View File

@@ -70,6 +70,10 @@ inline bool isMinimized(QWindow *window)
#endif
namespace KDDockWidgets {
/// @brief LayoutGuestWidget is is the type that Item will host.
///
/// The layouting deals in items, represented by Item. Each item wraps a QWidget (or QQuickItem),
/// such widgets derive from LayoutGuestWidget.
class LayoutGuestWidget : public KDDockWidgets::QWidgetAdapter
, public LayoutGuestWidgetBase
{