KDDockWidgets API Documentation 2.0
Loading...
Searching...
No Matches
Item_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 <Item_p.h>
13#include <geometry_helpers_p.h>
14#include <string_p.h>
15#include <Object_p.h>
16
18class Item_wrapper : public ::KDDockWidgets::Core::Item
19{
20public:
22 virtual bool checkSanity();
23 virtual bool checkSanity_nocallback();
24 virtual void dumpLayout(int level = 0, bool printSeparators = true);
25 virtual void dumpLayout_nocallback(int level = 0, bool printSeparators = true);
26 KDDockWidgets::Rect geometry() const;
27 int height() const;
28 bool isBeingInserted() const;
29 bool isContainer() const;
30 bool isMDI() const;
31 bool isPlaceholder() const;
32 bool isRoot() const;
33 virtual bool isVisible(bool excludeBeingInserted = false) const;
34 virtual bool isVisible_nocallback(bool excludeBeingInserted = false) const;
35 KDDockWidgets::Point mapFromParent(KDDockWidgets::Point arg__1) const;
36 KDDockWidgets::Point mapFromRoot(KDDockWidgets::Point arg__1) const;
37 KDDockWidgets::Rect mapFromRoot(KDDockWidgets::Rect arg__1) const;
38 KDDockWidgets::Point mapToRoot(KDDockWidgets::Point arg__1) const;
39 KDDockWidgets::Rect mapToRoot(KDDockWidgets::Rect arg__1) const;
40 virtual KDDockWidgets::Size maxSizeHint() const;
41 virtual KDDockWidgets::Size maxSizeHint_nocallback() const;
42 virtual KDDockWidgets::Size minSize() const;
43 virtual KDDockWidgets::Size minSize_nocallback() const;
44 KDDockWidgets::Size missingSize() const;
45 KDDockWidgets::Point pos() const;
46 KDDockWidgets::Rect rect() const;
47 void ref();
48 int refCount() const;
49 void requestResize(int left, int top, int right, int bottom);
50 void setBeingInserted(bool arg__1);
51 void setGeometry(KDDockWidgets::Rect rect);
52 virtual void setGeometry_recursive(KDDockWidgets::Rect rect);
53 virtual void setGeometry_recursive_nocallback(KDDockWidgets::Rect rect);
54 virtual void setIsVisible(bool arg__1);
55 virtual void setIsVisible_nocallback(bool arg__1);
56 void setMaxSizeHint(KDDockWidgets::Size arg__1);
57 void setMinSize(KDDockWidgets::Size arg__1);
58 void setPos(KDDockWidgets::Point arg__1);
59 void setSize(KDDockWidgets::Size arg__1);
60 KDDockWidgets::Size size() const;
62 void unref();
63 virtual void updateWidgetGeometries();
65 virtual int visibleCount_recursive() const;
66 virtual int visibleCount_recursive_nocallback() const;
67 int width() const;
68 int x() const;
69 int y() const;
70 typedef bool (*Callback_checkSanity)(void *);
72 typedef void (*Callback_dumpLayout)(void *, int level, bool printSeparators);
74 typedef bool (*Callback_isVisible)(void *, bool excludeBeingInserted);
76 typedef KDDockWidgets::Size *(*Callback_maxSizeHint)(void *);
78 typedef KDDockWidgets::Size *(*Callback_minSize)(void *);
80 typedef void (*Callback_setGeometry_recursive)(void *, KDDockWidgets::Rect *rect);
82 typedef void (*Callback_setIsVisible)(void *, bool arg__1);
84 typedef void (*Callback_updateWidgetGeometries)(void *);
86 typedef int (*Callback_visibleCount_recursive)(void *);
88};
89}
90extern "C" {
91// KDDockWidgets::Core::Item::checkSanity()
92DOCKS_EXPORT bool c_KDDockWidgets__Core__Item__checkSanity(void *thisObj);
93// KDDockWidgets::Core::Item::dumpLayout(int level, bool printSeparators)
94DOCKS_EXPORT void c_KDDockWidgets__Core__Item__dumpLayout_int_bool(void *thisObj, int level, bool printSeparators);
95// KDDockWidgets::Core::Item::geometry() const
96DOCKS_EXPORT void *c_KDDockWidgets__Core__Item__geometry(void *thisObj);
97// KDDockWidgets::Core::Item::height() const
98DOCKS_EXPORT int c_KDDockWidgets__Core__Item__height(void *thisObj);
99// KDDockWidgets::Core::Item::isBeingInserted() const
100DOCKS_EXPORT bool c_KDDockWidgets__Core__Item__isBeingInserted(void *thisObj);
101// KDDockWidgets::Core::Item::isContainer() const
102DOCKS_EXPORT bool c_KDDockWidgets__Core__Item__isContainer(void *thisObj);
103// KDDockWidgets::Core::Item::isMDI() const
104DOCKS_EXPORT bool c_KDDockWidgets__Core__Item__isMDI(void *thisObj);
105// KDDockWidgets::Core::Item::isPlaceholder() const
106DOCKS_EXPORT bool c_KDDockWidgets__Core__Item__isPlaceholder(void *thisObj);
107// KDDockWidgets::Core::Item::isRoot() const
108DOCKS_EXPORT bool c_KDDockWidgets__Core__Item__isRoot(void *thisObj);
109// KDDockWidgets::Core::Item::isVisible(bool excludeBeingInserted) const
110DOCKS_EXPORT bool c_KDDockWidgets__Core__Item__isVisible_bool(void *thisObj, bool excludeBeingInserted);
111// KDDockWidgets::Core::Item::mapFromParent(KDDockWidgets::Point arg__1) const
112DOCKS_EXPORT void *c_KDDockWidgets__Core__Item__mapFromParent_Point(void *thisObj, void *arg__1_);
113// KDDockWidgets::Core::Item::mapFromRoot(KDDockWidgets::Point arg__1) const
114DOCKS_EXPORT void *c_KDDockWidgets__Core__Item__mapFromRoot_Point(void *thisObj, void *arg__1_);
115// KDDockWidgets::Core::Item::mapFromRoot(KDDockWidgets::Rect arg__1) const
116DOCKS_EXPORT void *c_KDDockWidgets__Core__Item__mapFromRoot_Rect(void *thisObj, void *arg__1_);
117// KDDockWidgets::Core::Item::mapToRoot(KDDockWidgets::Point arg__1) const
118DOCKS_EXPORT void *c_KDDockWidgets__Core__Item__mapToRoot_Point(void *thisObj, void *arg__1_);
119// KDDockWidgets::Core::Item::mapToRoot(KDDockWidgets::Rect arg__1) const
120DOCKS_EXPORT void *c_KDDockWidgets__Core__Item__mapToRoot_Rect(void *thisObj, void *arg__1_);
121// KDDockWidgets::Core::Item::maxSizeHint() const
122DOCKS_EXPORT void *c_KDDockWidgets__Core__Item__maxSizeHint(void *thisObj);
123// KDDockWidgets::Core::Item::minSize() const
124DOCKS_EXPORT void *c_KDDockWidgets__Core__Item__minSize(void *thisObj);
125// KDDockWidgets::Core::Item::missingSize() const
126DOCKS_EXPORT void *c_KDDockWidgets__Core__Item__missingSize(void *thisObj);
127// KDDockWidgets::Core::Item::pos() const
128DOCKS_EXPORT void *c_KDDockWidgets__Core__Item__pos(void *thisObj);
129// KDDockWidgets::Core::Item::rect() const
130DOCKS_EXPORT void *c_KDDockWidgets__Core__Item__rect(void *thisObj);
131// KDDockWidgets::Core::Item::ref()
132DOCKS_EXPORT void c_KDDockWidgets__Core__Item__ref(void *thisObj);
133// KDDockWidgets::Core::Item::refCount() const
134DOCKS_EXPORT int c_KDDockWidgets__Core__Item__refCount(void *thisObj);
135// KDDockWidgets::Core::Item::requestResize(int left, int top, int right, int bottom)
136DOCKS_EXPORT void c_KDDockWidgets__Core__Item__requestResize_int_int_int_int(void *thisObj, int left, int top, int right, int bottom);
137// KDDockWidgets::Core::Item::setBeingInserted(bool arg__1)
138DOCKS_EXPORT void c_KDDockWidgets__Core__Item__setBeingInserted_bool(void *thisObj, bool arg__1);
139// KDDockWidgets::Core::Item::setGeometry(KDDockWidgets::Rect rect)
140DOCKS_EXPORT void c_KDDockWidgets__Core__Item__setGeometry_Rect(void *thisObj, void *rect_);
141// KDDockWidgets::Core::Item::setGeometry_recursive(KDDockWidgets::Rect rect)
142DOCKS_EXPORT void c_KDDockWidgets__Core__Item__setGeometry_recursive_Rect(void *thisObj, void *rect_);
143// KDDockWidgets::Core::Item::setIsVisible(bool arg__1)
144DOCKS_EXPORT void c_KDDockWidgets__Core__Item__setIsVisible_bool(void *thisObj, bool arg__1);
145// KDDockWidgets::Core::Item::setMaxSizeHint(KDDockWidgets::Size arg__1)
146DOCKS_EXPORT void c_KDDockWidgets__Core__Item__setMaxSizeHint_Size(void *thisObj, void *arg__1_);
147// KDDockWidgets::Core::Item::setMinSize(KDDockWidgets::Size arg__1)
148DOCKS_EXPORT void c_KDDockWidgets__Core__Item__setMinSize_Size(void *thisObj, void *arg__1_);
149// KDDockWidgets::Core::Item::setPos(KDDockWidgets::Point arg__1)
150DOCKS_EXPORT void c_KDDockWidgets__Core__Item__setPos_Point(void *thisObj, void *arg__1_);
151// KDDockWidgets::Core::Item::setSize(KDDockWidgets::Size arg__1)
152DOCKS_EXPORT void c_KDDockWidgets__Core__Item__setSize_Size(void *thisObj, void *arg__1_);
153// KDDockWidgets::Core::Item::size() const
154DOCKS_EXPORT void *c_KDDockWidgets__Core__Item__size(void *thisObj);
155// KDDockWidgets::Core::Item::turnIntoPlaceholder()
156DOCKS_EXPORT void c_KDDockWidgets__Core__Item__turnIntoPlaceholder(void *thisObj);
157// KDDockWidgets::Core::Item::unref()
158DOCKS_EXPORT void c_KDDockWidgets__Core__Item__unref(void *thisObj);
159// KDDockWidgets::Core::Item::updateWidgetGeometries()
160DOCKS_EXPORT void c_KDDockWidgets__Core__Item__updateWidgetGeometries(void *thisObj);
161// KDDockWidgets::Core::Item::visibleCount_recursive() const
162DOCKS_EXPORT int c_KDDockWidgets__Core__Item__visibleCount_recursive(void *thisObj);
163// KDDockWidgets::Core::Item::width() const
164DOCKS_EXPORT int c_KDDockWidgets__Core__Item__width(void *thisObj);
165// KDDockWidgets::Core::Item::x() const
166DOCKS_EXPORT int c_KDDockWidgets__Core__Item__x(void *thisObj);
167// KDDockWidgets::Core::Item::y() const
168DOCKS_EXPORT int c_KDDockWidgets__Core__Item__y(void *thisObj);
169DOCKS_EXPORT void c_KDDockWidgets__Core__Item__destructor(void *thisObj);
172DOCKS_EXPORT bool c_KDDockWidgets__Core__Item___get_m_isContainer(void *thisObj);
173DOCKS_EXPORT bool c_KDDockWidgets__Core__Item___get_m_isSettingGuest(void *thisObj);
174DOCKS_EXPORT bool c_KDDockWidgets__Core__Item___get_m_inDtor(void *thisObj);
175DOCKS_EXPORT void c_static_KDDockWidgets__Core__Item___set_separatorThickness_int(int separatorThickness_);
176DOCKS_EXPORT void c_static_KDDockWidgets__Core__Item___set_s_silenceSanityChecks_bool(bool s_silenceSanityChecks_);
177DOCKS_EXPORT void c_KDDockWidgets__Core__Item___set_m_isSettingGuest_bool(void *thisObj, bool m_isSettingGuest_);
178DOCKS_EXPORT void c_KDDockWidgets__Core__Item___set_m_inDtor_bool(void *thisObj, bool m_inDtor_);
179DOCKS_EXPORT void c_KDDockWidgets__Core__Item__registerVirtualMethodCallback(void *ptr, void *callback, int methodId);
180DOCKS_EXPORT void c_KDDockWidgets__Core__Item_Finalizer(void *cppObj);
181}
DOCKS_EXPORT bool c_KDDockWidgets__Core__Item__isPlaceholder(void *thisObj)
Definition Item_c.cpp:328
DOCKS_EXPORT void c_KDDockWidgets__Core__Item__ref(void *thisObj)
Definition Item_c.cpp:416
DOCKS_EXPORT void * c_KDDockWidgets__Core__Item__geometry(void *thisObj)
Definition Item_c.cpp:298
DOCKS_EXPORT void c_KDDockWidgets__Core__Item__dumpLayout_int_bool(void *thisObj, int level, bool printSeparators)
Definition Item_c.cpp:293
DOCKS_EXPORT int c_KDDockWidgets__Core__Item__x(void *thisObj)
Definition Item_c.cpp:517
DOCKS_EXPORT bool c_KDDockWidgets__Core__Item__checkSanity(void *thisObj)
Definition Item_c.cpp:287
DOCKS_EXPORT void c_KDDockWidgets__Core__Item__setMinSize_Size(void *thisObj, void *arg__1_)
Definition Item_c.cpp:463
DOCKS_EXPORT void c_KDDockWidgets__Core__Item__unref(void *thisObj)
Definition Item_c.cpp:495
DOCKS_EXPORT int c_KDDockWidgets__Core__Item__width(void *thisObj)
Definition Item_c.cpp:511
DOCKS_EXPORT int c_KDDockWidgets__Core__Item__refCount(void *thisObj)
Definition Item_c.cpp:421
DOCKS_EXPORT void * c_KDDockWidgets__Core__Item__missingSize(void *thisObj)
Definition Item_c.cpp:398
DOCKS_EXPORT void * c_KDDockWidgets__Core__Item__mapToRoot_Rect(void *thisObj, void *arg__1_)
Definition Item_c.cpp:378
DOCKS_EXPORT void c_KDDockWidgets__Core__Item__setGeometry_Rect(void *thisObj, void *rect_)
Definition Item_c.cpp:437
DOCKS_EXPORT bool c_KDDockWidgets__Core__Item__isBeingInserted(void *thisObj)
Definition Item_c.cpp:310
DOCKS_EXPORT bool c_KDDockWidgets__Core__Item__isRoot(void *thisObj)
Definition Item_c.cpp:334
DOCKS_EXPORT void c_KDDockWidgets__Core__Item__updateWidgetGeometries(void *thisObj)
Definition Item_c.cpp:500
DOCKS_EXPORT void * c_KDDockWidgets__Core__Item__mapFromParent_Point(void *thisObj, void *arg__1_)
Definition Item_c.cpp:346
DOCKS_EXPORT bool c_KDDockWidgets__Core__Item__isVisible_bool(void *thisObj, bool excludeBeingInserted)
Definition Item_c.cpp:340
DOCKS_EXPORT void c_KDDockWidgets__Core__Item__setGeometry_recursive_Rect(void *thisObj, void *rect_)
Definition Item_c.cpp:444
DOCKS_EXPORT void c_KDDockWidgets__Core__Item__setMaxSizeHint_Size(void *thisObj, void *arg__1_)
Definition Item_c.cpp:456
DOCKS_EXPORT void c_KDDockWidgets__Core__Item__setBeingInserted_bool(void *thisObj, bool arg__1)
Definition Item_c.cpp:432
DOCKS_EXPORT void * c_KDDockWidgets__Core__Item__rect(void *thisObj)
Definition Item_c.cpp:410
DOCKS_EXPORT void * c_KDDockWidgets__Core__Item__minSize(void *thisObj)
Definition Item_c.cpp:392
DOCKS_EXPORT bool c_KDDockWidgets__Core__Item__isContainer(void *thisObj)
Definition Item_c.cpp:316
DOCKS_EXPORT void * c_KDDockWidgets__Core__Item__pos(void *thisObj)
Definition Item_c.cpp:404
DOCKS_EXPORT void * c_KDDockWidgets__Core__Item__size(void *thisObj)
Definition Item_c.cpp:484
DOCKS_EXPORT bool c_KDDockWidgets__Core__Item___get_m_isContainer(void *thisObj)
Definition Item_c.cpp:540
DOCKS_EXPORT void c_KDDockWidgets__Core__Item__setSize_Size(void *thisObj, void *arg__1_)
Definition Item_c.cpp:477
DOCKS_EXPORT void c_KDDockWidgets__Core__Item___set_m_isSettingGuest_bool(void *thisObj, bool m_isSettingGuest_)
Definition Item_c.cpp:560
DOCKS_EXPORT int c_KDDockWidgets__Core__Item__y(void *thisObj)
Definition Item_c.cpp:523
DOCKS_EXPORT void c_KDDockWidgets__Core__Item_Finalizer(void *cppObj)
Definition Item_c.cpp:283
DOCKS_EXPORT bool c_KDDockWidgets__Core__Item___get_m_inDtor(void *thisObj)
Definition Item_c.cpp:548
DOCKS_EXPORT void c_KDDockWidgets__Core__Item__requestResize_int_int_int_int(void *thisObj, int left, int top, int right, int bottom)
Definition Item_c.cpp:427
DOCKS_EXPORT void * c_KDDockWidgets__Core__Item__mapFromRoot_Rect(void *thisObj, void *arg__1_)
Definition Item_c.cpp:362
DOCKS_EXPORT void c_static_KDDockWidgets__Core__Item___set_s_silenceSanityChecks_bool(bool s_silenceSanityChecks_)
Definition Item_c.cpp:556
DOCKS_EXPORT bool c_static_KDDockWidgets__Core__Item___get_s_silenceSanityChecks()
Definition Item_c.cpp:536
DOCKS_EXPORT void * c_KDDockWidgets__Core__Item__mapFromRoot_Point(void *thisObj, void *arg__1_)
Definition Item_c.cpp:354
DOCKS_EXPORT void c_KDDockWidgets__Core__Item__destructor(void *thisObj)
Definition Item_c.cpp:528
DOCKS_EXPORT void c_KDDockWidgets__Core__Item__setIsVisible_bool(void *thisObj, bool arg__1)
Definition Item_c.cpp:451
DOCKS_EXPORT void c_static_KDDockWidgets__Core__Item___set_separatorThickness_int(int separatorThickness_)
Definition Item_c.cpp:552
DOCKS_EXPORT bool c_KDDockWidgets__Core__Item___get_m_isSettingGuest(void *thisObj)
Definition Item_c.cpp:544
DOCKS_EXPORT void c_KDDockWidgets__Core__Item__turnIntoPlaceholder(void *thisObj)
Definition Item_c.cpp:490
DOCKS_EXPORT void c_KDDockWidgets__Core__Item__setPos_Point(void *thisObj, void *arg__1_)
Definition Item_c.cpp:470
DOCKS_EXPORT int c_static_KDDockWidgets__Core__Item___get_separatorThickness()
Definition Item_c.cpp:532
DOCKS_EXPORT void * c_KDDockWidgets__Core__Item__mapToRoot_Point(void *thisObj, void *arg__1_)
Definition Item_c.cpp:370
DOCKS_EXPORT void c_KDDockWidgets__Core__Item__registerVirtualMethodCallback(void *ptr, void *callback, int methodId)
Definition Item_c.cpp:568
DOCKS_EXPORT bool c_KDDockWidgets__Core__Item__isMDI(void *thisObj)
Definition Item_c.cpp:322
DOCKS_EXPORT void * c_KDDockWidgets__Core__Item__maxSizeHint(void *thisObj)
Definition Item_c.cpp:386
DOCKS_EXPORT int c_KDDockWidgets__Core__Item__visibleCount_recursive(void *thisObj)
Definition Item_c.cpp:505
DOCKS_EXPORT void c_KDDockWidgets__Core__Item___set_m_inDtor_bool(void *thisObj, bool m_inDtor_)
Definition Item_c.cpp:564
DOCKS_EXPORT int c_KDDockWidgets__Core__Item__height(void *thisObj)
Definition Item_c.cpp:304
virtual void setGeometry_recursive(KDDockWidgets::Rect rect)
Definition Item_c.cpp:177
KDDockWidgets::Rect geometry() const
Definition Item_c.cpp:58
void requestResize(int left, int top, int right, int bottom)
Definition Item_c.cpp:165
KDDockWidgets::Point mapFromRoot(KDDockWidgets::Point arg__1) const
Definition Item_c.cpp:103
virtual KDDockWidgets::Size maxSizeHint_nocallback() const
Definition Item_c.cpp:128
Callback_setGeometry_recursive m_setGeometry_recursiveCallback
Definition Item_c.h:81
void setGeometry(KDDockWidgets::Rect rect)
Definition Item_c.cpp:173
KDDockWidgets::Size missingSize() const
Definition Item_c.cpp:145
void setSize(KDDockWidgets::Size arg__1)
Definition Item_c.cpp:215
virtual bool isVisible(bool excludeBeingInserted=false) const
Definition Item_c.cpp:86
virtual void dumpLayout(int level=0, bool printSeparators=true)
Definition Item_c.cpp:45
void setPos(KDDockWidgets::Point arg__1)
Definition Item_c.cpp:211
void setMaxSizeHint(KDDockWidgets::Size arg__1)
Definition Item_c.cpp:203
Callback_updateWidgetGeometries m_updateWidgetGeometriesCallback
Definition Item_c.h:85
void(* Callback_dumpLayout)(void *, int level, bool printSeparators)
Definition Item_c.h:72
virtual bool isVisible_nocallback(bool excludeBeingInserted=false) const
Definition Item_c.cpp:95
virtual KDDockWidgets::Size minSize_nocallback() const
Definition Item_c.cpp:141
virtual KDDockWidgets::Size maxSizeHint() const
Definition Item_c.cpp:119
virtual KDDockWidgets::Size minSize() const
Definition Item_c.cpp:132
void(* Callback_setIsVisible)(void *, bool arg__1)
Definition Item_c.h:82
void setMinSize(KDDockWidgets::Size arg__1)
Definition Item_c.cpp:207
KDDockWidgets::Point mapToRoot(KDDockWidgets::Point arg__1) const
Definition Item_c.cpp:111
bool(* Callback_isVisible)(void *, bool excludeBeingInserted)
Definition Item_c.h:74
KDDockWidgets::Size *(* Callback_minSize)(void *)
Definition Item_c.h:78
void(* Callback_setGeometry_recursive)(void *, KDDockWidgets::Rect *rect)
Definition Item_c.h:80
virtual int visibleCount_recursive_nocallback() const
Definition Item_c.cpp:253
Callback_visibleCount_recursive m_visibleCount_recursiveCallback
Definition Item_c.h:87
virtual void setGeometry_recursive_nocallback(KDDockWidgets::Rect rect)
Definition Item_c.cpp:186
Callback_setIsVisible m_setIsVisibleCallback
Definition Item_c.h:83
KDDockWidgets::Point mapFromParent(KDDockWidgets::Point arg__1) const
Definition Item_c.cpp:99
virtual void dumpLayout_nocallback(int level=0, bool printSeparators=true)
Definition Item_c.cpp:54
KDDockWidgets::Size *(* Callback_maxSizeHint)(void *)
Definition Item_c.h:76
virtual void setIsVisible_nocallback(bool arg__1)
Definition Item_c.cpp:199

© 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