KDDockWidgets API Documentation 2.1
Loading...
Searching...
No Matches
Item_c.cpp
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 "Item_c.h"
12
13
14#include <iostream>
15
16#include <cassert>
17
18
19namespace Dartagnan {
20
21typedef int (*CleanupCallback)(void *thisPtr);
23
24template<typename T>
25struct ValueWrapper
26{
27 T value;
28};
29
30}
33{
35 const void *thisPtr = this;
36 return m_checkSanityCallback(const_cast<void *>(thisPtr));
37 } else {
38 return ::KDDockWidgets::Core::Item::checkSanity();
39 }
40}
42{
43 return ::KDDockWidgets::Core::Item::checkSanity();
44}
45void Item_wrapper::dumpLayout(int level, bool printSeparators)
46{
48 const void *thisPtr = this;
49 m_dumpLayoutCallback(const_cast<void *>(thisPtr), level, printSeparators);
50 } else {
51 ::KDDockWidgets::Core::Item::dumpLayout(level, printSeparators);
52 }
53}
54void Item_wrapper::dumpLayout_nocallback(int level, bool printSeparators)
55{
56 ::KDDockWidgets::Core::Item::dumpLayout(level, printSeparators);
57}
58KDDockWidgets::Rect Item_wrapper::geometry() const
59{
60 return ::KDDockWidgets::Core::Item::geometry();
61}
63{
64 return ::KDDockWidgets::Core::Item::height();
65}
67{
69 const void *thisPtr = this;
70 return m_inSetSizeCallback(const_cast<void *>(thisPtr));
71 } else {
72 return ::KDDockWidgets::Core::Item::inSetSize();
73 }
74}
76{
77 return ::KDDockWidgets::Core::Item::inSetSize();
78}
80{
81 return ::KDDockWidgets::Core::Item::isBeingInserted();
82}
84{
85 return ::KDDockWidgets::Core::Item::isContainer();
86}
88{
89 return ::KDDockWidgets::Core::Item::isMDI();
90}
92{
93 return ::KDDockWidgets::Core::Item::isPlaceholder();
94}
96{
97 return ::KDDockWidgets::Core::Item::isRoot();
98}
99bool Item_wrapper::isVisible(bool excludeBeingInserted) const
100{
102 const void *thisPtr = this;
103 return m_isVisibleCallback(const_cast<void *>(thisPtr), excludeBeingInserted);
104 } else {
105 return ::KDDockWidgets::Core::Item::isVisible(excludeBeingInserted);
106 }
107}
108bool Item_wrapper::isVisible_nocallback(bool excludeBeingInserted) const
109{
110 return ::KDDockWidgets::Core::Item::isVisible(excludeBeingInserted);
111}
112KDDockWidgets::Point Item_wrapper::mapFromParent(KDDockWidgets::Point arg__1) const
113{
114 return ::KDDockWidgets::Core::Item::mapFromParent(arg__1);
115}
116KDDockWidgets::Point Item_wrapper::mapFromRoot(KDDockWidgets::Point arg__1) const
117{
118 return ::KDDockWidgets::Core::Item::mapFromRoot(arg__1);
119}
120KDDockWidgets::Rect Item_wrapper::mapFromRoot(KDDockWidgets::Rect arg__1) const
121{
122 return ::KDDockWidgets::Core::Item::mapFromRoot(arg__1);
123}
124KDDockWidgets::Point Item_wrapper::mapToRoot(KDDockWidgets::Point arg__1) const
125{
126 return ::KDDockWidgets::Core::Item::mapToRoot(arg__1);
127}
128KDDockWidgets::Rect Item_wrapper::mapToRoot(KDDockWidgets::Rect arg__1) const
129{
130 return ::KDDockWidgets::Core::Item::mapToRoot(arg__1);
131}
132KDDockWidgets::Size Item_wrapper::maxSizeHint() const
133{
135 const void *thisPtr = this;
136 return *m_maxSizeHintCallback(const_cast<void *>(thisPtr));
137 } else {
138 return ::KDDockWidgets::Core::Item::maxSizeHint();
139 }
140}
141KDDockWidgets::Size Item_wrapper::maxSizeHint_nocallback() const
142{
143 return ::KDDockWidgets::Core::Item::maxSizeHint();
144}
145KDDockWidgets::Size Item_wrapper::minSize() const
146{
147 if (m_minSizeCallback) {
148 const void *thisPtr = this;
149 return *m_minSizeCallback(const_cast<void *>(thisPtr));
150 } else {
151 return ::KDDockWidgets::Core::Item::minSize();
152 }
153}
154KDDockWidgets::Size Item_wrapper::minSize_nocallback() const
155{
156 return ::KDDockWidgets::Core::Item::minSize();
157}
158KDDockWidgets::Size Item_wrapper::missingSize() const
159{
160 return ::KDDockWidgets::Core::Item::missingSize();
161}
162KDDockWidgets::Core::Item *Item_wrapper::outermostNeighbor(KDDockWidgets::Location arg__1, bool visibleOnly) const
163{
164 return ::KDDockWidgets::Core::Item::outermostNeighbor(arg__1, visibleOnly);
165}
166KDDockWidgets::Point Item_wrapper::pos() const
167{
168 return ::KDDockWidgets::Core::Item::pos();
169}
170KDDockWidgets::Rect Item_wrapper::rect() const
171{
172 return ::KDDockWidgets::Core::Item::rect();
173}
175{
176 ::KDDockWidgets::Core::Item::ref();
177}
179{
180 return ::KDDockWidgets::Core::Item::refCount();
181}
182void Item_wrapper::requestResize(int left, int top, int right, int bottom)
183{
184 ::KDDockWidgets::Core::Item::requestResize(left, top, right, bottom);
185}
187{
188 ::KDDockWidgets::Core::Item::setBeingInserted(arg__1);
189}
190void Item_wrapper::setGeometry(KDDockWidgets::Rect rect)
191{
192 ::KDDockWidgets::Core::Item::setGeometry(rect);
193}
194void Item_wrapper::setGeometry_recursive(KDDockWidgets::Rect rect)
195{
197 const void *thisPtr = this;
198 m_setGeometry_recursiveCallback(const_cast<void *>(thisPtr), &rect);
199 } else {
200 ::KDDockWidgets::Core::Item::setGeometry_recursive(rect);
201 }
202}
204{
205 ::KDDockWidgets::Core::Item::setGeometry_recursive(rect);
206}
208{
210 const void *thisPtr = this;
211 m_setIsVisibleCallback(const_cast<void *>(thisPtr), arg__1);
212 } else {
213 ::KDDockWidgets::Core::Item::setIsVisible(arg__1);
214 }
215}
217{
218 ::KDDockWidgets::Core::Item::setIsVisible(arg__1);
219}
220void Item_wrapper::setMaxSizeHint(KDDockWidgets::Size arg__1)
221{
222 ::KDDockWidgets::Core::Item::setMaxSizeHint(arg__1);
223}
224void Item_wrapper::setMinSize(KDDockWidgets::Size arg__1)
225{
226 ::KDDockWidgets::Core::Item::setMinSize(arg__1);
227}
228void Item_wrapper::setPos(KDDockWidgets::Point arg__1)
229{
230 ::KDDockWidgets::Core::Item::setPos(arg__1);
231}
232void Item_wrapper::setSize(KDDockWidgets::Size arg__1)
233{
234 ::KDDockWidgets::Core::Item::setSize(arg__1);
235}
236KDDockWidgets::Size Item_wrapper::size() const
237{
238 return ::KDDockWidgets::Core::Item::size();
239}
241{
242 ::KDDockWidgets::Core::Item::turnIntoPlaceholder();
243}
245{
246 ::KDDockWidgets::Core::Item::unref();
247}
249{
251 const void *thisPtr = this;
252 m_updateWidgetGeometriesCallback(const_cast<void *>(thisPtr));
253 } else {
254 ::KDDockWidgets::Core::Item::updateWidgetGeometries();
255 }
256}
258{
259 ::KDDockWidgets::Core::Item::updateWidgetGeometries();
260}
262{
264 const void *thisPtr = this;
265 return m_visibleCount_recursiveCallback(const_cast<void *>(thisPtr));
266 } else {
267 return ::KDDockWidgets::Core::Item::visibleCount_recursive();
268 }
269}
271{
272 return ::KDDockWidgets::Core::Item::visibleCount_recursive();
273}
275{
276 return ::KDDockWidgets::Core::Item::width();
277}
279{
280 return ::KDDockWidgets::Core::Item::x();
281}
283{
284 return ::KDDockWidgets::Core::Item::y();
285}
289
290}
291static KDDockWidgets::Core::Item *fromPtr(void *ptr)
292{
293 return reinterpret_cast<KDDockWidgets::Core::Item *>(ptr);
294}
299extern "C" {
301{
302 delete reinterpret_cast<KDDockWidgetsBindings_wrappersNS::Item_wrapper *>(cppObj);
303} // checkSanity()
305{
306 const auto &result = [&] {auto targetPtr = fromPtr(thisObj);auto wrapperPtr = dynamic_cast<KDDockWidgetsBindings_wrappersNS::Item_wrapper*>(targetPtr);if (wrapperPtr) { return wrapperPtr->checkSanity_nocallback();} else { return targetPtr->checkSanity();} }();
307 return result;
308}
309// dumpLayout(int level, bool printSeparators)
310void c_KDDockWidgets__Core__Item__dumpLayout_int_bool(void *thisObj, int level, bool printSeparators)
311{
312 [&] {auto targetPtr = fromPtr(thisObj);auto wrapperPtr = dynamic_cast<KDDockWidgetsBindings_wrappersNS::Item_wrapper*>(targetPtr);if (wrapperPtr) { return wrapperPtr->dumpLayout_nocallback(level,printSeparators);} else { return targetPtr->dumpLayout(level,printSeparators);} }();
313}
314// geometry() const
316{
317 const auto &result = new Dartagnan::ValueWrapper<KDDockWidgets::Rect> { fromPtr(thisObj)->geometry() };
318 return result;
319}
320// height() const
322{
323 const auto &result = fromPtr(thisObj)->height();
324 return result;
325}
326// inSetSize() const
328{
329 const auto &result = [&] {auto targetPtr = fromPtr(thisObj);auto wrapperPtr = dynamic_cast<KDDockWidgetsBindings_wrappersNS::Item_wrapper*>(targetPtr);if (wrapperPtr) { return wrapperPtr->inSetSize_nocallback();} else { return targetPtr->inSetSize();} }();
330 return result;
331}
332// isBeingInserted() const
334{
335 const auto &result = fromPtr(thisObj)->isBeingInserted();
336 return result;
337}
338// isContainer() const
340{
341 const auto &result = fromPtr(thisObj)->isContainer();
342 return result;
343}
344// isMDI() const
346{
347 const auto &result = fromPtr(thisObj)->isMDI();
348 return result;
349}
350// isPlaceholder() const
352{
353 const auto &result = fromPtr(thisObj)->isPlaceholder();
354 return result;
355}
356// isRoot() const
358{
359 const auto &result = fromPtr(thisObj)->isRoot();
360 return result;
361}
362// isVisible(bool excludeBeingInserted) const
363bool c_KDDockWidgets__Core__Item__isVisible_bool(void *thisObj, bool excludeBeingInserted)
364{
365 const auto &result = [&] {auto targetPtr = fromPtr(thisObj);auto wrapperPtr = dynamic_cast<KDDockWidgetsBindings_wrappersNS::Item_wrapper*>(targetPtr);if (wrapperPtr) { return wrapperPtr->isVisible_nocallback(excludeBeingInserted);} else { return targetPtr->isVisible(excludeBeingInserted);} }();
366 return result;
367}
368// mapFromParent(KDDockWidgets::Point arg__1) const
369void *c_KDDockWidgets__Core__Item__mapFromParent_Point(void *thisObj, void *arg__1_)
370{
371 assert(arg__1_);
372 auto &arg__1 = *reinterpret_cast<KDDockWidgets::Point *>(arg__1_);
373 const auto &result = new Dartagnan::ValueWrapper<KDDockWidgets::Point> { fromPtr(thisObj)->mapFromParent(arg__1) };
374 return result;
375}
376// mapFromRoot(KDDockWidgets::Point arg__1) const
377void *c_KDDockWidgets__Core__Item__mapFromRoot_Point(void *thisObj, void *arg__1_)
378{
379 assert(arg__1_);
380 auto &arg__1 = *reinterpret_cast<KDDockWidgets::Point *>(arg__1_);
381 const auto &result = new Dartagnan::ValueWrapper<KDDockWidgets::Point> { fromPtr(thisObj)->mapFromRoot(arg__1) };
382 return result;
383}
384// mapFromRoot(KDDockWidgets::Rect arg__1) const
385void *c_KDDockWidgets__Core__Item__mapFromRoot_Rect(void *thisObj, void *arg__1_)
386{
387 assert(arg__1_);
388 auto &arg__1 = *reinterpret_cast<KDDockWidgets::Rect *>(arg__1_);
389 const auto &result = new Dartagnan::ValueWrapper<KDDockWidgets::Rect> { fromPtr(thisObj)->mapFromRoot(arg__1) };
390 return result;
391}
392// mapToRoot(KDDockWidgets::Point arg__1) const
393void *c_KDDockWidgets__Core__Item__mapToRoot_Point(void *thisObj, void *arg__1_)
394{
395 assert(arg__1_);
396 auto &arg__1 = *reinterpret_cast<KDDockWidgets::Point *>(arg__1_);
397 const auto &result = new Dartagnan::ValueWrapper<KDDockWidgets::Point> { fromPtr(thisObj)->mapToRoot(arg__1) };
398 return result;
399}
400// mapToRoot(KDDockWidgets::Rect arg__1) const
401void *c_KDDockWidgets__Core__Item__mapToRoot_Rect(void *thisObj, void *arg__1_)
402{
403 assert(arg__1_);
404 auto &arg__1 = *reinterpret_cast<KDDockWidgets::Rect *>(arg__1_);
405 const auto &result = new Dartagnan::ValueWrapper<KDDockWidgets::Rect> { fromPtr(thisObj)->mapToRoot(arg__1) };
406 return result;
407}
408// maxSizeHint() const
410{
411 const auto &result = new Dartagnan::ValueWrapper<KDDockWidgets::Size> { [&] {auto targetPtr = fromPtr(thisObj);auto wrapperPtr = dynamic_cast<KDDockWidgetsBindings_wrappersNS::Item_wrapper*>(targetPtr);if (wrapperPtr) { return wrapperPtr->maxSizeHint_nocallback();} else { return targetPtr->maxSizeHint();} }() };
412 return result;
413}
414// minSize() const
416{
417 const auto &result = new Dartagnan::ValueWrapper<KDDockWidgets::Size> { [&] {auto targetPtr = fromPtr(thisObj);auto wrapperPtr = dynamic_cast<KDDockWidgetsBindings_wrappersNS::Item_wrapper*>(targetPtr);if (wrapperPtr) { return wrapperPtr->minSize_nocallback();} else { return targetPtr->minSize();} }() };
418 return result;
419}
420// missingSize() const
422{
423 const auto &result = new Dartagnan::ValueWrapper<KDDockWidgets::Size> { fromPtr(thisObj)->missingSize() };
424 return result;
425}
426// outermostNeighbor(KDDockWidgets::Location arg__1, bool visibleOnly) const
427void *c_KDDockWidgets__Core__Item__outermostNeighbor_Location_bool(void *thisObj, int arg__1, bool visibleOnly)
428{
429 const auto &result = fromPtr(thisObj)->outermostNeighbor(static_cast<KDDockWidgets::Location>(arg__1), visibleOnly);
430 return result;
431}
432// pos() const
434{
435 const auto &result = new Dartagnan::ValueWrapper<KDDockWidgets::Point> { fromPtr(thisObj)->pos() };
436 return result;
437}
438// rect() const
440{
441 const auto &result = new Dartagnan::ValueWrapper<KDDockWidgets::Rect> { fromPtr(thisObj)->rect() };
442 return result;
443}
444// ref()
446{
447 fromPtr(thisObj)->ref();
448}
449// refCount() const
451{
452 const auto &result = fromPtr(thisObj)->refCount();
453 return result;
454}
455// requestResize(int left, int top, int right, int bottom)
456void c_KDDockWidgets__Core__Item__requestResize_int_int_int_int(void *thisObj, int left, int top, int right, int bottom)
457{
458 fromPtr(thisObj)->requestResize(left, top, right, bottom);
459}
460// setBeingInserted(bool arg__1)
462{
463 fromPtr(thisObj)->setBeingInserted(arg__1);
464}
465// setGeometry(KDDockWidgets::Rect rect)
466void c_KDDockWidgets__Core__Item__setGeometry_Rect(void *thisObj, void *rect_)
467{
468 assert(rect_);
469 auto &rect = *reinterpret_cast<KDDockWidgets::Rect *>(rect_);
470 fromPtr(thisObj)->setGeometry(rect);
471}
472// setGeometry_recursive(KDDockWidgets::Rect rect)
474{
475 assert(rect_);
476 auto &rect = *reinterpret_cast<KDDockWidgets::Rect *>(rect_);
477 [&] {auto targetPtr = fromPtr(thisObj);auto wrapperPtr = dynamic_cast<KDDockWidgetsBindings_wrappersNS::Item_wrapper*>(targetPtr);if (wrapperPtr) { return wrapperPtr->setGeometry_recursive_nocallback(rect);} else { return targetPtr->setGeometry_recursive(rect);} }();
478}
479// setIsVisible(bool arg__1)
481{
482 [&] {auto targetPtr = fromPtr(thisObj);auto wrapperPtr = dynamic_cast<KDDockWidgetsBindings_wrappersNS::Item_wrapper*>(targetPtr);if (wrapperPtr) { return wrapperPtr->setIsVisible_nocallback(arg__1);} else { return targetPtr->setIsVisible(arg__1);} }();
483}
484// setMaxSizeHint(KDDockWidgets::Size arg__1)
485void c_KDDockWidgets__Core__Item__setMaxSizeHint_Size(void *thisObj, void *arg__1_)
486{
487 assert(arg__1_);
488 auto &arg__1 = *reinterpret_cast<KDDockWidgets::Size *>(arg__1_);
489 fromPtr(thisObj)->setMaxSizeHint(arg__1);
490}
491// setMinSize(KDDockWidgets::Size arg__1)
492void c_KDDockWidgets__Core__Item__setMinSize_Size(void *thisObj, void *arg__1_)
493{
494 assert(arg__1_);
495 auto &arg__1 = *reinterpret_cast<KDDockWidgets::Size *>(arg__1_);
496 fromPtr(thisObj)->setMinSize(arg__1);
497}
498// setPos(KDDockWidgets::Point arg__1)
499void c_KDDockWidgets__Core__Item__setPos_Point(void *thisObj, void *arg__1_)
500{
501 assert(arg__1_);
502 auto &arg__1 = *reinterpret_cast<KDDockWidgets::Point *>(arg__1_);
503 fromPtr(thisObj)->setPos(arg__1);
504}
505// setSize(KDDockWidgets::Size arg__1)
506void c_KDDockWidgets__Core__Item__setSize_Size(void *thisObj, void *arg__1_)
507{
508 assert(arg__1_);
509 auto &arg__1 = *reinterpret_cast<KDDockWidgets::Size *>(arg__1_);
510 fromPtr(thisObj)->setSize(arg__1);
511}
512// size() const
514{
515 const auto &result = new Dartagnan::ValueWrapper<KDDockWidgets::Size> { fromPtr(thisObj)->size() };
516 return result;
517}
518// turnIntoPlaceholder()
520{
521 fromPtr(thisObj)->turnIntoPlaceholder();
522}
523// unref()
525{
526 fromPtr(thisObj)->unref();
527}
528// updateWidgetGeometries()
530{
531 [&] {auto targetPtr = fromPtr(thisObj);auto wrapperPtr = dynamic_cast<KDDockWidgetsBindings_wrappersNS::Item_wrapper*>(targetPtr);if (wrapperPtr) { return wrapperPtr->updateWidgetGeometries_nocallback();} else { return targetPtr->updateWidgetGeometries();} }();
532}
533// visibleCount_recursive() const
535{
536 const auto &result = [&] {auto targetPtr = fromPtr(thisObj);auto wrapperPtr = dynamic_cast<KDDockWidgetsBindings_wrappersNS::Item_wrapper*>(targetPtr);if (wrapperPtr) { return wrapperPtr->visibleCount_recursive_nocallback();} else { return targetPtr->visibleCount_recursive();} }();
537 return result;
538}
539// width() const
541{
542 const auto &result = fromPtr(thisObj)->width();
543 return result;
544}
545// x() const
547{
548 const auto &result = fromPtr(thisObj)->x();
549 return result;
550}
551// y() const
553{
554 const auto &result = fromPtr(thisObj)->y();
555 return result;
556}
558{
559 delete fromPtr(thisObj);
560}
562{
563 return KDDockWidgetsBindings_wrappersNS::Item_wrapper::separatorThickness;
564}
566{
567 return KDDockWidgetsBindings_wrappersNS::Item_wrapper::layoutSpacing;
568}
570{
571 return KDDockWidgetsBindings_wrappersNS::Item_wrapper::s_silenceSanityChecks;
572}
574{
575 return fromPtr(thisObj)->m_isContainer;
576}
578{
579 return fromPtr(thisObj)->m_isSettingGuest;
580}
582{
583 return fromPtr(thisObj)->m_inDtor;
584}
586{
587 KDDockWidgetsBindings_wrappersNS::Item_wrapper::separatorThickness = separatorThickness_;
588}
590{
591 KDDockWidgetsBindings_wrappersNS::Item_wrapper::layoutSpacing = layoutSpacing_;
592}
594{
595 KDDockWidgetsBindings_wrappersNS::Item_wrapper::s_silenceSanityChecks = s_silenceSanityChecks_;
596}
597void c_KDDockWidgets__Core__Item___set_m_isSettingGuest_bool(void *thisObj, bool m_isSettingGuest_)
598{
599 fromPtr(thisObj)->m_isSettingGuest = m_isSettingGuest_;
600}
601void c_KDDockWidgets__Core__Item___set_m_inDtor_bool(void *thisObj, bool m_inDtor_)
602{
603 fromPtr(thisObj)->m_inDtor = m_inDtor_;
604}
605void c_KDDockWidgets__Core__Item__registerVirtualMethodCallback(void *ptr, void *callback, int methodId)
606{
607 auto wrapper = fromWrapperPtr(ptr);
608 switch (methodId) {
609 case 255:
610 wrapper->m_checkSanityCallback = reinterpret_cast<KDDockWidgetsBindings_wrappersNS::Item_wrapper::Callback_checkSanity>(callback);
611 break;
612 case 256:
613 wrapper->m_dumpLayoutCallback = reinterpret_cast<KDDockWidgetsBindings_wrappersNS::Item_wrapper::Callback_dumpLayout>(callback);
614 break;
615 case 259:
616 wrapper->m_inSetSizeCallback = reinterpret_cast<KDDockWidgetsBindings_wrappersNS::Item_wrapper::Callback_inSetSize>(callback);
617 break;
618 case 265:
619 wrapper->m_isVisibleCallback = reinterpret_cast<KDDockWidgetsBindings_wrappersNS::Item_wrapper::Callback_isVisible>(callback);
620 break;
621 case 271:
622 wrapper->m_maxSizeHintCallback = reinterpret_cast<KDDockWidgetsBindings_wrappersNS::Item_wrapper::Callback_maxSizeHint>(callback);
623 break;
624 case 272:
625 wrapper->m_minSizeCallback = reinterpret_cast<KDDockWidgetsBindings_wrappersNS::Item_wrapper::Callback_minSize>(callback);
626 break;
627 case 287:
628 wrapper->m_setGeometry_recursiveCallback = reinterpret_cast<KDDockWidgetsBindings_wrappersNS::Item_wrapper::Callback_setGeometry_recursive>(callback);
629 break;
630 case 288:
631 wrapper->m_setIsVisibleCallback = reinterpret_cast<KDDockWidgetsBindings_wrappersNS::Item_wrapper::Callback_setIsVisible>(callback);
632 break;
633 case 299:
634 wrapper->m_updateWidgetGeometriesCallback = reinterpret_cast<KDDockWidgetsBindings_wrappersNS::Item_wrapper::Callback_updateWidgetGeometries>(callback);
635 break;
636 case 300:
637 wrapper->m_visibleCount_recursiveCallback = reinterpret_cast<KDDockWidgetsBindings_wrappersNS::Item_wrapper::Callback_visibleCount_recursive>(callback);
638 break;
639 }
640}
641}
bool c_KDDockWidgets__Core__Item___get_m_inDtor(void *thisObj)
Definition Item_c.cpp:581
bool c_KDDockWidgets__Core__Item__isPlaceholder(void *thisObj)
Definition Item_c.cpp:351
bool c_KDDockWidgets__Core__Item__isVisible_bool(void *thisObj, bool excludeBeingInserted)
Definition Item_c.cpp:363
void c_static_KDDockWidgets__Core__Item___set_separatorThickness_int(int separatorThickness_)
Definition Item_c.cpp:585
int c_static_KDDockWidgets__Core__Item___get_layoutSpacing()
Definition Item_c.cpp:565
void c_KDDockWidgets__Core__Item__ref(void *thisObj)
Definition Item_c.cpp:445
void * c_KDDockWidgets__Core__Item__pos(void *thisObj)
Definition Item_c.cpp:433
void c_KDDockWidgets__Core__Item__setBeingInserted_bool(void *thisObj, bool arg__1)
Definition Item_c.cpp:461
bool c_KDDockWidgets__Core__Item__isBeingInserted(void *thisObj)
Definition Item_c.cpp:333
void c_KDDockWidgets__Core__Item__setIsVisible_bool(void *thisObj, bool arg__1)
Definition Item_c.cpp:480
bool c_KDDockWidgets__Core__Item__isMDI(void *thisObj)
Definition Item_c.cpp:345
int c_KDDockWidgets__Core__Item__visibleCount_recursive(void *thisObj)
Definition Item_c.cpp:534
int c_KDDockWidgets__Core__Item__height(void *thisObj)
Definition Item_c.cpp:321
int c_KDDockWidgets__Core__Item__width(void *thisObj)
Definition Item_c.cpp:540
void * c_KDDockWidgets__Core__Item__outermostNeighbor_Location_bool(void *thisObj, int arg__1, bool visibleOnly)
Definition Item_c.cpp:427
void * c_KDDockWidgets__Core__Item__mapToRoot_Rect(void *thisObj, void *arg__1_)
Definition Item_c.cpp:401
void c_KDDockWidgets__Core__Item__setMinSize_Size(void *thisObj, void *arg__1_)
Definition Item_c.cpp:492
void * c_KDDockWidgets__Core__Item__geometry(void *thisObj)
Definition Item_c.cpp:315
int c_KDDockWidgets__Core__Item__x(void *thisObj)
Definition Item_c.cpp:546
void c_KDDockWidgets__Core__Item__registerVirtualMethodCallback(void *ptr, void *callback, int methodId)
Definition Item_c.cpp:605
void * c_KDDockWidgets__Core__Item__mapFromRoot_Point(void *thisObj, void *arg__1_)
Definition Item_c.cpp:377
void * c_KDDockWidgets__Core__Item__mapFromParent_Point(void *thisObj, void *arg__1_)
Definition Item_c.cpp:369
int c_static_KDDockWidgets__Core__Item___get_separatorThickness()
Definition Item_c.cpp:561
void c_KDDockWidgets__Core__Item__turnIntoPlaceholder(void *thisObj)
Definition Item_c.cpp:519
void c_KDDockWidgets__Core__Item__setGeometry_Rect(void *thisObj, void *rect_)
Definition Item_c.cpp:466
void c_KDDockWidgets__Core__Item__unref(void *thisObj)
Definition Item_c.cpp:524
void c_KDDockWidgets__Core__Item___set_m_inDtor_bool(void *thisObj, bool m_inDtor_)
Definition Item_c.cpp:601
bool c_KDDockWidgets__Core__Item__isContainer(void *thisObj)
Definition Item_c.cpp:339
void c_KDDockWidgets__Core__Item__setGeometry_recursive_Rect(void *thisObj, void *rect_)
Definition Item_c.cpp:473
void c_KDDockWidgets__Core__Item__setMaxSizeHint_Size(void *thisObj, void *arg__1_)
Definition Item_c.cpp:485
void * c_KDDockWidgets__Core__Item__rect(void *thisObj)
Definition Item_c.cpp:439
void * c_KDDockWidgets__Core__Item__missingSize(void *thisObj)
Definition Item_c.cpp:421
bool c_KDDockWidgets__Core__Item___get_m_isContainer(void *thisObj)
Definition Item_c.cpp:573
void * c_KDDockWidgets__Core__Item__minSize(void *thisObj)
Definition Item_c.cpp:415
void * c_KDDockWidgets__Core__Item__size(void *thisObj)
Definition Item_c.cpp:513
void c_KDDockWidgets__Core__Item__setPos_Point(void *thisObj, void *arg__1_)
Definition Item_c.cpp:499
bool c_static_KDDockWidgets__Core__Item___get_s_silenceSanityChecks()
Definition Item_c.cpp:569
int c_KDDockWidgets__Core__Item__refCount(void *thisObj)
Definition Item_c.cpp:450
void * c_KDDockWidgets__Core__Item__maxSizeHint(void *thisObj)
Definition Item_c.cpp:409
void c_KDDockWidgets__Core__Item__setSize_Size(void *thisObj, void *arg__1_)
Definition Item_c.cpp:506
bool c_KDDockWidgets__Core__Item___get_m_isSettingGuest(void *thisObj)
Definition Item_c.cpp:577
void c_KDDockWidgets__Core__Item___set_m_isSettingGuest_bool(void *thisObj, bool m_isSettingGuest_)
Definition Item_c.cpp:597
static KDDockWidgetsBindings_wrappersNS::Item_wrapper * fromWrapperPtr(void *ptr)
Definition Item_c.cpp:295
void c_KDDockWidgets__Core__Item__dumpLayout_int_bool(void *thisObj, int level, bool printSeparators)
Definition Item_c.cpp:310
void c_static_KDDockWidgets__Core__Item___set_s_silenceSanityChecks_bool(bool s_silenceSanityChecks_)
Definition Item_c.cpp:593
bool c_KDDockWidgets__Core__Item__checkSanity(void *thisObj)
Definition Item_c.cpp:304
void c_KDDockWidgets__Core__Item__updateWidgetGeometries(void *thisObj)
Definition Item_c.cpp:529
int c_KDDockWidgets__Core__Item__y(void *thisObj)
Definition Item_c.cpp:552
void c_static_KDDockWidgets__Core__Item___set_layoutSpacing_int(int layoutSpacing_)
Definition Item_c.cpp:589
bool c_KDDockWidgets__Core__Item__isRoot(void *thisObj)
Definition Item_c.cpp:357
void c_KDDockWidgets__Core__Item__requestResize_int_int_int_int(void *thisObj, int left, int top, int right, int bottom)
Definition Item_c.cpp:456
void * c_KDDockWidgets__Core__Item__mapFromRoot_Rect(void *thisObj, void *arg__1_)
Definition Item_c.cpp:385
void * c_KDDockWidgets__Core__Item__mapToRoot_Point(void *thisObj, void *arg__1_)
Definition Item_c.cpp:393
static KDDockWidgets::Core::Item * fromPtr(void *ptr)
Definition Item_c.cpp:291
bool c_KDDockWidgets__Core__Item__inSetSize(void *thisObj)
Definition Item_c.cpp:327
void c_KDDockWidgets__Core__Item__destructor(void *thisObj)
Definition Item_c.cpp:557
void c_KDDockWidgets__Core__Item_Finalizer(void *cppObj)
Definition Item_c.cpp:300
virtual void setGeometry_recursive(KDDockWidgets::Rect rect)
Definition Item_c.cpp:194
KDDockWidgets::Rect geometry() const
Definition Item_c.cpp:58
void requestResize(int left, int top, int right, int bottom)
Definition Item_c.cpp:182
KDDockWidgets::Point mapFromRoot(KDDockWidgets::Point arg__1) const
Definition Item_c.cpp:116
virtual KDDockWidgets::Size maxSizeHint_nocallback() const
Definition Item_c.cpp:141
Callback_setGeometry_recursive m_setGeometry_recursiveCallback
Definition Item_c.h:86
void setGeometry(KDDockWidgets::Rect rect)
Definition Item_c.cpp:190
KDDockWidgets::Size missingSize() const
Definition Item_c.cpp:158
void setSize(KDDockWidgets::Size arg__1)
Definition Item_c.cpp:232
virtual bool isVisible(bool excludeBeingInserted=false) const
Definition Item_c.cpp:99
virtual void dumpLayout(int level=0, bool printSeparators=true)
Definition Item_c.cpp:45
KDDockWidgets::Core::Item * outermostNeighbor(KDDockWidgets::Location arg__1, bool visibleOnly=true) const
Definition Item_c.cpp:162
void setPos(KDDockWidgets::Point arg__1)
Definition Item_c.cpp:228
void setMaxSizeHint(KDDockWidgets::Size arg__1)
Definition Item_c.cpp:220
Callback_updateWidgetGeometries m_updateWidgetGeometriesCallback
Definition Item_c.h:90
void(* Callback_dumpLayout)(void *, int level, bool printSeparators)
Definition Item_c.h:75
virtual bool isVisible_nocallback(bool excludeBeingInserted=false) const
Definition Item_c.cpp:108
virtual KDDockWidgets::Size minSize_nocallback() const
Definition Item_c.cpp:154
virtual KDDockWidgets::Size maxSizeHint() const
Definition Item_c.cpp:132
virtual KDDockWidgets::Size minSize() const
Definition Item_c.cpp:145
void(* Callback_setIsVisible)(void *, bool arg__1)
Definition Item_c.h:87
void setMinSize(KDDockWidgets::Size arg__1)
Definition Item_c.cpp:224
KDDockWidgets::Point mapToRoot(KDDockWidgets::Point arg__1) const
Definition Item_c.cpp:124
bool(* Callback_isVisible)(void *, bool excludeBeingInserted)
Definition Item_c.h:79
KDDockWidgets::Size *(* Callback_minSize)(void *)
Definition Item_c.h:83
void(* Callback_setGeometry_recursive)(void *, KDDockWidgets::Rect *rect)
Definition Item_c.h:85
virtual int visibleCount_recursive_nocallback() const
Definition Item_c.cpp:270
Callback_visibleCount_recursive m_visibleCount_recursiveCallback
Definition Item_c.h:92
virtual void setGeometry_recursive_nocallback(KDDockWidgets::Rect rect)
Definition Item_c.cpp:203
Callback_setIsVisible m_setIsVisibleCallback
Definition Item_c.h:88
KDDockWidgets::Point mapFromParent(KDDockWidgets::Point arg__1) const
Definition Item_c.cpp:112
virtual void dumpLayout_nocallback(int level=0, bool printSeparators=true)
Definition Item_c.cpp:54
KDDockWidgets::Size *(* Callback_maxSizeHint)(void *)
Definition Item_c.h:81
virtual void setIsVisible_nocallback(bool arg__1)
Definition Item_c.cpp:216
int(* CleanupCallback)(void *thisPtr)
Definition Config_c.cpp:21
static CleanupCallback s_cleanupCallback
Definition Config_c.cpp:22

© 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