KDDockWidgets API Documentation 2.0
Loading...
Searching...
No Matches
KDDockWidgets.cpp
Go to the documentation of this file.
1/*
2 This file is part of KDDockWidgets.
3
4 SPDX-FileCopyrightText: 2019 Klarälvdalens Datakonsult AB, a KDAB Group company <info@kdab.com>
5 Author: SĂ©rgio Martins <sergio.martins@kdab.com>
6
7 SPDX-License-Identifier: GPL-2.0-only OR GPL-3.0-only
8
9 Contact KDAB at <info@kdab.com> for commercial licensing options.
10*/
11
12#include "Config.h"
13#include "kddockwidgets/KDDockWidgets.h"
14#include "core/layouting/Item_p.h"
15#include "core/Platform.h"
16
17#ifdef KDDW_FRONTEND_QTWIDGETS
18#include "qtwidgets/Platform.h"
19#endif
20
21#ifdef KDDW_FRONTEND_QTQUICK
22#include "qtquick/Platform.h"
23#endif
24
25#ifdef KDDW_FRONTEND_FLUTTER
26#include "flutter/Platform.h"
27#endif
28
30{
31 if (Core::Platform::instance())
32 return;
33
34 switch (type) {
35 case FrontendType::QtWidgets:
36#ifdef KDDW_FRONTEND_QTWIDGETS
38#endif
39 break;
40 case FrontendType::QtQuick:
41#ifdef KDDW_FRONTEND_QTQUICK
43#endif
44 break;
45 case FrontendType::Flutter:
46 // Nothing to do, called from Dart
47 break;
48 }
49}
50
52{
53 return "com.kdab.kddockwidgets";
54}
Application-wide config to tune certain behaviours of the framework.
implements functions specific to a particular platform A platform can be for example qtwidgets,...
implements functions specific to a particular platform A platform can be for example qtwidgets,...
void DOCKS_EXPORT initFrontend(FrontendType)
Initializes the desired frontend This function should be called before using any docking....
DOCKS_EXPORT const char * spdlogLoggerName()

© Klarälvdalens Datakonsult AB (KDAB)
"The Qt, C++ and OpenGL Experts"
https://www.kdab.com/
KDDockWidgets
Advanced Dock Widget Framework for Qt
https://www.kdab.com/development-resources/qt-tools/kddockwidgets/
Generated by doxygen 1.9.8