KDDockWidgets API Documentation 2.0
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:
33 KDDockWidgets::Core::Item *centralFrame() const;
38 bool hasSingleFloatingFrame() const;
39 bool hasSingleFrame() const;
40 bool isMDIWrapper() const;
41 void layoutEqually();
44 void removeHover();
49};
50}
51}
52extern "C" {
53// KDDockWidgets::Core::DropArea::DropArea(KDDockWidgets::Core::View * parent, QFlags<KDDockWidgets::MainWindowOption> options, bool isMDIWrapper)
54DOCKS_EXPORT void *c_KDDockWidgets__Core__DropArea__constructor_View_MainWindowOptions_bool(void *parent_, int options_, bool isMDIWrapper);
55// KDDockWidgets::Core::DropArea::addDockWidget(KDDockWidgets::Core::DockWidget * dw, KDDockWidgets::Location location, KDDockWidgets::Core::DockWidget * relativeTo, KDDockWidgets::InitialOption initialOption)
56DOCKS_EXPORT void c_KDDockWidgets__Core__DropArea__addDockWidget_DockWidget_Location_DockWidget_InitialOption(void *thisObj, void *dw_, int location, void *relativeTo_, void *initialOption_);
57// KDDockWidgets::Core::DropArea::addMultiSplitter(KDDockWidgets::Core::DropArea * splitter, KDDockWidgets::Location location, KDDockWidgets::Core::Group * relativeTo, KDDockWidgets::InitialOption option)
58DOCKS_EXPORT void c_KDDockWidgets__Core__DropArea__addMultiSplitter_DropArea_Location_Group_InitialOption(void *thisObj, void *splitter_, int location, void *relativeTo_, void *option_);
59// KDDockWidgets::Core::DropArea::addWidget(KDDockWidgets::Core::View * widget, KDDockWidgets::Location location, KDDockWidgets::Core::Group * relativeTo, KDDockWidgets::InitialOption option)
60DOCKS_EXPORT void c_KDDockWidgets__Core__DropArea__addWidget_View_Location_Group_InitialOption(void *thisObj, void *widget_, int location, void *relativeTo_, void *option_);
61// KDDockWidgets::Core::DropArea::centralFrame() const
62DOCKS_EXPORT void *c_KDDockWidgets__Core__DropArea__centralFrame(void *thisObj);
63// KDDockWidgets::Core::DropArea::containsDockWidget(KDDockWidgets::Core::DockWidget * arg__1) const
64DOCKS_EXPORT bool c_KDDockWidgets__Core__DropArea__containsDockWidget_DockWidget(void *thisObj, void *arg__1_);
65// KDDockWidgets::Core::DropArea::createCentralFrame(QFlags<KDDockWidgets::MainWindowOption> options)
67// KDDockWidgets::Core::DropArea::currentDropLocation() const
68DOCKS_EXPORT int c_KDDockWidgets__Core__DropArea__currentDropLocation(void *thisObj);
69// KDDockWidgets::Core::DropArea::dropIndicatorOverlay() const
70DOCKS_EXPORT void *c_KDDockWidgets__Core__DropArea__dropIndicatorOverlay(void *thisObj);
71// KDDockWidgets::Core::DropArea::hasSingleFloatingFrame() const
72DOCKS_EXPORT bool c_KDDockWidgets__Core__DropArea__hasSingleFloatingFrame(void *thisObj);
73// KDDockWidgets::Core::DropArea::hasSingleFrame() const
74DOCKS_EXPORT bool c_KDDockWidgets__Core__DropArea__hasSingleFrame(void *thisObj);
75// KDDockWidgets::Core::DropArea::isMDIWrapper() const
76DOCKS_EXPORT bool c_KDDockWidgets__Core__DropArea__isMDIWrapper(void *thisObj);
77// KDDockWidgets::Core::DropArea::layoutEqually()
78DOCKS_EXPORT void c_KDDockWidgets__Core__DropArea__layoutEqually(void *thisObj);
79// KDDockWidgets::Core::DropArea::layoutParentContainerEqually(KDDockWidgets::Core::DockWidget * arg__1)
80DOCKS_EXPORT void c_KDDockWidgets__Core__DropArea__layoutParentContainerEqually_DockWidget(void *thisObj, void *arg__1_);
81// KDDockWidgets::Core::DropArea::mdiDockWidgetWrapper() const
82DOCKS_EXPORT void *c_KDDockWidgets__Core__DropArea__mdiDockWidgetWrapper(void *thisObj);
83// KDDockWidgets::Core::DropArea::removeHover()
84DOCKS_EXPORT void c_KDDockWidgets__Core__DropArea__removeHover(void *thisObj);
85// KDDockWidgets::Core::DropArea::setParentView_impl(KDDockWidgets::Core::View * parent)
86DOCKS_EXPORT void c_KDDockWidgets__Core__DropArea__setParentView_impl_View(void *thisObj, void *parent_);
87DOCKS_EXPORT void c_KDDockWidgets__Core__DropArea__destructor(void *thisObj);
88DOCKS_EXPORT void c_KDDockWidgets__Core__DropArea__registerVirtualMethodCallback(void *ptr, void *callback, int methodId);
89DOCKS_EXPORT void c_KDDockWidgets__Core__DropArea_Finalizer(void *cppObj);
90}
DOCKS_EXPORT void c_KDDockWidgets__Core__DropArea__addMultiSplitter_DropArea_Location_Group_InitialOption(void *thisObj, void *splitter_, int location, void *relativeTo_, void *option_)
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 bool c_KDDockWidgets__Core__DropArea__hasSingleFloatingFrame(void *thisObj)
DOCKS_EXPORT void * c_KDDockWidgets__Core__DropArea__mdiDockWidgetWrapper(void *thisObj)
DOCKS_EXPORT void c_KDDockWidgets__Core__DropArea__addWidget_View_Location_Group_InitialOption(void *thisObj, void *widget_, int location, void *relativeTo_, void *option_)
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 bool c_KDDockWidgets__Core__DropArea__containsDockWidget_DockWidget(void *thisObj, void *arg__1_)
DOCKS_EXPORT void c_KDDockWidgets__Core__DropArea_Finalizer(void *cppObj)
DOCKS_EXPORT void * c_static_KDDockWidgets__Core__DropArea__createCentralFrame_MainWindowOptions(int options_)
DOCKS_EXPORT bool c_KDDockWidgets__Core__DropArea__hasSingleFrame(void *thisObj)
DOCKS_EXPORT int c_KDDockWidgets__Core__DropArea__currentDropLocation(void *thisObj)
DOCKS_EXPORT void c_KDDockWidgets__Core__DropArea__layoutEqually(void *thisObj)
DOCKS_EXPORT bool c_KDDockWidgets__Core__DropArea__isMDIWrapper(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 addMultiSplitter(KDDockWidgets::Core::DropArea *splitter, KDDockWidgets::Location location, KDDockWidgets::Core::Group *relativeTo=nullptr, KDDockWidgets::InitialOption option=KDDockWidgets::DefaultSizeMode::Fair)
KDDockWidgets::Core::DropIndicatorOverlay * dropIndicatorOverlay() const
static KDDockWidgets::Core::Group * createCentralFrame(QFlags< KDDockWidgets::MainWindowOption > options)
void addDockWidget(KDDockWidgets::Core::DockWidget *dw, KDDockWidgets::Location location, KDDockWidgets::Core::DockWidget *relativeTo, KDDockWidgets::InitialOption initialOption={})
void addWidget(KDDockWidgets::Core::View *widget, KDDockWidgets::Location location, KDDockWidgets::Core::Group *relativeTo=nullptr, KDDockWidgets::InitialOption option=KDDockWidgets::DefaultSizeMode::Fair)
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