KDDockWidgets API Documentation 2.0
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{
68 return ::KDDockWidgets::Core::Item::isBeingInserted();
69}
71{
72 return ::KDDockWidgets::Core::Item::isContainer();
73}
75{
76 return ::KDDockWidgets::Core::Item::isMDI();
77}
79{
80 return ::KDDockWidgets::Core::Item::isPlaceholder();
81}
83{
84 return ::KDDockWidgets::Core::Item::isRoot();
85}
86bool Item_wrapper::isVisible(bool excludeBeingInserted) const
87{
89 const void *thisPtr = this;
90 return m_isVisibleCallback(const_cast<void *>(thisPtr), excludeBeingInserted);
91 } else {
92 return ::KDDockWidgets::Core::Item::isVisible(excludeBeingInserted);
93 }
94}
95bool Item_wrapper::isVisible_nocallback(bool excludeBeingInserted) const
96{
97 return ::KDDockWidgets::Core::Item::isVisible(excludeBeingInserted);
98}
99KDDockWidgets::Point Item_wrapper::mapFromParent(KDDockWidgets::Point arg__1) const
100{
101 return ::KDDockWidgets::Core::Item::mapFromParent(arg__1);
102}
103KDDockWidgets::Point Item_wrapper::mapFromRoot(KDDockWidgets::Point arg__1) const
104{
105 return ::KDDockWidgets::Core::Item::mapFromRoot(arg__1);
106}
107KDDockWidgets::Rect Item_wrapper::mapFromRoot(KDDockWidgets::Rect arg__1) const
108{
109 return ::KDDockWidgets::Core::Item::mapFromRoot(arg__1);
110}
111KDDockWidgets::Point Item_wrapper::mapToRoot(KDDockWidgets::Point arg__1) const
112{
113 return ::KDDockWidgets::Core::Item::mapToRoot(arg__1);
114}
115KDDockWidgets::Rect Item_wrapper::mapToRoot(KDDockWidgets::Rect arg__1) const
116{
117 return ::KDDockWidgets::Core::Item::mapToRoot(arg__1);
118}
119KDDockWidgets::Size Item_wrapper::maxSizeHint() const
120{
122 const void *thisPtr = this;
123 return *m_maxSizeHintCallback(const_cast<void *>(thisPtr));
124 } else {
125 return ::KDDockWidgets::Core::Item::maxSizeHint();
126 }
127}
128KDDockWidgets::Size Item_wrapper::maxSizeHint_nocallback() const
129{
130 return ::KDDockWidgets::Core::Item::maxSizeHint();
131}
132KDDockWidgets::Size Item_wrapper::minSize() const
133{
134 if (m_minSizeCallback) {
135 const void *thisPtr = this;
136 return *m_minSizeCallback(const_cast<void *>(thisPtr));
137 } else {
138 return ::KDDockWidgets::Core::Item::minSize();
139 }
140}
141KDDockWidgets::Size Item_wrapper::minSize_nocallback() const
142{
143 return ::KDDockWidgets::Core::Item::minSize();
144}
145KDDockWidgets::Size Item_wrapper::missingSize() const
146{
147 return ::KDDockWidgets::Core::Item::missingSize();
148}
149KDDockWidgets::Point Item_wrapper::pos() const
150{
151 return ::KDDockWidgets::Core::Item::pos();
152}
153KDDockWidgets::Rect Item_wrapper::rect() const
154{
155 return ::KDDockWidgets::Core::Item::rect();
156}
158{
159 ::KDDockWidgets::Core::Item::ref();
160}
162{
163 return ::KDDockWidgets::Core::Item::refCount();
164}
165void Item_wrapper::requestResize(int left, int top, int right, int bottom)
166{
167 ::KDDockWidgets::Core::Item::requestResize(left, top, right, bottom);
168}
170{
171 ::KDDockWidgets::Core::Item::setBeingInserted(arg__1);
172}
173void Item_wrapper::setGeometry(KDDockWidgets::Rect rect)
174{
175 ::KDDockWidgets::Core::Item::setGeometry(rect);
176}
177void Item_wrapper::setGeometry_recursive(KDDockWidgets::Rect rect)
178{
180 const void *thisPtr = this;
181 m_setGeometry_recursiveCallback(const_cast<void *>(thisPtr), &rect);
182 } else {
183 ::KDDockWidgets::Core::Item::setGeometry_recursive(rect);
184 }
185}
187{
188 ::KDDockWidgets::Core::Item::setGeometry_recursive(rect);
189}
191{
193 const void *thisPtr = this;
194 m_setIsVisibleCallback(const_cast<void *>(thisPtr), arg__1);
195 } else {
196 ::KDDockWidgets::Core::Item::setIsVisible(arg__1);
197 }
198}
200{
201 ::KDDockWidgets::Core::Item::setIsVisible(arg__1);
202}
203void Item_wrapper::setMaxSizeHint(KDDockWidgets::Size arg__1)
204{
205 ::KDDockWidgets::Core::Item::setMaxSizeHint(arg__1);
206}
207void Item_wrapper::setMinSize(KDDockWidgets::Size arg__1)
208{
209 ::KDDockWidgets::Core::Item::setMinSize(arg__1);
210}
211void Item_wrapper::setPos(KDDockWidgets::Point arg__1)
212{
213 ::KDDockWidgets::Core::Item::setPos(arg__1);
214}
215void Item_wrapper::setSize(KDDockWidgets::Size arg__1)
216{
217 ::KDDockWidgets::Core::Item::setSize(arg__1);
218}
219KDDockWidgets::Size Item_wrapper::size() const
220{
221 return ::KDDockWidgets::Core::Item::size();
222}
224{
225 ::KDDockWidgets::Core::Item::turnIntoPlaceholder();
226}
228{
229 ::KDDockWidgets::Core::Item::unref();
230}
232{
234 const void *thisPtr = this;
235 m_updateWidgetGeometriesCallback(const_cast<void *>(thisPtr));
236 } else {
237 ::KDDockWidgets::Core::Item::updateWidgetGeometries();
238 }
239}
241{
242 ::KDDockWidgets::Core::Item::updateWidgetGeometries();
243}
245{
247 const void *thisPtr = this;
248 return m_visibleCount_recursiveCallback(const_cast<void *>(thisPtr));
249 } else {
250 return ::KDDockWidgets::Core::Item::visibleCount_recursive();
251 }
252}
254{
255 return ::KDDockWidgets::Core::Item::visibleCount_recursive();
256}
258{
259 return ::KDDockWidgets::Core::Item::width();
260}
262{
263 return ::KDDockWidgets::Core::Item::x();
264}
266{
267 return ::KDDockWidgets::Core::Item::y();
268}
272
273}
274static KDDockWidgets::Core::Item *fromPtr(void *ptr)
275{
276 return reinterpret_cast<KDDockWidgets::Core::Item *>(ptr);
277}
282extern "C" {
284{
285 delete reinterpret_cast<KDDockWidgetsBindings_wrappersNS::Item_wrapper *>(cppObj);
286} // checkSanity()
288{
289 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();} }();
290 return result;
291}
292// dumpLayout(int level, bool printSeparators)
293void c_KDDockWidgets__Core__Item__dumpLayout_int_bool(void *thisObj, int level, bool printSeparators)
294{
295 [&] {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);} }();
296}
297// geometry() const
299{
300 const auto &result = new Dartagnan::ValueWrapper<KDDockWidgets::Rect> { fromPtr(thisObj)->geometry() };
301 return result;
302}
303// height() const
305{
306 const auto &result = fromPtr(thisObj)->height();
307 return result;
308}
309// isBeingInserted() const
311{
312 const auto &result = fromPtr(thisObj)->isBeingInserted();
313 return result;
314}
315// isContainer() const
317{
318 const auto &result = fromPtr(thisObj)->isContainer();
319 return result;
320}
321// isMDI() const
323{
324 const auto &result = fromPtr(thisObj)->isMDI();
325 return result;
326}
327// isPlaceholder() const
329{
330 const auto &result = fromPtr(thisObj)->isPlaceholder();
331 return result;
332}
333// isRoot() const
335{
336 const auto &result = fromPtr(thisObj)->isRoot();
337 return result;
338}
339// isVisible(bool excludeBeingInserted) const
340bool c_KDDockWidgets__Core__Item__isVisible_bool(void *thisObj, bool excludeBeingInserted)
341{
342 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);} }();
343 return result;
344}
345// mapFromParent(KDDockWidgets::Point arg__1) const
346void *c_KDDockWidgets__Core__Item__mapFromParent_Point(void *thisObj, void *arg__1_)
347{
348 assert(arg__1_);
349 auto &arg__1 = *reinterpret_cast<KDDockWidgets::Point *>(arg__1_);
350 const auto &result = new Dartagnan::ValueWrapper<KDDockWidgets::Point> { fromPtr(thisObj)->mapFromParent(arg__1) };
351 return result;
352}
353// mapFromRoot(KDDockWidgets::Point arg__1) const
354void *c_KDDockWidgets__Core__Item__mapFromRoot_Point(void *thisObj, void *arg__1_)
355{
356 assert(arg__1_);
357 auto &arg__1 = *reinterpret_cast<KDDockWidgets::Point *>(arg__1_);
358 const auto &result = new Dartagnan::ValueWrapper<KDDockWidgets::Point> { fromPtr(thisObj)->mapFromRoot(arg__1) };
359 return result;
360}
361// mapFromRoot(KDDockWidgets::Rect arg__1) const
362void *c_KDDockWidgets__Core__Item__mapFromRoot_Rect(void *thisObj, void *arg__1_)
363{
364 assert(arg__1_);
365 auto &arg__1 = *reinterpret_cast<KDDockWidgets::Rect *>(arg__1_);
366 const auto &result = new Dartagnan::ValueWrapper<KDDockWidgets::Rect> { fromPtr(thisObj)->mapFromRoot(arg__1) };
367 return result;
368}
369// mapToRoot(KDDockWidgets::Point arg__1) const
370void *c_KDDockWidgets__Core__Item__mapToRoot_Point(void *thisObj, void *arg__1_)
371{
372 assert(arg__1_);
373 auto &arg__1 = *reinterpret_cast<KDDockWidgets::Point *>(arg__1_);
374 const auto &result = new Dartagnan::ValueWrapper<KDDockWidgets::Point> { fromPtr(thisObj)->mapToRoot(arg__1) };
375 return result;
376}
377// mapToRoot(KDDockWidgets::Rect arg__1) const
378void *c_KDDockWidgets__Core__Item__mapToRoot_Rect(void *thisObj, void *arg__1_)
379{
380 assert(arg__1_);
381 auto &arg__1 = *reinterpret_cast<KDDockWidgets::Rect *>(arg__1_);
382 const auto &result = new Dartagnan::ValueWrapper<KDDockWidgets::Rect> { fromPtr(thisObj)->mapToRoot(arg__1) };
383 return result;
384}
385// maxSizeHint() const
387{
388 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();} }() };
389 return result;
390}
391// minSize() const
393{
394 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();} }() };
395 return result;
396}
397// missingSize() const
399{
400 const auto &result = new Dartagnan::ValueWrapper<KDDockWidgets::Size> { fromPtr(thisObj)->missingSize() };
401 return result;
402}
403// pos() const
405{
406 const auto &result = new Dartagnan::ValueWrapper<KDDockWidgets::Point> { fromPtr(thisObj)->pos() };
407 return result;
408}
409// rect() const
411{
412 const auto &result = new Dartagnan::ValueWrapper<KDDockWidgets::Rect> { fromPtr(thisObj)->rect() };
413 return result;
414}
415// ref()
417{
418 fromPtr(thisObj)->ref();
419}
420// refCount() const
422{
423 const auto &result = fromPtr(thisObj)->refCount();
424 return result;
425}
426// requestResize(int left, int top, int right, int bottom)
427void c_KDDockWidgets__Core__Item__requestResize_int_int_int_int(void *thisObj, int left, int top, int right, int bottom)
428{
429 fromPtr(thisObj)->requestResize(left, top, right, bottom);
430}
431// setBeingInserted(bool arg__1)
433{
434 fromPtr(thisObj)->setBeingInserted(arg__1);
435}
436// setGeometry(KDDockWidgets::Rect rect)
437void c_KDDockWidgets__Core__Item__setGeometry_Rect(void *thisObj, void *rect_)
438{
439 assert(rect_);
440 auto &rect = *reinterpret_cast<KDDockWidgets::Rect *>(rect_);
441 fromPtr(thisObj)->setGeometry(rect);
442}
443// setGeometry_recursive(KDDockWidgets::Rect rect)
445{
446 assert(rect_);
447 auto &rect = *reinterpret_cast<KDDockWidgets::Rect *>(rect_);
448 [&] {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);} }();
449}
450// setIsVisible(bool arg__1)
452{
453 [&] {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);} }();
454}
455// setMaxSizeHint(KDDockWidgets::Size arg__1)
456void c_KDDockWidgets__Core__Item__setMaxSizeHint_Size(void *thisObj, void *arg__1_)
457{
458 assert(arg__1_);
459 auto &arg__1 = *reinterpret_cast<KDDockWidgets::Size *>(arg__1_);
460 fromPtr(thisObj)->setMaxSizeHint(arg__1);
461}
462// setMinSize(KDDockWidgets::Size arg__1)
463void c_KDDockWidgets__Core__Item__setMinSize_Size(void *thisObj, void *arg__1_)
464{
465 assert(arg__1_);
466 auto &arg__1 = *reinterpret_cast<KDDockWidgets::Size *>(arg__1_);
467 fromPtr(thisObj)->setMinSize(arg__1);
468}
469// setPos(KDDockWidgets::Point arg__1)
470void c_KDDockWidgets__Core__Item__setPos_Point(void *thisObj, void *arg__1_)
471{
472 assert(arg__1_);
473 auto &arg__1 = *reinterpret_cast<KDDockWidgets::Point *>(arg__1_);
474 fromPtr(thisObj)->setPos(arg__1);
475}
476// setSize(KDDockWidgets::Size arg__1)
477void c_KDDockWidgets__Core__Item__setSize_Size(void *thisObj, void *arg__1_)
478{
479 assert(arg__1_);
480 auto &arg__1 = *reinterpret_cast<KDDockWidgets::Size *>(arg__1_);
481 fromPtr(thisObj)->setSize(arg__1);
482}
483// size() const
485{
486 const auto &result = new Dartagnan::ValueWrapper<KDDockWidgets::Size> { fromPtr(thisObj)->size() };
487 return result;
488}
489// turnIntoPlaceholder()
491{
492 fromPtr(thisObj)->turnIntoPlaceholder();
493}
494// unref()
496{
497 fromPtr(thisObj)->unref();
498}
499// updateWidgetGeometries()
501{
502 [&] {auto targetPtr = fromPtr(thisObj);auto wrapperPtr = dynamic_cast<KDDockWidgetsBindings_wrappersNS::Item_wrapper*>(targetPtr);if (wrapperPtr) { return wrapperPtr->updateWidgetGeometries_nocallback();} else { return targetPtr->updateWidgetGeometries();} }();
503}
504// visibleCount_recursive() const
506{
507 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();} }();
508 return result;
509}
510// width() const
512{
513 const auto &result = fromPtr(thisObj)->width();
514 return result;
515}
516// x() const
518{
519 const auto &result = fromPtr(thisObj)->x();
520 return result;
521}
522// y() const
524{
525 const auto &result = fromPtr(thisObj)->y();
526 return result;
527}
529{
530 delete fromPtr(thisObj);
531}
533{
534 return KDDockWidgetsBindings_wrappersNS::Item_wrapper::separatorThickness;
535}
537{
538 return KDDockWidgetsBindings_wrappersNS::Item_wrapper::s_silenceSanityChecks;
539}
541{
542 return fromPtr(thisObj)->m_isContainer;
543}
545{
546 return fromPtr(thisObj)->m_isSettingGuest;
547}
549{
550 return fromPtr(thisObj)->m_inDtor;
551}
553{
554 KDDockWidgetsBindings_wrappersNS::Item_wrapper::separatorThickness = separatorThickness_;
555}
557{
558 KDDockWidgetsBindings_wrappersNS::Item_wrapper::s_silenceSanityChecks = s_silenceSanityChecks_;
559}
560void c_KDDockWidgets__Core__Item___set_m_isSettingGuest_bool(void *thisObj, bool m_isSettingGuest_)
561{
562 fromPtr(thisObj)->m_isSettingGuest = m_isSettingGuest_;
563}
564void c_KDDockWidgets__Core__Item___set_m_inDtor_bool(void *thisObj, bool m_inDtor_)
565{
566 fromPtr(thisObj)->m_inDtor = m_inDtor_;
567}
568void c_KDDockWidgets__Core__Item__registerVirtualMethodCallback(void *ptr, void *callback, int methodId)
569{
570 auto wrapper = fromWrapperPtr(ptr);
571 switch (methodId) {
572 case 258:
573 wrapper->m_checkSanityCallback = reinterpret_cast<KDDockWidgetsBindings_wrappersNS::Item_wrapper::Callback_checkSanity>(callback);
574 break;
575 case 259:
576 wrapper->m_dumpLayoutCallback = reinterpret_cast<KDDockWidgetsBindings_wrappersNS::Item_wrapper::Callback_dumpLayout>(callback);
577 break;
578 case 267:
579 wrapper->m_isVisibleCallback = reinterpret_cast<KDDockWidgetsBindings_wrappersNS::Item_wrapper::Callback_isVisible>(callback);
580 break;
581 case 273:
582 wrapper->m_maxSizeHintCallback = reinterpret_cast<KDDockWidgetsBindings_wrappersNS::Item_wrapper::Callback_maxSizeHint>(callback);
583 break;
584 case 274:
585 wrapper->m_minSizeCallback = reinterpret_cast<KDDockWidgetsBindings_wrappersNS::Item_wrapper::Callback_minSize>(callback);
586 break;
587 case 288:
588 wrapper->m_setGeometry_recursiveCallback = reinterpret_cast<KDDockWidgetsBindings_wrappersNS::Item_wrapper::Callback_setGeometry_recursive>(callback);
589 break;
590 case 289:
591 wrapper->m_setIsVisibleCallback = reinterpret_cast<KDDockWidgetsBindings_wrappersNS::Item_wrapper::Callback_setIsVisible>(callback);
592 break;
593 case 301:
594 wrapper->m_updateWidgetGeometriesCallback = reinterpret_cast<KDDockWidgetsBindings_wrappersNS::Item_wrapper::Callback_updateWidgetGeometries>(callback);
595 break;
596 case 302:
597 wrapper->m_visibleCount_recursiveCallback = reinterpret_cast<KDDockWidgetsBindings_wrappersNS::Item_wrapper::Callback_visibleCount_recursive>(callback);
598 break;
599 }
600}
601}
bool c_KDDockWidgets__Core__Item___get_m_inDtor(void *thisObj)
Definition Item_c.cpp:548
bool c_KDDockWidgets__Core__Item__isPlaceholder(void *thisObj)
Definition Item_c.cpp:328
bool c_KDDockWidgets__Core__Item__isVisible_bool(void *thisObj, bool excludeBeingInserted)
Definition Item_c.cpp:340
void c_static_KDDockWidgets__Core__Item___set_separatorThickness_int(int separatorThickness_)
Definition Item_c.cpp:552
void c_KDDockWidgets__Core__Item__ref(void *thisObj)
Definition Item_c.cpp:416
void * c_KDDockWidgets__Core__Item__pos(void *thisObj)
Definition Item_c.cpp:404
void c_KDDockWidgets__Core__Item__setBeingInserted_bool(void *thisObj, bool arg__1)
Definition Item_c.cpp:432
bool c_KDDockWidgets__Core__Item__isBeingInserted(void *thisObj)
Definition Item_c.cpp:310
void c_KDDockWidgets__Core__Item__setIsVisible_bool(void *thisObj, bool arg__1)
Definition Item_c.cpp:451
bool c_KDDockWidgets__Core__Item__isMDI(void *thisObj)
Definition Item_c.cpp:322
int c_KDDockWidgets__Core__Item__visibleCount_recursive(void *thisObj)
Definition Item_c.cpp:505
int c_KDDockWidgets__Core__Item__height(void *thisObj)
Definition Item_c.cpp:304
int c_KDDockWidgets__Core__Item__width(void *thisObj)
Definition Item_c.cpp:511
void * c_KDDockWidgets__Core__Item__mapToRoot_Rect(void *thisObj, void *arg__1_)
Definition Item_c.cpp:378
void c_KDDockWidgets__Core__Item__setMinSize_Size(void *thisObj, void *arg__1_)
Definition Item_c.cpp:463
void * c_KDDockWidgets__Core__Item__geometry(void *thisObj)
Definition Item_c.cpp:298
int c_KDDockWidgets__Core__Item__x(void *thisObj)
Definition Item_c.cpp:517
void c_KDDockWidgets__Core__Item__registerVirtualMethodCallback(void *ptr, void *callback, int methodId)
Definition Item_c.cpp:568
void * c_KDDockWidgets__Core__Item__mapFromRoot_Point(void *thisObj, void *arg__1_)
Definition Item_c.cpp:354
void * c_KDDockWidgets__Core__Item__mapFromParent_Point(void *thisObj, void *arg__1_)
Definition Item_c.cpp:346
int c_static_KDDockWidgets__Core__Item___get_separatorThickness()
Definition Item_c.cpp:532
void c_KDDockWidgets__Core__Item__turnIntoPlaceholder(void *thisObj)
Definition Item_c.cpp:490
void c_KDDockWidgets__Core__Item__setGeometry_Rect(void *thisObj, void *rect_)
Definition Item_c.cpp:437
void c_KDDockWidgets__Core__Item__unref(void *thisObj)
Definition Item_c.cpp:495
void c_KDDockWidgets__Core__Item___set_m_inDtor_bool(void *thisObj, bool m_inDtor_)
Definition Item_c.cpp:564
bool c_KDDockWidgets__Core__Item__isContainer(void *thisObj)
Definition Item_c.cpp:316
void c_KDDockWidgets__Core__Item__setGeometry_recursive_Rect(void *thisObj, void *rect_)
Definition Item_c.cpp:444
void c_KDDockWidgets__Core__Item__setMaxSizeHint_Size(void *thisObj, void *arg__1_)
Definition Item_c.cpp:456
void * c_KDDockWidgets__Core__Item__rect(void *thisObj)
Definition Item_c.cpp:410
void * c_KDDockWidgets__Core__Item__missingSize(void *thisObj)
Definition Item_c.cpp:398
bool c_KDDockWidgets__Core__Item___get_m_isContainer(void *thisObj)
Definition Item_c.cpp:540
void * c_KDDockWidgets__Core__Item__minSize(void *thisObj)
Definition Item_c.cpp:392
void * c_KDDockWidgets__Core__Item__size(void *thisObj)
Definition Item_c.cpp:484
void c_KDDockWidgets__Core__Item__setPos_Point(void *thisObj, void *arg__1_)
Definition Item_c.cpp:470
bool c_static_KDDockWidgets__Core__Item___get_s_silenceSanityChecks()
Definition Item_c.cpp:536
int c_KDDockWidgets__Core__Item__refCount(void *thisObj)
Definition Item_c.cpp:421
void * c_KDDockWidgets__Core__Item__maxSizeHint(void *thisObj)
Definition Item_c.cpp:386
void c_KDDockWidgets__Core__Item__setSize_Size(void *thisObj, void *arg__1_)
Definition Item_c.cpp:477
bool c_KDDockWidgets__Core__Item___get_m_isSettingGuest(void *thisObj)
Definition Item_c.cpp:544
void c_KDDockWidgets__Core__Item___set_m_isSettingGuest_bool(void *thisObj, bool m_isSettingGuest_)
Definition Item_c.cpp:560
static KDDockWidgetsBindings_wrappersNS::Item_wrapper * fromWrapperPtr(void *ptr)
Definition Item_c.cpp:278
void c_KDDockWidgets__Core__Item__dumpLayout_int_bool(void *thisObj, int level, bool printSeparators)
Definition Item_c.cpp:293
void c_static_KDDockWidgets__Core__Item___set_s_silenceSanityChecks_bool(bool s_silenceSanityChecks_)
Definition Item_c.cpp:556
bool c_KDDockWidgets__Core__Item__checkSanity(void *thisObj)
Definition Item_c.cpp:287
void c_KDDockWidgets__Core__Item__updateWidgetGeometries(void *thisObj)
Definition Item_c.cpp:500
int c_KDDockWidgets__Core__Item__y(void *thisObj)
Definition Item_c.cpp:523
bool c_KDDockWidgets__Core__Item__isRoot(void *thisObj)
Definition Item_c.cpp:334
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
void * c_KDDockWidgets__Core__Item__mapFromRoot_Rect(void *thisObj, void *arg__1_)
Definition Item_c.cpp:362
void * c_KDDockWidgets__Core__Item__mapToRoot_Point(void *thisObj, void *arg__1_)
Definition Item_c.cpp:370
static KDDockWidgets::Core::Item * fromPtr(void *ptr)
Definition Item_c.cpp:274
void c_KDDockWidgets__Core__Item__destructor(void *thisObj)
Definition Item_c.cpp:528
void c_KDDockWidgets__Core__Item_Finalizer(void *cppObj)
Definition Item_c.cpp:283
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
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