KDDockWidgets API Documentation 2.1
Loading...
Searching...
No Matches
FloatingWindow_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 <FloatingWindow.h>
13#include <geometry_helpers_p.h>
14#include "core/MainWindow.h"
15#include <core/Group.h>
16#include <core/DockWidget.h>
17#include "core/DropArea.h"
18#include "core/TitleBar.h"
19#include <core/Layout.h>
20#include <KDDockWidgets.h>
21#include <core/View.h>
22
24namespace KDDWBindingsCore {
26{
27public:
29 FloatingWindow_wrapper(KDDockWidgets::Core::Group *group, KDDockWidgets::Rect suggestedGeometry, KDDockWidgets::Core::MainWindow *parent = nullptr);
30 FloatingWindow_wrapper(KDDockWidgets::Rect suggestedGeometry, KDDockWidgets::Core::MainWindow *parent = nullptr);
36 bool anyNonClosable() const;
37 bool anyNonDockable() const;
38 bool beingDeleted() const;
39 KDDockWidgets::Margins contentMargins() const;
40 KDDockWidgets::Rect dragRect() const;
42 static void ensureRectIsOnScreen(KDDockWidgets::Rect &geometry);
43 bool hasSingleDockWidget() const;
44 bool hasSingleGroup() const;
45 bool isInDragArea(KDDockWidgets::Point globalPoint) const;
46 virtual bool isMDI() const;
47 virtual bool isMDI_nocallback() const;
48 bool isUtilityWindow() const;
49 virtual bool isWindow() const;
50 virtual bool isWindow_nocallback() const;
58 void setSuggestedGeometry(KDDockWidgets::Rect suggestedRect);
60 bool supportsMaximizeButton() const;
61 bool supportsMinimizeButton() const;
63 void updateTitleAndIcon();
65 int userType() const;
66 typedef bool (*Callback_isMDI)(void *);
68 typedef bool (*Callback_isWindow)(void *);
72 typedef KDDockWidgets::Core::DockWidget *(*Callback_singleDockWidget)(void *);
74};
75}
76}
77extern "C" {
78// KDDockWidgets::Core::FloatingWindow::FloatingWindow(KDDockWidgets::Core::Group * group, KDDockWidgets::Rect suggestedGeometry, KDDockWidgets::Core::MainWindow * parent)
79DOCKS_EXPORT void *c_KDDockWidgets__Core__FloatingWindow__constructor_Group_Rect_MainWindow(void *group_, void *suggestedGeometry_, void *parent_);
80// KDDockWidgets::Core::FloatingWindow::FloatingWindow(KDDockWidgets::Rect suggestedGeometry, KDDockWidgets::Core::MainWindow * parent)
81DOCKS_EXPORT void *c_KDDockWidgets__Core__FloatingWindow__constructor_Rect_MainWindow(void *suggestedGeometry_, void *parent_);
82// KDDockWidgets::Core::FloatingWindow::addDockWidget(KDDockWidgets::Core::DockWidget * arg__1, KDDockWidgets::Location location, KDDockWidgets::Core::DockWidget * relativeTo, KDDockWidgets::InitialOption arg__4)
83DOCKS_EXPORT void c_KDDockWidgets__Core__FloatingWindow__addDockWidget_DockWidget_Location_DockWidget_InitialOption(void *thisObj, void *arg__1_, int location, void *relativeTo_, void *arg__4_);
84// KDDockWidgets::Core::FloatingWindow::allDockWidgetsHave(KDDockWidgets::DockWidgetOption arg__1) const
86// KDDockWidgets::Core::FloatingWindow::allDockWidgetsHave(KDDockWidgets::LayoutSaverOption arg__1) const
88// KDDockWidgets::Core::FloatingWindow::anyDockWidgetsHas(KDDockWidgets::DockWidgetOption arg__1) const
89DOCKS_EXPORT bool c_KDDockWidgets__Core__FloatingWindow__anyDockWidgetsHas_DockWidgetOption(void *thisObj, int arg__1);
90// KDDockWidgets::Core::FloatingWindow::anyDockWidgetsHas(KDDockWidgets::LayoutSaverOption arg__1) const
92// KDDockWidgets::Core::FloatingWindow::anyNonClosable() const
93DOCKS_EXPORT bool c_KDDockWidgets__Core__FloatingWindow__anyNonClosable(void *thisObj);
94// KDDockWidgets::Core::FloatingWindow::anyNonDockable() const
95DOCKS_EXPORT bool c_KDDockWidgets__Core__FloatingWindow__anyNonDockable(void *thisObj);
96// KDDockWidgets::Core::FloatingWindow::beingDeleted() const
97DOCKS_EXPORT bool c_KDDockWidgets__Core__FloatingWindow__beingDeleted(void *thisObj);
98// KDDockWidgets::Core::FloatingWindow::contentMargins() const
99DOCKS_EXPORT void *c_KDDockWidgets__Core__FloatingWindow__contentMargins(void *thisObj);
100// KDDockWidgets::Core::FloatingWindow::dragRect() const
101DOCKS_EXPORT void *c_KDDockWidgets__Core__FloatingWindow__dragRect(void *thisObj);
102// KDDockWidgets::Core::FloatingWindow::dropArea() const
103DOCKS_EXPORT void *c_KDDockWidgets__Core__FloatingWindow__dropArea(void *thisObj);
104// KDDockWidgets::Core::FloatingWindow::ensureRectIsOnScreen(KDDockWidgets::Rect & geometry)
106// KDDockWidgets::Core::FloatingWindow::hasSingleDockWidget() const
108// KDDockWidgets::Core::FloatingWindow::hasSingleGroup() const
109DOCKS_EXPORT bool c_KDDockWidgets__Core__FloatingWindow__hasSingleGroup(void *thisObj);
110// KDDockWidgets::Core::FloatingWindow::isInDragArea(KDDockWidgets::Point globalPoint) const
111DOCKS_EXPORT bool c_KDDockWidgets__Core__FloatingWindow__isInDragArea_Point(void *thisObj, void *globalPoint_);
112// KDDockWidgets::Core::FloatingWindow::isMDI() const
113DOCKS_EXPORT bool c_KDDockWidgets__Core__FloatingWindow__isMDI(void *thisObj);
114// KDDockWidgets::Core::FloatingWindow::isUtilityWindow() const
115DOCKS_EXPORT bool c_KDDockWidgets__Core__FloatingWindow__isUtilityWindow(void *thisObj);
116// KDDockWidgets::Core::FloatingWindow::isWindow() const
117DOCKS_EXPORT bool c_KDDockWidgets__Core__FloatingWindow__isWindow(void *thisObj);
118// KDDockWidgets::Core::FloatingWindow::layout() const
119DOCKS_EXPORT void *c_KDDockWidgets__Core__FloatingWindow__layout(void *thisObj);
120// KDDockWidgets::Core::FloatingWindow::mainWindow() const
121DOCKS_EXPORT void *c_KDDockWidgets__Core__FloatingWindow__mainWindow(void *thisObj);
122// KDDockWidgets::Core::FloatingWindow::maybeCreateResizeHandler()
124// KDDockWidgets::Core::FloatingWindow::multiSplitter() const
125DOCKS_EXPORT void *c_KDDockWidgets__Core__FloatingWindow__multiSplitter(void *thisObj);
126// KDDockWidgets::Core::FloatingWindow::scheduleDeleteLater()
128// KDDockWidgets::Core::FloatingWindow::setParentView_impl(KDDockWidgets::Core::View * parent)
129DOCKS_EXPORT void c_KDDockWidgets__Core__FloatingWindow__setParentView_impl_View(void *thisObj, void *parent_);
130// KDDockWidgets::Core::FloatingWindow::setSuggestedGeometry(KDDockWidgets::Rect suggestedRect)
131DOCKS_EXPORT void c_KDDockWidgets__Core__FloatingWindow__setSuggestedGeometry_Rect(void *thisObj, void *suggestedRect_);
132// KDDockWidgets::Core::FloatingWindow::singleDockWidget() const
133DOCKS_EXPORT void *c_KDDockWidgets__Core__FloatingWindow__singleDockWidget(void *thisObj);
134// KDDockWidgets::Core::FloatingWindow::singleFrame() const
135DOCKS_EXPORT void *c_KDDockWidgets__Core__FloatingWindow__singleFrame(void *thisObj);
136// KDDockWidgets::Core::FloatingWindow::supportsMaximizeButton() const
138// KDDockWidgets::Core::FloatingWindow::supportsMinimizeButton() const
140// KDDockWidgets::Core::FloatingWindow::titleBar() const
141DOCKS_EXPORT void *c_KDDockWidgets__Core__FloatingWindow__titleBar(void *thisObj);
142// KDDockWidgets::Core::FloatingWindow::updateTitleAndIcon()
143DOCKS_EXPORT void c_KDDockWidgets__Core__FloatingWindow__updateTitleAndIcon(void *thisObj);
144// KDDockWidgets::Core::FloatingWindow::updateTitleBarVisibility()
146// KDDockWidgets::Core::FloatingWindow::userType() const
147DOCKS_EXPORT int c_KDDockWidgets__Core__FloatingWindow__userType(void *thisObj);
148DOCKS_EXPORT void c_KDDockWidgets__Core__FloatingWindow__destructor(void *thisObj);
149DOCKS_EXPORT void c_KDDockWidgets__Core__FloatingWindow__registerVirtualMethodCallback(void *ptr, void *callback, int methodId);
150DOCKS_EXPORT void c_KDDockWidgets__Core__FloatingWindow_Finalizer(void *cppObj);
151}
DOCKS_EXPORT bool c_KDDockWidgets__Core__FloatingWindow__isUtilityWindow(void *thisObj)
DOCKS_EXPORT bool c_KDDockWidgets__Core__FloatingWindow__isInDragArea_Point(void *thisObj, void *globalPoint_)
DOCKS_EXPORT void c_KDDockWidgets__Core__FloatingWindow__setSuggestedGeometry_Rect(void *thisObj, void *suggestedRect_)
DOCKS_EXPORT void * c_KDDockWidgets__Core__FloatingWindow__constructor_Rect_MainWindow(void *suggestedGeometry_, void *parent_)
DOCKS_EXPORT void * c_KDDockWidgets__Core__FloatingWindow__singleDockWidget(void *thisObj)
DOCKS_EXPORT bool c_KDDockWidgets__Core__FloatingWindow__anyDockWidgetsHas_LayoutSaverOption(void *thisObj, int arg__1)
DOCKS_EXPORT bool c_KDDockWidgets__Core__FloatingWindow__anyNonDockable(void *thisObj)
DOCKS_EXPORT void c_KDDockWidgets__Core__FloatingWindow__scheduleDeleteLater(void *thisObj)
DOCKS_EXPORT void * c_KDDockWidgets__Core__FloatingWindow__contentMargins(void *thisObj)
DOCKS_EXPORT void * c_KDDockWidgets__Core__FloatingWindow__multiSplitter(void *thisObj)
DOCKS_EXPORT bool c_KDDockWidgets__Core__FloatingWindow__isWindow(void *thisObj)
DOCKS_EXPORT void * c_KDDockWidgets__Core__FloatingWindow__layout(void *thisObj)
DOCKS_EXPORT void * c_KDDockWidgets__Core__FloatingWindow__titleBar(void *thisObj)
DOCKS_EXPORT bool c_KDDockWidgets__Core__FloatingWindow__hasSingleDockWidget(void *thisObj)
DOCKS_EXPORT void c_KDDockWidgets__Core__FloatingWindow__addDockWidget_DockWidget_Location_DockWidget_InitialOption(void *thisObj, void *arg__1_, int location, void *relativeTo_, void *arg__4_)
DOCKS_EXPORT void c_KDDockWidgets__Core__FloatingWindow_Finalizer(void *cppObj)
DOCKS_EXPORT void * c_KDDockWidgets__Core__FloatingWindow__singleFrame(void *thisObj)
DOCKS_EXPORT bool c_KDDockWidgets__Core__FloatingWindow__allDockWidgetsHave_DockWidgetOption(void *thisObj, int arg__1)
DOCKS_EXPORT bool c_KDDockWidgets__Core__FloatingWindow__anyNonClosable(void *thisObj)
DOCKS_EXPORT bool c_KDDockWidgets__Core__FloatingWindow__beingDeleted(void *thisObj)
DOCKS_EXPORT void c_static_KDDockWidgets__Core__FloatingWindow__ensureRectIsOnScreen_Rect(void *geometry_)
DOCKS_EXPORT bool c_KDDockWidgets__Core__FloatingWindow__isMDI(void *thisObj)
DOCKS_EXPORT bool c_KDDockWidgets__Core__FloatingWindow__supportsMaximizeButton(void *thisObj)
DOCKS_EXPORT bool c_KDDockWidgets__Core__FloatingWindow__anyDockWidgetsHas_DockWidgetOption(void *thisObj, int arg__1)
DOCKS_EXPORT void c_KDDockWidgets__Core__FloatingWindow__updateTitleBarVisibility(void *thisObj)
DOCKS_EXPORT bool c_KDDockWidgets__Core__FloatingWindow__hasSingleGroup(void *thisObj)
DOCKS_EXPORT void * c_KDDockWidgets__Core__FloatingWindow__dragRect(void *thisObj)
DOCKS_EXPORT bool c_KDDockWidgets__Core__FloatingWindow__allDockWidgetsHave_LayoutSaverOption(void *thisObj, int arg__1)
DOCKS_EXPORT void c_KDDockWidgets__Core__FloatingWindow__destructor(void *thisObj)
DOCKS_EXPORT void c_KDDockWidgets__Core__FloatingWindow__updateTitleAndIcon(void *thisObj)
DOCKS_EXPORT void * c_KDDockWidgets__Core__FloatingWindow__mainWindow(void *thisObj)
DOCKS_EXPORT void * c_KDDockWidgets__Core__FloatingWindow__dropArea(void *thisObj)
DOCKS_EXPORT int c_KDDockWidgets__Core__FloatingWindow__userType(void *thisObj)
DOCKS_EXPORT void c_KDDockWidgets__Core__FloatingWindow__setParentView_impl_View(void *thisObj, void *parent_)
DOCKS_EXPORT bool c_KDDockWidgets__Core__FloatingWindow__supportsMinimizeButton(void *thisObj)
DOCKS_EXPORT void c_KDDockWidgets__Core__FloatingWindow__maybeCreateResizeHandler(void *thisObj)
DOCKS_EXPORT void * c_KDDockWidgets__Core__FloatingWindow__constructor_Group_Rect_MainWindow(void *group_, void *suggestedGeometry_, void *parent_)
DOCKS_EXPORT void c_KDDockWidgets__Core__FloatingWindow__registerVirtualMethodCallback(void *ptr, void *callback, int methodId)
File with KDDockWidgets namespace-level enums and methods.
A widget that supports an arbitrary number of splitters (called Separators) in any combination of ver...
bool allDockWidgetsHave(KDDockWidgets::DockWidgetOption arg__1) const
bool anyDockWidgetsHas(KDDockWidgets::DockWidgetOption arg__1) const
virtual void setParentView_impl_nocallback(KDDockWidgets::Core::View *parent)
void(* Callback_setParentView_impl)(void *, KDDockWidgets::Core::View *parent)
void addDockWidget(KDDockWidgets::Core::DockWidget *arg__1, KDDockWidgets::Location location, KDDockWidgets::Core::DockWidget *relativeTo, KDDockWidgets::InitialOption arg__4={})
The DockWidget base-class. DockWidget and Core::DockWidget are only split in two so we can share some...
The widget (QWidget or QQuickItem) which holds a layout of dock widgets.
Definition Layout.h:57
The MainWindow base-class. MainWindow and MainWindowBase are only split in two so we can share some c...
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.
DockWidgetOption
DockWidget options to pass at construction time.
LayoutSaverOption
Options which will affect LayoutSaver save/restore.
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