15#include "kddockwidgets/core/indicators/ClassicDropIndicatorOverlay.h"
16#include "kddockwidgets/core/indicators/NullDropIndicatorOverlay.h"
17#include "kddockwidgets/core/indicators/SegmentedDropIndicatorOverlay.h"
18#include "core/Utils_p.h"
20#include "kddockwidgets/core/MainWindow.h"
21#include "kddockwidgets/core/TabBar.h"
22#include "kddockwidgets/core/Stack.h"
23#include "kddockwidgets/core/FloatingWindow.h"
41#include "views/ClassicIndicatorsWindow.h"
54 LayoutSaverOptions layoutSaverOptions,
62 DockWidgetOptions options,
63 LayoutSaverOptions layoutSaverOptions,
93 controller, parent ?
static_cast<QtQuick::View *
>(parent) :
nullptr);
101 auto mainwindow = parent
123 iconName = QStringLiteral(
"auto-hide");
126 iconName = QStringLiteral(
"unauto-hide");
139 iconName = QStringLiteral(
"dock-float");
142 iconName = QStringLiteral(
"dock-float");
152 if (!scalingFactorIsSupported(dpr))
158 if (scalingFactorIsSupported(1.5))
168 return new DropArea(controller, parent);
173 return new MDILayout(controller, parent);
178 return QUrl(QStringLiteral(
"qrc:/kddockwidgets/qtquick/views/qml/TitleBar.qml"));
183 return QUrl(QStringLiteral(
"qrc:/kddockwidgets/qtquick/views/qml/DockWidget.qml"));
188 return QUrl(QStringLiteral(
"qrc:/kddockwidgets/qtquick/views/qml/Group.qml"));
193 return QUrl(QStringLiteral(
"qrc:/kddockwidgets/qtquick/views/qml/FloatingWindow.qml"));
198 return QUrl(QStringLiteral(
"qrc:/kddockwidgets/qtquick/views/qml/TabBar.qml"));
203 return QUrl(QStringLiteral(
"qrc:/kddockwidgets/qtquick/views/qml/Separator.qml"));
221 auto factory = qobject_cast<ViewFactory *>(
Config::self().viewFactory());
224 qWarning() << Q_FUNC_INFO <<
"Expected a ViewFactory subclass, not"
Application-wide config to tune certain behaviours of the framework.
The MainWindow base-class. MainWindow and MainWindowBase are only split in two so we can share some c...
void addFile(const QString &fileName, const QSize &size, QIcon::Mode mode, QIcon::State state)
bool isEmpty() const const
The QQuickItem counter part of TabWidgetQuick. Handles GUI while TabWidget handles state.
Implements a QTabWidget derived class with support for docking and undocking KDockWidget::DockWidget ...