KDDockWidgets API Documentation 2.1
Loading...
Searching...
No Matches
KDDWBindingsCore/DropArea_c.h
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#include "kddockwidgets_export.h"
12#include "core/DropArea.h"
13#include <core/View.h>
14#include <Item_p.h>
16#include <core/DockWidget.h>
17#include <KDDockWidgets.h>
18#include <core/Group.h>
19#include <geometry_helpers_p.h>
20#include <FloatingWindow.h>
21#include "core/MainWindow.h"
22
24namespace KDDWBindingsCore {
26{
27public:
30 void _addDockWidget(KDDockWidgets::Core::DockWidget *dw, KDDockWidgets::Location location, KDDockWidgets::Core::Item *relativeTo, KDDockWidgets::InitialOption initialOption);
33 void addWidget(KDDockWidgets::Core::View *widget, KDDockWidgets::Location location, KDDockWidgets::Core::Item *relativeToItem = nullptr, KDDockWidgets::InitialOption option = KDDockWidgets::DefaultSizeMode::Fair);
34 KDDockWidgets::Core::Item *centralFrame() const;
39 bool hasSingleFloatingGroup() const;
40 bool hasSingleGroup() const;
41 bool isMDIWrapper() const;
42 void layoutEqually();
45 void removeHover();
50};
51}
52}
53extern "C" {
54// KDDockWidgets::Core::DropArea::DropArea(KDDockWidgets::Core::View * parent, QFlags<KDDockWidgets::MainWindowOption> options, bool isMDIWrapper)
55DOCKS_EXPORT void *c_KDDockWidgets__Core__DropArea__constructor_View_MainWindowOptions_bool(void *parent_, int options_, bool isMDIWrapper);
56// KDDockWidgets::Core::DropArea::_addDockWidget(KDDockWidgets::Core::DockWidget * dw, KDDockWidgets::Location location, KDDockWidgets::Core::Item * relativeTo, KDDockWidgets::InitialOption initialOption)
57DOCKS_EXPORT void c_KDDockWidgets__Core__DropArea___addDockWidget_DockWidget_Location_Item_InitialOption(void *thisObj, void *dw_, int location, void *relativeTo_, void *initialOption_);
58// KDDockWidgets::Core::DropArea::addDockWidget(KDDockWidgets::Core::DockWidget * dw, KDDockWidgets::Location location, KDDockWidgets::Core::DockWidget * relativeTo, KDDockWidgets::InitialOption initialOption)
59DOCKS_EXPORT void c_KDDockWidgets__Core__DropArea__addDockWidget_DockWidget_Location_DockWidget_InitialOption(void *thisObj, void *dw_, int location, void *relativeTo_, void *initialOption_);
60// KDDockWidgets::Core::DropArea::addMultiSplitter(KDDockWidgets::Core::DropArea * splitter, KDDockWidgets::Location location, KDDockWidgets::Core::Group * relativeToGroup, KDDockWidgets::InitialOption option)
61DOCKS_EXPORT void c_KDDockWidgets__Core__DropArea__addMultiSplitter_DropArea_Location_Group_InitialOption(void *thisObj, void *splitter_, int location, void *relativeToGroup_, void *option_);
62// KDDockWidgets::Core::DropArea::addWidget(KDDockWidgets::Core::View * widget, KDDockWidgets::Location location, KDDockWidgets::Core::Item * relativeToItem, KDDockWidgets::InitialOption option)
63DOCKS_EXPORT void c_KDDockWidgets__Core__DropArea__addWidget_View_Location_Item_InitialOption(void *thisObj, void *widget_, int location, void *relativeToItem_, void *option_);
64// KDDockWidgets::Core::DropArea::centralFrame() const
65DOCKS_EXPORT void *c_KDDockWidgets__Core__DropArea__centralFrame(void *thisObj);
66// KDDockWidgets::Core::DropArea::containsDockWidget(KDDockWidgets::Core::DockWidget * arg__1) const
67DOCKS_EXPORT bool c_KDDockWidgets__Core__DropArea__containsDockWidget_DockWidget(void *thisObj, void *arg__1_);
68// KDDockWidgets::Core::DropArea::createCentralGroup(QFlags<KDDockWidgets::MainWindowOption> options)
70// KDDockWidgets::Core::DropArea::currentDropLocation() const
71DOCKS_EXPORT int c_KDDockWidgets__Core__DropArea__currentDropLocation(void *thisObj);
72// KDDockWidgets::Core::DropArea::dropIndicatorOverlay() const
73DOCKS_EXPORT void *c_KDDockWidgets__Core__DropArea__dropIndicatorOverlay(void *thisObj);
74// KDDockWidgets::Core::DropArea::hasSingleFloatingGroup() const
75DOCKS_EXPORT bool c_KDDockWidgets__Core__DropArea__hasSingleFloatingGroup(void *thisObj);
76// KDDockWidgets::Core::DropArea::hasSingleGroup() const
77DOCKS_EXPORT bool c_KDDockWidgets__Core__DropArea__hasSingleGroup(void *thisObj);
78// KDDockWidgets::Core::DropArea::isMDIWrapper() const
79DOCKS_EXPORT bool c_KDDockWidgets__Core__DropArea__isMDIWrapper(void *thisObj);
80// KDDockWidgets::Core::DropArea::layoutEqually()
81DOCKS_EXPORT void c_KDDockWidgets__Core__DropArea__layoutEqually(void *thisObj);
82// KDDockWidgets::Core::DropArea::layoutParentContainerEqually(KDDockWidgets::Core::DockWidget * arg__1)
83DOCKS_EXPORT void c_KDDockWidgets__Core__DropArea__layoutParentContainerEqually_DockWidget(void *thisObj, void *arg__1_);
84// KDDockWidgets::Core::DropArea::mdiDockWidgetWrapper() const
85DOCKS_EXPORT void *c_KDDockWidgets__Core__DropArea__mdiDockWidgetWrapper(void *thisObj);
86// KDDockWidgets::Core::DropArea::removeHover()
87DOCKS_EXPORT void c_KDDockWidgets__Core__DropArea__removeHover(void *thisObj);
88// KDDockWidgets::Core::DropArea::setParentView_impl(KDDockWidgets::Core::View * parent)
89DOCKS_EXPORT void c_KDDockWidgets__Core__DropArea__setParentView_impl_View(void *thisObj, void *parent_);
90DOCKS_EXPORT void c_KDDockWidgets__Core__DropArea__destructor(void *thisObj);
91DOCKS_EXPORT void c_KDDockWidgets__Core__DropArea__registerVirtualMethodCallback(void *ptr, void *callback, int methodId);
92DOCKS_EXPORT void c_KDDockWidgets__Core__DropArea_Finalizer(void *cppObj);
93}
DOCKS_EXPORT void c_KDDockWidgets__Core__DropArea__addWidget_View_Location_Item_InitialOption(void *thisObj, void *widget_, int location, void *relativeToItem_, void *option_)
DOCKS_EXPORT void c_KDDockWidgets__Core__DropArea___addDockWidget_DockWidget_Location_Item_InitialOption(void *thisObj, void *dw_, int location, void *relativeTo_, void *initialOption_)
DOCKS_EXPORT void c_KDDockWidgets__Core__DropArea__addDockWidget_DockWidget_Location_DockWidget_InitialOption(void *thisObj, void *dw_, int location, void *relativeTo_, void *initialOption_)
DOCKS_EXPORT void c_KDDockWidgets__Core__DropArea__setParentView_impl_View(void *thisObj, void *parent_)
DOCKS_EXPORT void * c_KDDockWidgets__Core__DropArea__mdiDockWidgetWrapper(void *thisObj)
DOCKS_EXPORT void * c_KDDockWidgets__Core__DropArea__constructor_View_MainWindowOptions_bool(void *parent_, int options_, bool isMDIWrapper)
DOCKS_EXPORT void c_KDDockWidgets__Core__DropArea__removeHover(void *thisObj)
DOCKS_EXPORT void * c_KDDockWidgets__Core__DropArea__dropIndicatorOverlay(void *thisObj)
DOCKS_EXPORT void c_KDDockWidgets__Core__DropArea__registerVirtualMethodCallback(void *ptr, void *callback, int methodId)
DOCKS_EXPORT void c_KDDockWidgets__Core__DropArea__layoutParentContainerEqually_DockWidget(void *thisObj, void *arg__1_)
DOCKS_EXPORT void c_KDDockWidgets__Core__DropArea__addMultiSplitter_DropArea_Location_Group_InitialOption(void *thisObj, void *splitter_, int location, void *relativeToGroup_, void *option_)
DOCKS_EXPORT bool c_KDDockWidgets__Core__DropArea__containsDockWidget_DockWidget(void *thisObj, void *arg__1_)
DOCKS_EXPORT void c_KDDockWidgets__Core__DropArea_Finalizer(void *cppObj)
DOCKS_EXPORT int c_KDDockWidgets__Core__DropArea__currentDropLocation(void *thisObj)
DOCKS_EXPORT void * c_static_KDDockWidgets__Core__DropArea__createCentralGroup_MainWindowOptions(int options_)
DOCKS_EXPORT bool c_KDDockWidgets__Core__DropArea__hasSingleGroup(void *thisObj)
DOCKS_EXPORT void c_KDDockWidgets__Core__DropArea__layoutEqually(void *thisObj)
DOCKS_EXPORT bool c_KDDockWidgets__Core__DropArea__isMDIWrapper(void *thisObj)
DOCKS_EXPORT bool c_KDDockWidgets__Core__DropArea__hasSingleFloatingGroup(void *thisObj)
DOCKS_EXPORT void c_KDDockWidgets__Core__DropArea__destructor(void *thisObj)
DOCKS_EXPORT void * c_KDDockWidgets__Core__DropArea__centralFrame(void *thisObj)
File with KDDockWidgets namespace-level enums and methods.
void(* Callback_setParentView_impl)(void *, KDDockWidgets::Core::View *parent)
void _addDockWidget(KDDockWidgets::Core::DockWidget *dw, KDDockWidgets::Location location, KDDockWidgets::Core::Item *relativeTo, KDDockWidgets::InitialOption initialOption)
KDDockWidgets::Core::DropIndicatorOverlay * dropIndicatorOverlay() const
void addMultiSplitter(KDDockWidgets::Core::DropArea *splitter, KDDockWidgets::Location location, KDDockWidgets::Core::Group *relativeToGroup=nullptr, KDDockWidgets::InitialOption option=KDDockWidgets::DefaultSizeMode::Fair)
void addWidget(KDDockWidgets::Core::View *widget, KDDockWidgets::Location location, KDDockWidgets::Core::Item *relativeToItem=nullptr, KDDockWidgets::InitialOption option=KDDockWidgets::DefaultSizeMode::Fair)
static KDDockWidgets::Core::Group * createCentralGroup(QFlags< KDDockWidgets::MainWindowOption > options)
void addDockWidget(KDDockWidgets::Core::DockWidget *dw, KDDockWidgets::Location location, KDDockWidgets::Core::DockWidget *relativeTo, KDDockWidgets::InitialOption initialOption={})
The DockWidget base-class. DockWidget and Core::DockWidget are only split in two so we can share some...
The DockWidget controller that's shared between QtWidgets and QtQuick frontends.
A MultiSplitter with support for drop indicators when hovering over.
The MainWindow base-class that's shared between QtWidgets and QtQuick stack.
DropLocation
Enum describing the different drop indicator types.
@ Fair
Gives an equal relative size as the items that are already in the layout.
Struct describing the preferred dock widget size and visibility when adding it to a layout.

© 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