KDDockWidgets API Documentation 2.0
Loading...
Searching...
No Matches
Layout_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/Layout.h>
13#include <core/View.h>
14#include "core/MainWindow.h"
15#include <FloatingWindow.h>
16#include <geometry_helpers_p.h>
17#include <core/DockWidget.h>
18#include <Item_p.h>
19#include <core/Group.h>
20#include "core/DropArea.h"
21
23namespace KDDWBindingsCore {
25{
26public:
30 bool checkSanity() const;
31 void clearLayout();
32 bool containsFrame(const KDDockWidgets::Core::Group *arg__1) const;
33 bool containsItem(const KDDockWidgets::Core::Item *arg__1) const;
34 int count() const;
35 void dumpLayout() const;
37 bool isInMainWindow(bool honourNesting = false) const;
38 KDDockWidgets::Core::Item *itemForFrame(const KDDockWidgets::Core::Group *group) const;
39 int layoutHeight() const;
40 KDDockWidgets::Size layoutMaximumSizeHint() const;
41 KDDockWidgets::Size layoutMinimumSize() const;
42 KDDockWidgets::Size layoutSize() const;
43 int layoutWidth() const;
44 KDDockWidgets::Core::MainWindow *mainWindow(bool honourNesting = false) const;
45 int placeholderCount() const;
46 void removeItem(KDDockWidgets::Core::Item *item);
47 void restorePlaceholder(KDDockWidgets::Core::DockWidget *dw, KDDockWidgets::Core::Item *arg__2, int tabIndex);
48 void setLayoutMinimumSize(KDDockWidgets::Size arg__1);
49 void setLayoutSize(KDDockWidgets::Size arg__1);
54 int visibleCount() const;
57};
58}
59}
60extern "C" {
61// KDDockWidgets::Core::Layout::Layout(KDDockWidgets::Core::ViewType arg__1, KDDockWidgets::Core::View * arg__2)
62DOCKS_EXPORT void *c_KDDockWidgets__Core__Layout__constructor_ViewType_View(int arg__1, void *arg__2_);
63// KDDockWidgets::Core::Layout::asDropArea() const
64DOCKS_EXPORT void *c_KDDockWidgets__Core__Layout__asDropArea(void *thisObj);
65// KDDockWidgets::Core::Layout::checkSanity() const
66DOCKS_EXPORT bool c_KDDockWidgets__Core__Layout__checkSanity(void *thisObj);
67// KDDockWidgets::Core::Layout::clearLayout()
68DOCKS_EXPORT void c_KDDockWidgets__Core__Layout__clearLayout(void *thisObj);
69// KDDockWidgets::Core::Layout::containsFrame(const KDDockWidgets::Core::Group * arg__1) const
70DOCKS_EXPORT bool c_KDDockWidgets__Core__Layout__containsFrame_Group(void *thisObj, void *arg__1_);
71// KDDockWidgets::Core::Layout::containsItem(const KDDockWidgets::Core::Item * arg__1) const
72DOCKS_EXPORT bool c_KDDockWidgets__Core__Layout__containsItem_Item(void *thisObj, void *arg__1_);
73// KDDockWidgets::Core::Layout::count() const
74DOCKS_EXPORT int c_KDDockWidgets__Core__Layout__count(void *thisObj);
75// KDDockWidgets::Core::Layout::dumpLayout() const
76DOCKS_EXPORT void c_KDDockWidgets__Core__Layout__dumpLayout(void *thisObj);
77// KDDockWidgets::Core::Layout::floatingWindow() const
78DOCKS_EXPORT void *c_KDDockWidgets__Core__Layout__floatingWindow(void *thisObj);
79// KDDockWidgets::Core::Layout::isInMainWindow(bool honourNesting) const
80DOCKS_EXPORT bool c_KDDockWidgets__Core__Layout__isInMainWindow_bool(void *thisObj, bool honourNesting);
81// KDDockWidgets::Core::Layout::itemForFrame(const KDDockWidgets::Core::Group * group) const
82DOCKS_EXPORT void *c_KDDockWidgets__Core__Layout__itemForFrame_Group(void *thisObj, void *group_);
83// KDDockWidgets::Core::Layout::layoutHeight() const
84DOCKS_EXPORT int c_KDDockWidgets__Core__Layout__layoutHeight(void *thisObj);
85// KDDockWidgets::Core::Layout::layoutMaximumSizeHint() const
86DOCKS_EXPORT void *c_KDDockWidgets__Core__Layout__layoutMaximumSizeHint(void *thisObj);
87// KDDockWidgets::Core::Layout::layoutMinimumSize() const
88DOCKS_EXPORT void *c_KDDockWidgets__Core__Layout__layoutMinimumSize(void *thisObj);
89// KDDockWidgets::Core::Layout::layoutSize() const
90DOCKS_EXPORT void *c_KDDockWidgets__Core__Layout__layoutSize(void *thisObj);
91// KDDockWidgets::Core::Layout::layoutWidth() const
92DOCKS_EXPORT int c_KDDockWidgets__Core__Layout__layoutWidth(void *thisObj);
93// KDDockWidgets::Core::Layout::mainWindow(bool honourNesting) const
94DOCKS_EXPORT void *c_KDDockWidgets__Core__Layout__mainWindow_bool(void *thisObj, bool honourNesting);
95// KDDockWidgets::Core::Layout::placeholderCount() const
96DOCKS_EXPORT int c_KDDockWidgets__Core__Layout__placeholderCount(void *thisObj);
97// KDDockWidgets::Core::Layout::removeItem(KDDockWidgets::Core::Item * item)
98DOCKS_EXPORT void c_KDDockWidgets__Core__Layout__removeItem_Item(void *thisObj, void *item_);
99// KDDockWidgets::Core::Layout::restorePlaceholder(KDDockWidgets::Core::DockWidget * dw, KDDockWidgets::Core::Item * arg__2, int tabIndex)
100DOCKS_EXPORT void c_KDDockWidgets__Core__Layout__restorePlaceholder_DockWidget_Item_int(void *thisObj, void *dw_, void *arg__2_, int tabIndex);
101// KDDockWidgets::Core::Layout::setLayoutMinimumSize(KDDockWidgets::Size arg__1)
102DOCKS_EXPORT void c_KDDockWidgets__Core__Layout__setLayoutMinimumSize_Size(void *thisObj, void *arg__1_);
103// KDDockWidgets::Core::Layout::setLayoutSize(KDDockWidgets::Size arg__1)
104DOCKS_EXPORT void c_KDDockWidgets__Core__Layout__setLayoutSize_Size(void *thisObj, void *arg__1_);
105// KDDockWidgets::Core::Layout::setParentView_impl(KDDockWidgets::Core::View * parent)
106DOCKS_EXPORT void c_KDDockWidgets__Core__Layout__setParentView_impl_View(void *thisObj, void *parent_);
107// KDDockWidgets::Core::Layout::updateSizeConstraints()
108DOCKS_EXPORT void c_KDDockWidgets__Core__Layout__updateSizeConstraints(void *thisObj);
109// KDDockWidgets::Core::Layout::viewAboutToBeDeleted()
110DOCKS_EXPORT void c_KDDockWidgets__Core__Layout__viewAboutToBeDeleted(void *thisObj);
111// KDDockWidgets::Core::Layout::visibleCount() const
112DOCKS_EXPORT int c_KDDockWidgets__Core__Layout__visibleCount(void *thisObj);
113DOCKS_EXPORT void c_KDDockWidgets__Core__Layout__destructor(void *thisObj);
114DOCKS_EXPORT void c_KDDockWidgets__Core__Layout__registerVirtualMethodCallback(void *ptr, void *callback, int methodId);
115DOCKS_EXPORT void c_KDDockWidgets__Core__Layout_Finalizer(void *cppObj);
116}
A widget that supports an arbitrary number of splitters (called Separators) in any combination of ver...
DOCKS_EXPORT void c_KDDockWidgets__Core__Layout__viewAboutToBeDeleted(void *thisObj)
Definition Layout_c.cpp:313
DOCKS_EXPORT int c_KDDockWidgets__Core__Layout__count(void *thisObj)
Definition Layout_c.cpp:203
DOCKS_EXPORT void * c_KDDockWidgets__Core__Layout__asDropArea(void *thisObj)
Definition Layout_c.cpp:172
DOCKS_EXPORT int c_KDDockWidgets__Core__Layout__layoutWidth(void *thisObj)
Definition Layout_c.cpp:257
DOCKS_EXPORT bool c_KDDockWidgets__Core__Layout__isInMainWindow_bool(void *thisObj, bool honourNesting)
Definition Layout_c.cpp:220
DOCKS_EXPORT void * c_KDDockWidgets__Core__Layout__layoutMinimumSize(void *thisObj)
Definition Layout_c.cpp:245
DOCKS_EXPORT void * c_KDDockWidgets__Core__Layout__mainWindow_bool(void *thisObj, bool honourNesting)
Definition Layout_c.cpp:263
DOCKS_EXPORT void * c_KDDockWidgets__Core__Layout__itemForFrame_Group(void *thisObj, void *group_)
Definition Layout_c.cpp:226
DOCKS_EXPORT int c_KDDockWidgets__Core__Layout__layoutHeight(void *thisObj)
Definition Layout_c.cpp:233
DOCKS_EXPORT void c_KDDockWidgets__Core__Layout__registerVirtualMethodCallback(void *ptr, void *callback, int methodId)
Definition Layout_c.cpp:327
DOCKS_EXPORT bool c_KDDockWidgets__Core__Layout__containsFrame_Group(void *thisObj, void *arg__1_)
Definition Layout_c.cpp:189
DOCKS_EXPORT void * c_KDDockWidgets__Core__Layout__floatingWindow(void *thisObj)
Definition Layout_c.cpp:214
DOCKS_EXPORT void c_KDDockWidgets__Core__Layout__setLayoutSize_Size(void *thisObj, void *arg__1_)
Definition Layout_c.cpp:295
DOCKS_EXPORT void c_KDDockWidgets__Core__Layout__updateSizeConstraints(void *thisObj)
Definition Layout_c.cpp:308
DOCKS_EXPORT int c_KDDockWidgets__Core__Layout__visibleCount(void *thisObj)
Definition Layout_c.cpp:318
DOCKS_EXPORT void c_KDDockWidgets__Core__Layout__restorePlaceholder_DockWidget_Item_int(void *thisObj, void *dw_, void *arg__2_, int tabIndex)
Definition Layout_c.cpp:281
DOCKS_EXPORT void c_KDDockWidgets__Core__Layout__setParentView_impl_View(void *thisObj, void *parent_)
Definition Layout_c.cpp:302
DOCKS_EXPORT void c_KDDockWidgets__Core__Layout__dumpLayout(void *thisObj)
Definition Layout_c.cpp:209
DOCKS_EXPORT void c_KDDockWidgets__Core__Layout_Finalizer(void *cppObj)
Definition Layout_c.cpp:161
DOCKS_EXPORT void * c_KDDockWidgets__Core__Layout__constructor_ViewType_View(int arg__1, void *arg__2_)
Definition Layout_c.cpp:165
DOCKS_EXPORT bool c_KDDockWidgets__Core__Layout__containsItem_Item(void *thisObj, void *arg__1_)
Definition Layout_c.cpp:196
DOCKS_EXPORT void c_KDDockWidgets__Core__Layout__removeItem_Item(void *thisObj, void *item_)
Definition Layout_c.cpp:275
DOCKS_EXPORT void c_KDDockWidgets__Core__Layout__destructor(void *thisObj)
Definition Layout_c.cpp:323
DOCKS_EXPORT void c_KDDockWidgets__Core__Layout__setLayoutMinimumSize_Size(void *thisObj, void *arg__1_)
Definition Layout_c.cpp:288
DOCKS_EXPORT int c_KDDockWidgets__Core__Layout__placeholderCount(void *thisObj)
Definition Layout_c.cpp:269
DOCKS_EXPORT void * c_KDDockWidgets__Core__Layout__layoutMaximumSizeHint(void *thisObj)
Definition Layout_c.cpp:239
DOCKS_EXPORT void c_KDDockWidgets__Core__Layout__clearLayout(void *thisObj)
Definition Layout_c.cpp:184
DOCKS_EXPORT void * c_KDDockWidgets__Core__Layout__layoutSize(void *thisObj)
Definition Layout_c.cpp:251
DOCKS_EXPORT bool c_KDDockWidgets__Core__Layout__checkSanity(void *thisObj)
Definition Layout_c.cpp:178
virtual void setParentView_impl_nocallback(KDDockWidgets::Core::View *parent)
Definition Layout_c.cpp:130
KDDockWidgets::Core::MainWindow * mainWindow(bool honourNesting=false) const
Definition Layout_c.cpp:97
void restorePlaceholder(KDDockWidgets::Core::DockWidget *dw, KDDockWidgets::Core::Item *arg__2, int tabIndex)
Definition Layout_c.cpp:109
bool containsFrame(const KDDockWidgets::Core::Group *arg__1) const
Definition Layout_c.cpp:49
virtual void setParentView_impl(KDDockWidgets::Core::View *parent)
Definition Layout_c.cpp:121
KDDockWidgets::Core::Item * itemForFrame(const KDDockWidgets::Core::Group *group) const
Definition Layout_c.cpp:73
void(* Callback_setParentView_impl)(void *, KDDockWidgets::Core::View *parent)
Definition Layout_c.h:55
KDDockWidgets::Core::FloatingWindow * floatingWindow() const
Definition Layout_c.cpp:65
bool containsItem(const KDDockWidgets::Core::Item *arg__1) const
Definition Layout_c.cpp:53
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.
ViewType
Each View type also has a specific Controller associated with, except for ViewType::None.
Definition Controller.h:26

© 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