15#include "private/Frame_p.h"
16#include "private/TitleBar_p.h"
17#include "private/multisplitter/Separator_p.h"
18#include "private/FloatingWindow_p.h"
19#include "private/indicators/ClassicIndicators_p.h"
20#include "private/indicators/NullIndicators_p.h"
21#include "private/Utils_p.h"
22#include "private/TabWidget_p.h"
24#ifdef KDDOCKWIDGETS_QTWIDGETS
25#include "private/widgets/FrameWidget_p.h"
26#include "private/widgets/TitleBarWidget_p.h"
27#include "private/widgets/TabBarWidget_p.h"
28#include "private/widgets/SideBarWidget_p.h"
29#include "private/widgets/TabWidgetWidget_p.h"
31#include "private/widgets/FloatingWindowWidget_p.h"
32#include "private/indicators/SegmentedIndicators_p.h"
38#include "private/quick/FrameQuick_p.h"
39#include "private/quick/TitleBarQuick_p.h"
40#include "private/quick/TabWidgetQuick_p.h"
41#include "private/quick/TabBarQuick_p.h"
42#include "private/quick/FloatingWindowQuick_p.h"
57#ifdef KDDOCKWIDGETS_QTWIDGETS
89 FloatingWindowFlags flags)
const
135 auto button =
new Button(
parent);
145 return new FrameQuick(
parent, options);
179 qWarning() <<
"Segmented indicators not supported for QtQuick yet";
219 return QUrl(QStringLiteral(
"qrc:/kddockwidgets/private/quick/qml/TitleBar.qml"));
224 return QUrl(QStringLiteral(
"qrc:/kddockwidgets/private/quick/qml/DockWidget.qml"));
229 return QUrl(QStringLiteral(
"qrc:/kddockwidgets/private/quick/qml/Frame.qml"));
234 return QUrl(QStringLiteral(
"qrc:/kddockwidgets/private/quick/qml/FloatingWindow.qml"));
242 auto key = std::make_pair(type,
dpr);
244 if (
it != m_cachedIcons.
cend())
250 iconName = QStringLiteral(
"auto-hide");
253 iconName = QStringLiteral(
"unauto-hide");
266 iconName = QStringLiteral(
"dock-float");
269 iconName = QStringLiteral(
"dock-float");
280 m_cachedIcons.
insert(key, icon);
291 m_cachedIcons.
insert(key, icon);
298 m_cachedIcons.
clear();
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)
QMap::const_iterator cend() const const
QMap::const_iterator constFind(const Key &key) const const
QMap::iterator insert(const Key &key, const T &value)
QObject * parent() const const
T qobject_cast(QObject *object)
bool isEmpty() const const