KDDockWidgets API Documentation 2.1
Loading...
Searching...
No Matches
KDDWBindingsFlutter/Stack_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 "Stack_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}
32namespace KDDWBindingsFlutter {
34 : ::KDDockWidgets::flutter::Stack(controller, parent)
35{
36}
38{
40 const void *thisPtr = this;
41 m_activateWindowCallback(const_cast<void *>(thisPtr));
42 } else {
44 }
45}
51{
52 if (m_closeCallback) {
53 const void *thisPtr = this;
54 return m_closeCallback(const_cast<void *>(thisPtr));
55 } else {
56 return ::KDDockWidgets::flutter::Stack::close();
57 }
58}
60{
61 return ::KDDockWidgets::flutter::Stack::close();
62}
64{
66 const void *thisPtr = this;
67 m_createPlatformWindowCallback(const_cast<void *>(thisPtr));
68 } else {
70 }
71}
77{
78 if (m_flagsCallback) {
79 const void *thisPtr = this;
80 return m_flagsCallback(const_cast<void *>(thisPtr));
81 } else {
82 return ::KDDockWidgets::flutter::Stack::flags();
83 }
84}
86{
87 return ::KDDockWidgets::flutter::Stack::flags();
88}
89KDDockWidgets::Rect Stack_wrapper::geometry() const
90{
92 const void *thisPtr = this;
93 return *m_geometryCallback(const_cast<void *>(thisPtr));
94 } else {
95 return ::KDDockWidgets::flutter::Stack::geometry();
96 }
97}
98KDDockWidgets::Rect Stack_wrapper::geometry_nocallback() const
99{
100 return ::KDDockWidgets::flutter::Stack::geometry();
101}
103{
105 const void *thisPtr = this;
106 m_grabMouseCallback(const_cast<void *>(thisPtr));
107 } else {
109 }
110}
116{
117 if (m_hasFocusCallback) {
118 const void *thisPtr = this;
119 return m_hasFocusCallback(const_cast<void *>(thisPtr));
120 } else {
121 return ::KDDockWidgets::flutter::Stack::hasFocus();
122 }
123}
125{
126 return ::KDDockWidgets::flutter::Stack::hasFocus();
127}
129{
130 if (m_hideCallback) {
131 const void *thisPtr = this;
132 m_hideCallback(const_cast<void *>(thisPtr));
133 } else {
135 }
136}
142{
143 if (m_initCallback) {
144 const void *thisPtr = this;
145 m_initCallback(const_cast<void *>(thisPtr));
146 } else {
148 }
149}
155{
157 const void *thisPtr = this;
158 return m_isActiveWindowCallback(const_cast<void *>(thisPtr));
159 } else {
160 return ::KDDockWidgets::flutter::Stack::isActiveWindow();
161 }
162}
164{
165 return ::KDDockWidgets::flutter::Stack::isActiveWindow();
166}
168{
170 const void *thisPtr = this;
171 return m_isExplicitlyHiddenCallback(const_cast<void *>(thisPtr));
172 } else {
173 return ::KDDockWidgets::flutter::Stack::isExplicitlyHidden();
174 }
175}
177{
178 return ::KDDockWidgets::flutter::Stack::isExplicitlyHidden();
179}
181{
183 const void *thisPtr = this;
184 return m_isMaximizedCallback(const_cast<void *>(thisPtr));
185 } else {
186 return ::KDDockWidgets::flutter::Stack::isMaximized();
187 }
188}
190{
191 return ::KDDockWidgets::flutter::Stack::isMaximized();
192}
194{
196 const void *thisPtr = this;
197 return m_isMinimizedCallback(const_cast<void *>(thisPtr));
198 } else {
199 return ::KDDockWidgets::flutter::Stack::isMinimized();
200 }
201}
203{
204 return ::KDDockWidgets::flutter::Stack::isMinimized();
205}
207{
209 const void *thisPtr = this;
210 return m_isMountedCallback(const_cast<void *>(thisPtr));
211 } else {
212 return ::KDDockWidgets::flutter::Stack::isMounted();
213 }
214}
216{
217 return ::KDDockWidgets::flutter::Stack::isMounted();
218}
220{
221 if (m_isNullCallback) {
222 const void *thisPtr = this;
223 return m_isNullCallback(const_cast<void *>(thisPtr));
224 } else {
225 return ::KDDockWidgets::flutter::Stack::isNull();
226 }
227}
229{
230 return ::KDDockWidgets::flutter::Stack::isNull();
231}
232bool Stack_wrapper::isPositionDraggable(KDDockWidgets::Point p) const
233{
235 const void *thisPtr = this;
236 return m_isPositionDraggableCallback(const_cast<void *>(thisPtr), &p);
237 } else {
238 return ::KDDockWidgets::flutter::Stack::isPositionDraggable(p);
239 }
240}
241bool Stack_wrapper::isPositionDraggable_nocallback(KDDockWidgets::Point p) const
242{
243 return ::KDDockWidgets::flutter::Stack::isPositionDraggable(p);
244}
246{
248 const void *thisPtr = this;
249 return m_isRootViewCallback(const_cast<void *>(thisPtr));
250 } else {
251 return ::KDDockWidgets::flutter::Stack::isRootView();
252 }
253}
255{
256 return ::KDDockWidgets::flutter::Stack::isRootView();
257}
259{
261 const void *thisPtr = this;
262 return m_isVisibleCallback(const_cast<void *>(thisPtr));
263 } else {
264 return ::KDDockWidgets::flutter::Stack::isVisible();
265 }
266}
268{
269 return ::KDDockWidgets::flutter::Stack::isVisible();
270}
271KDDockWidgets::Point Stack_wrapper::mapFromGlobal(KDDockWidgets::Point globalPt) const
272{
274 const void *thisPtr = this;
275 return *m_mapFromGlobalCallback(const_cast<void *>(thisPtr), &globalPt);
276 } else {
277 return ::KDDockWidgets::flutter::Stack::mapFromGlobal(globalPt);
278 }
279}
280KDDockWidgets::Point Stack_wrapper::mapFromGlobal_nocallback(KDDockWidgets::Point globalPt) const
281{
282 return ::KDDockWidgets::flutter::Stack::mapFromGlobal(globalPt);
283}
284KDDockWidgets::Point Stack_wrapper::mapTo(KDDockWidgets::Core::View *parent, KDDockWidgets::Point pos) const
285{
286 if (m_mapToCallback) {
287 const void *thisPtr = this;
288 return *m_mapToCallback(const_cast<void *>(thisPtr), parent, &pos);
289 } else {
290 return ::KDDockWidgets::flutter::Stack::mapTo(parent, pos);
291 }
292}
293KDDockWidgets::Point Stack_wrapper::mapTo_nocallback(KDDockWidgets::Core::View *parent, KDDockWidgets::Point pos) const
294{
295 return ::KDDockWidgets::flutter::Stack::mapTo(parent, pos);
296}
297KDDockWidgets::Point Stack_wrapper::mapToGlobal(KDDockWidgets::Point localPt) const
298{
300 const void *thisPtr = this;
301 return *m_mapToGlobalCallback(const_cast<void *>(thisPtr), &localPt);
302 } else {
303 return ::KDDockWidgets::flutter::Stack::mapToGlobal(localPt);
304 }
305}
306KDDockWidgets::Point Stack_wrapper::mapToGlobal_nocallback(KDDockWidgets::Point localPt) const
307{
308 return ::KDDockWidgets::flutter::Stack::mapToGlobal(localPt);
309}
310KDDockWidgets::Size Stack_wrapper::maxSizeHint() const
311{
313 const void *thisPtr = this;
314 return *m_maxSizeHintCallback(const_cast<void *>(thisPtr));
315 } else {
316 return ::KDDockWidgets::flutter::Stack::maxSizeHint();
317 }
318}
319KDDockWidgets::Size Stack_wrapper::maxSizeHint_nocallback() const
320{
321 return ::KDDockWidgets::flutter::Stack::maxSizeHint();
322}
323KDDockWidgets::Size Stack_wrapper::minSize() const
324{
325 if (m_minSizeCallback) {
326 const void *thisPtr = this;
327 return *m_minSizeCallback(const_cast<void *>(thisPtr));
328 } else {
329 return ::KDDockWidgets::flutter::Stack::minSize();
330 }
331}
332KDDockWidgets::Size Stack_wrapper::minSize_nocallback() const
333{
334 return ::KDDockWidgets::flutter::Stack::minSize();
335}
336void Stack_wrapper::move(int x, int y)
337{
338 if (m_move_2Callback) {
339 const void *thisPtr = this;
340 m_move_2Callback(const_cast<void *>(thisPtr), x, y);
341 } else {
343 }
344}
349KDDockWidgets::Rect Stack_wrapper::normalGeometry() const
350{
352 const void *thisPtr = this;
353 return *m_normalGeometryCallback(const_cast<void *>(thisPtr));
354 } else {
355 return ::KDDockWidgets::flutter::Stack::normalGeometry();
356 }
357}
359{
360 return ::KDDockWidgets::flutter::Stack::normalGeometry();
361}
363{
365 const void *thisPtr = this;
366 m_onChildAddedCallback(const_cast<void *>(thisPtr), childView);
367 } else {
369 }
370}
376{
378 const void *thisPtr = this;
379 m_onChildRemovedCallback(const_cast<void *>(thisPtr), childView);
380 } else {
382 }
383}
389{
391 const void *thisPtr = this;
392 m_onChildVisibilityChangedCallback(const_cast<void *>(thisPtr), childView);
393 } else {
395 }
396}
402{
404 const void *thisPtr = this;
405 m_onGeometryChangedCallback(const_cast<void *>(thisPtr));
406 } else {
408 }
409}
415{
417 const void *thisPtr = this;
418 m_onRebuildRequestedCallback(const_cast<void *>(thisPtr));
419 } else {
421 }
422}
427bool Stack_wrapper::onResize(int h, int w)
428{
430 const void *thisPtr = this;
431 return m_onResize_2Callback(const_cast<void *>(thisPtr), h, w);
432 } else {
433 return ::KDDockWidgets::flutter::Stack::onResize(h, w);
434 }
435}
437{
438 return ::KDDockWidgets::flutter::Stack::onResize(h, w);
439}
441{
442 if (m_raiseCallback) {
443 const void *thisPtr = this;
444 m_raiseCallback(const_cast<void *>(thisPtr));
445 } else {
447 }
448}
454{
456 const void *thisPtr = this;
457 m_raiseAndActivateCallback(const_cast<void *>(thisPtr));
458 } else {
460 }
461}
467{
469 const void *thisPtr = this;
470 m_raiseChildCallback(const_cast<void *>(thisPtr), childView);
471 } else {
473 }
474}
480{
482 const void *thisPtr = this;
483 m_raiseWindowCallback(const_cast<void *>(thisPtr), rootView);
484 } else {
486 }
487}
493{
495 const void *thisPtr = this;
496 m_releaseKeyboardCallback(const_cast<void *>(thisPtr));
497 } else {
499 }
500}
506{
508 const void *thisPtr = this;
509 m_releaseMouseCallback(const_cast<void *>(thisPtr));
510 } else {
512 }
513}
519{
521 const void *thisPtr = this;
522 m_setCursorCallback(const_cast<void *>(thisPtr), shape);
523 } else {
525 }
526}
532{
534 const void *thisPtr = this;
535 m_setDocumentModeCallback(const_cast<void *>(thisPtr), arg__1);
536 } else {
538 }
539}
545{
547 const void *thisPtr = this;
548 m_setFixedHeightCallback(const_cast<void *>(thisPtr), h);
549 } else {
551 }
552}
558{
560 const void *thisPtr = this;
561 m_setFixedWidthCallback(const_cast<void *>(thisPtr), w);
562 } else {
564 }
565}
570void Stack_wrapper::setGeometry(KDDockWidgets::Rect geometry)
571{
573 const void *thisPtr = this;
574 m_setGeometryCallback(const_cast<void *>(thisPtr), &geometry);
575 } else {
577 }
578}
584{
586 const void *thisPtr = this;
587 m_setHeightCallback(const_cast<void *>(thisPtr), h);
588 } else {
590 }
591}
596void Stack_wrapper::setMaximumSize(KDDockWidgets::Size sz)
597{
599 const void *thisPtr = this;
600 m_setMaximumSizeCallback(const_cast<void *>(thisPtr), &sz);
601 } else {
603 }
604}
609void Stack_wrapper::setMinimumSize(KDDockWidgets::Size sz)
610{
612 const void *thisPtr = this;
613 m_setMinimumSizeCallback(const_cast<void *>(thisPtr), &sz);
614 } else {
616 }
617}
623{
625 const void *thisPtr = this;
626 m_setMouseTrackingCallback(const_cast<void *>(thisPtr), enable);
627 } else {
629 }
630}
636{
638 const void *thisPtr = this;
639 m_setParentCallback(const_cast<void *>(thisPtr), parent);
640 } else {
642 }
643}
648void Stack_wrapper::setSize(int w, int h)
649{
651 const void *thisPtr = this;
652 m_setSize_2Callback(const_cast<void *>(thisPtr), w, h);
653 } else {
655 }
656}
662{
664 const void *thisPtr = this;
665 m_setViewNameCallback(const_cast<void *>(thisPtr), name);
666 } else {
668 }
669}
675{
677 const void *thisPtr = this;
678 m_setVisibleCallback(const_cast<void *>(thisPtr), visible);
679 } else {
681 }
682}
688{
689 if (m_setWidthCallback) {
690 const void *thisPtr = this;
691 m_setWidthCallback(const_cast<void *>(thisPtr), w);
692 } else {
694 }
695}
701{
703 const void *thisPtr = this;
704 m_setWindowOpacityCallback(const_cast<void *>(thisPtr), v);
705 } else {
707 }
708}
714{
716 const void *thisPtr = this;
717 m_setWindowTitleCallback(const_cast<void *>(thisPtr), title);
718 } else {
720 }
721}
727{
729 const void *thisPtr = this;
730 m_setZOrderCallback(const_cast<void *>(thisPtr), z);
731 } else {
733 }
734}
740{
741 if (m_showCallback) {
742 const void *thisPtr = this;
743 m_showCallback(const_cast<void *>(thisPtr));
744 } else {
746 }
747}
753{
755 const void *thisPtr = this;
756 m_showMaximizedCallback(const_cast<void *>(thisPtr));
757 } else {
759 }
760}
766{
768 const void *thisPtr = this;
769 m_showMinimizedCallback(const_cast<void *>(thisPtr));
770 } else {
772 }
773}
779{
781 const void *thisPtr = this;
782 m_showNormalCallback(const_cast<void *>(thisPtr));
783 } else {
785 }
786}
792{
793 if (m_updateCallback) {
794 const void *thisPtr = this;
795 m_updateCallback(const_cast<void *>(thisPtr));
796 } else {
798 }
799}
805{
806 if (m_viewNameCallback) {
807 const void *thisPtr = this;
808 return *m_viewNameCallback(const_cast<void *>(thisPtr));
809 } else {
810 return ::KDDockWidgets::flutter::Stack::viewName();
811 }
812}
814{
815 return ::KDDockWidgets::flutter::Stack::viewName();
816}
818{
819 if (m_zOrderCallback) {
820 const void *thisPtr = this;
821 return m_zOrderCallback(const_cast<void *>(thisPtr));
822 } else {
823 return ::KDDockWidgets::flutter::Stack::zOrder();
824 }
825}
827{
828 return ::KDDockWidgets::flutter::Stack::zOrder();
829}
833
834}
835}
837{
838 return reinterpret_cast<KDDockWidgets::flutter::Stack *>(ptr);
839}
844extern "C" {
849void *c_KDDockWidgets__flutter__Stack__constructor_Stack_View(void *controller_, void *parent_)
850{
851 auto controller = reinterpret_cast<KDDockWidgets::Core::Stack *>(controller_);
852 auto parent = reinterpret_cast<KDDockWidgets::Core::View *>(parent_);
854 return reinterpret_cast<void *>(ptr);
855}
856// activateWindow()
858{
859 [&] {auto targetPtr = fromPtr(thisObj);auto wrapperPtr = dynamic_cast<KDDockWidgetsBindings_wrappersNS::KDDWBindingsFlutter::Stack_wrapper*>(targetPtr);if (wrapperPtr) { return wrapperPtr->activateWindow_nocallback();} else { return targetPtr->activateWindow();} }();
860}
861// close()
863{
864 const auto &result = [&] {auto targetPtr = fromPtr(thisObj);auto wrapperPtr = dynamic_cast<KDDockWidgetsBindings_wrappersNS::KDDWBindingsFlutter::Stack_wrapper*>(targetPtr);if (wrapperPtr) { return wrapperPtr->close_nocallback();} else { return targetPtr->close();} }();
865 return result;
866}
867// createPlatformWindow()
869{
870 [&] {auto targetPtr = fromPtr(thisObj);auto wrapperPtr = dynamic_cast<KDDockWidgetsBindings_wrappersNS::KDDWBindingsFlutter::Stack_wrapper*>(targetPtr);if (wrapperPtr) { return wrapperPtr->createPlatformWindow_nocallback();} else { return targetPtr->createPlatformWindow();} }();
871}
872// flags() const
874{
875 const auto &result = [&] {auto targetPtr = fromPtr(thisObj);auto wrapperPtr = dynamic_cast<KDDockWidgetsBindings_wrappersNS::KDDWBindingsFlutter::Stack_wrapper*>(targetPtr);if (wrapperPtr) { return wrapperPtr->flags_nocallback();} else { return targetPtr->flags();} }();
876 return result;
877}
878// geometry() const
880{
881 const auto &result = new Dartagnan::ValueWrapper<KDDockWidgets::Rect> { [&] {auto targetPtr = fromPtr(thisObj);auto wrapperPtr = dynamic_cast<KDDockWidgetsBindings_wrappersNS::KDDWBindingsFlutter::Stack_wrapper*>(targetPtr);if (wrapperPtr) { return wrapperPtr->geometry_nocallback();} else { return targetPtr->geometry();} }() };
882 return result;
883}
884// grabMouse()
886{
887 [&] {auto targetPtr = fromPtr(thisObj);auto wrapperPtr = dynamic_cast<KDDockWidgetsBindings_wrappersNS::KDDWBindingsFlutter::Stack_wrapper*>(targetPtr);if (wrapperPtr) { return wrapperPtr->grabMouse_nocallback();} else { return targetPtr->grabMouse();} }();
888}
889// hasFocus() const
891{
892 const auto &result = [&] {auto targetPtr = fromPtr(thisObj);auto wrapperPtr = dynamic_cast<KDDockWidgetsBindings_wrappersNS::KDDWBindingsFlutter::Stack_wrapper*>(targetPtr);if (wrapperPtr) { return wrapperPtr->hasFocus_nocallback();} else { return targetPtr->hasFocus();} }();
893 return result;
894}
895// hide()
897{
898 [&] {auto targetPtr = fromPtr(thisObj);auto wrapperPtr = dynamic_cast<KDDockWidgetsBindings_wrappersNS::KDDWBindingsFlutter::Stack_wrapper*>(targetPtr);if (wrapperPtr) { return wrapperPtr->hide_nocallback();} else { return targetPtr->hide();} }();
899}
900// init()
902{
903 [&] {auto targetPtr = fromPtr(thisObj);auto wrapperPtr = dynamic_cast<KDDockWidgetsBindings_wrappersNS::KDDWBindingsFlutter::Stack_wrapper*>(targetPtr);if (wrapperPtr) { return wrapperPtr->init_nocallback();} else { return targetPtr->init();} }();
904}
905// isActiveWindow() const
907{
908 const auto &result = [&] {auto targetPtr = fromPtr(thisObj);auto wrapperPtr = dynamic_cast<KDDockWidgetsBindings_wrappersNS::KDDWBindingsFlutter::Stack_wrapper*>(targetPtr);if (wrapperPtr) { return wrapperPtr->isActiveWindow_nocallback();} else { return targetPtr->isActiveWindow();} }();
909 return result;
910}
911// isExplicitlyHidden() const
913{
914 const auto &result = [&] {auto targetPtr = fromPtr(thisObj);auto wrapperPtr = dynamic_cast<KDDockWidgetsBindings_wrappersNS::KDDWBindingsFlutter::Stack_wrapper*>(targetPtr);if (wrapperPtr) { return wrapperPtr->isExplicitlyHidden_nocallback();} else { return targetPtr->isExplicitlyHidden();} }();
915 return result;
916}
917// isMaximized() const
919{
920 const auto &result = [&] {auto targetPtr = fromPtr(thisObj);auto wrapperPtr = dynamic_cast<KDDockWidgetsBindings_wrappersNS::KDDWBindingsFlutter::Stack_wrapper*>(targetPtr);if (wrapperPtr) { return wrapperPtr->isMaximized_nocallback();} else { return targetPtr->isMaximized();} }();
921 return result;
922}
923// isMinimized() const
925{
926 const auto &result = [&] {auto targetPtr = fromPtr(thisObj);auto wrapperPtr = dynamic_cast<KDDockWidgetsBindings_wrappersNS::KDDWBindingsFlutter::Stack_wrapper*>(targetPtr);if (wrapperPtr) { return wrapperPtr->isMinimized_nocallback();} else { return targetPtr->isMinimized();} }();
927 return result;
928}
929// isMounted() const
931{
932 const auto &result = [&] {auto targetPtr = fromPtr(thisObj);auto wrapperPtr = dynamic_cast<KDDockWidgetsBindings_wrappersNS::KDDWBindingsFlutter::Stack_wrapper*>(targetPtr);if (wrapperPtr) { return wrapperPtr->isMounted_nocallback();} else { return targetPtr->isMounted();} }();
933 return result;
934}
935// isNull() const
937{
938 const auto &result = [&] {auto targetPtr = fromPtr(thisObj);auto wrapperPtr = dynamic_cast<KDDockWidgetsBindings_wrappersNS::KDDWBindingsFlutter::Stack_wrapper*>(targetPtr);if (wrapperPtr) { return wrapperPtr->isNull_nocallback();} else { return targetPtr->isNull();} }();
939 return result;
940}
941// isPositionDraggable(KDDockWidgets::Point p) const
943{
944 assert(p_);
945 auto &p = *reinterpret_cast<KDDockWidgets::Point *>(p_);
946 const auto &result = [&] {auto targetPtr = fromPtr(thisObj);auto wrapperPtr = dynamic_cast<KDDockWidgetsBindings_wrappersNS::KDDWBindingsFlutter::Stack_wrapper*>(targetPtr);if (wrapperPtr) { return wrapperPtr->isPositionDraggable_nocallback(p);} else { return targetPtr->isPositionDraggable(p);} }();
947 return result;
948}
949// isRootView() const
951{
952 const auto &result = [&] {auto targetPtr = fromPtr(thisObj);auto wrapperPtr = dynamic_cast<KDDockWidgetsBindings_wrappersNS::KDDWBindingsFlutter::Stack_wrapper*>(targetPtr);if (wrapperPtr) { return wrapperPtr->isRootView_nocallback();} else { return targetPtr->isRootView();} }();
953 return result;
954}
955// isVisible() const
957{
958 const auto &result = [&] {auto targetPtr = fromPtr(thisObj);auto wrapperPtr = dynamic_cast<KDDockWidgetsBindings_wrappersNS::KDDWBindingsFlutter::Stack_wrapper*>(targetPtr);if (wrapperPtr) { return wrapperPtr->isVisible_nocallback();} else { return targetPtr->isVisible();} }();
959 return result;
960}
961// mapFromGlobal(KDDockWidgets::Point globalPt) const
962void *c_KDDockWidgets__flutter__Stack__mapFromGlobal_Point(void *thisObj, void *globalPt_)
963{
964 assert(globalPt_);
965 auto &globalPt = *reinterpret_cast<KDDockWidgets::Point *>(globalPt_);
966 const auto &result = new Dartagnan::ValueWrapper<KDDockWidgets::Point> { [&] {auto targetPtr = fromPtr(thisObj);auto wrapperPtr = dynamic_cast<KDDockWidgetsBindings_wrappersNS::KDDWBindingsFlutter::Stack_wrapper*>(targetPtr);if (wrapperPtr) { return wrapperPtr->mapFromGlobal_nocallback(globalPt);} else { return targetPtr->mapFromGlobal(globalPt);} }() };
967 return result;
968}
969// mapTo(KDDockWidgets::Core::View * parent, KDDockWidgets::Point pos) const
970void *c_KDDockWidgets__flutter__Stack__mapTo_View_Point(void *thisObj, void *parent_, void *pos_)
971{
972 auto parent = reinterpret_cast<KDDockWidgets::Core::View *>(parent_);
973 assert(pos_);
974 auto &pos = *reinterpret_cast<KDDockWidgets::Point *>(pos_);
975 const auto &result = new Dartagnan::ValueWrapper<KDDockWidgets::Point> { [&] {auto targetPtr = fromPtr(thisObj);auto wrapperPtr = dynamic_cast<KDDockWidgetsBindings_wrappersNS::KDDWBindingsFlutter::Stack_wrapper*>(targetPtr);if (wrapperPtr) { return wrapperPtr->mapTo_nocallback(parent,pos);} else { return targetPtr->mapTo(parent,pos);} }() };
976 return result;
977}
978// mapToGlobal(KDDockWidgets::Point localPt) const
979void *c_KDDockWidgets__flutter__Stack__mapToGlobal_Point(void *thisObj, void *localPt_)
980{
981 assert(localPt_);
982 auto &localPt = *reinterpret_cast<KDDockWidgets::Point *>(localPt_);
983 const auto &result = new Dartagnan::ValueWrapper<KDDockWidgets::Point> { [&] {auto targetPtr = fromPtr(thisObj);auto wrapperPtr = dynamic_cast<KDDockWidgetsBindings_wrappersNS::KDDWBindingsFlutter::Stack_wrapper*>(targetPtr);if (wrapperPtr) { return wrapperPtr->mapToGlobal_nocallback(localPt);} else { return targetPtr->mapToGlobal(localPt);} }() };
984 return result;
985}
986// maxSizeHint() const
988{
989 const auto &result = new Dartagnan::ValueWrapper<KDDockWidgets::Size> { [&] {auto targetPtr = fromPtr(thisObj);auto wrapperPtr = dynamic_cast<KDDockWidgetsBindings_wrappersNS::KDDWBindingsFlutter::Stack_wrapper*>(targetPtr);if (wrapperPtr) { return wrapperPtr->maxSizeHint_nocallback();} else { return targetPtr->maxSizeHint();} }() };
990 return result;
991}
992// minSize() const
994{
995 const auto &result = new Dartagnan::ValueWrapper<KDDockWidgets::Size> { [&] {auto targetPtr = fromPtr(thisObj);auto wrapperPtr = dynamic_cast<KDDockWidgetsBindings_wrappersNS::KDDWBindingsFlutter::Stack_wrapper*>(targetPtr);if (wrapperPtr) { return wrapperPtr->minSize_nocallback();} else { return targetPtr->minSize();} }() };
996 return result;
997}
998// move(int x, int y)
999void c_KDDockWidgets__flutter__Stack__move_int_int(void *thisObj, int x, int y)
1000{
1001 [&] {auto targetPtr = fromPtr(thisObj);auto wrapperPtr = dynamic_cast<KDDockWidgetsBindings_wrappersNS::KDDWBindingsFlutter::Stack_wrapper*>(targetPtr);if (wrapperPtr) { return wrapperPtr->move_nocallback(x,y);} else { return targetPtr->move(x,y);} }();
1002}
1003// normalGeometry() const
1005{
1006 const auto &result = new Dartagnan::ValueWrapper<KDDockWidgets::Rect> { [&] {auto targetPtr = fromPtr(thisObj);auto wrapperPtr = dynamic_cast<KDDockWidgetsBindings_wrappersNS::KDDWBindingsFlutter::Stack_wrapper*>(targetPtr);if (wrapperPtr) { return wrapperPtr->normalGeometry_nocallback();} else { return targetPtr->normalGeometry();} }() };
1007 return result;
1008}
1009// onChildAdded(KDDockWidgets::Core::View * childView)
1010void c_KDDockWidgets__flutter__Stack__onChildAdded_View(void *thisObj, void *childView_)
1011{
1012 auto childView = reinterpret_cast<KDDockWidgets::Core::View *>(childView_);
1013 [&] {auto targetPtr = fromPtr(thisObj);auto wrapperPtr = dynamic_cast<KDDockWidgetsBindings_wrappersNS::KDDWBindingsFlutter::Stack_wrapper*>(targetPtr);if (wrapperPtr) { return wrapperPtr->onChildAdded_nocallback(childView);} else { return targetPtr->onChildAdded(childView);} }();
1014}
1015// onChildRemoved(KDDockWidgets::Core::View * childView)
1016void c_KDDockWidgets__flutter__Stack__onChildRemoved_View(void *thisObj, void *childView_)
1017{
1018 auto childView = reinterpret_cast<KDDockWidgets::Core::View *>(childView_);
1019 [&] {auto targetPtr = fromPtr(thisObj);auto wrapperPtr = dynamic_cast<KDDockWidgetsBindings_wrappersNS::KDDWBindingsFlutter::Stack_wrapper*>(targetPtr);if (wrapperPtr) { return wrapperPtr->onChildRemoved_nocallback(childView);} else { return targetPtr->onChildRemoved(childView);} }();
1020}
1021// onChildVisibilityChanged(KDDockWidgets::Core::View * childView)
1023{
1024 auto childView = reinterpret_cast<KDDockWidgets::Core::View *>(childView_);
1025 [&] {auto targetPtr = fromPtr(thisObj);auto wrapperPtr = dynamic_cast<KDDockWidgetsBindings_wrappersNS::KDDWBindingsFlutter::Stack_wrapper*>(targetPtr);if (wrapperPtr) { return wrapperPtr->onChildVisibilityChanged_nocallback(childView);} else { return targetPtr->onChildVisibilityChanged(childView);} }();
1026}
1027// onGeometryChanged()
1029{
1030 [&] {auto targetPtr = fromPtr(thisObj);auto wrapperPtr = dynamic_cast<KDDockWidgetsBindings_wrappersNS::KDDWBindingsFlutter::Stack_wrapper*>(targetPtr);if (wrapperPtr) { return wrapperPtr->onGeometryChanged_nocallback();} else { return targetPtr->onGeometryChanged();} }();
1031}
1032// onRebuildRequested()
1034{
1035 [&] {auto targetPtr = fromPtr(thisObj);auto wrapperPtr = dynamic_cast<KDDockWidgetsBindings_wrappersNS::KDDWBindingsFlutter::Stack_wrapper*>(targetPtr);if (wrapperPtr) { return wrapperPtr->onRebuildRequested_nocallback();} else { return targetPtr->onRebuildRequested();} }();
1036}
1037// onResize(int h, int w)
1039{
1040 const auto &result = [&] {auto targetPtr = fromPtr(thisObj);auto wrapperPtr = dynamic_cast<KDDockWidgetsBindings_wrappersNS::KDDWBindingsFlutter::Stack_wrapper*>(targetPtr);if (wrapperPtr) { return wrapperPtr->onResize_nocallback(h,w);} else { return targetPtr->onResize(h,w);} }();
1041 return result;
1042}
1043// raise()
1045{
1046 [&] {auto targetPtr = fromPtr(thisObj);auto wrapperPtr = dynamic_cast<KDDockWidgetsBindings_wrappersNS::KDDWBindingsFlutter::Stack_wrapper*>(targetPtr);if (wrapperPtr) { return wrapperPtr->raise_nocallback();} else { return targetPtr->raise();} }();
1047}
1048// raiseAndActivate()
1050{
1051 [&] {auto targetPtr = fromPtr(thisObj);auto wrapperPtr = dynamic_cast<KDDockWidgetsBindings_wrappersNS::KDDWBindingsFlutter::Stack_wrapper*>(targetPtr);if (wrapperPtr) { return wrapperPtr->raiseAndActivate_nocallback();} else { return targetPtr->raiseAndActivate();} }();
1052}
1053// raiseChild(KDDockWidgets::Core::View * childView)
1054void c_KDDockWidgets__flutter__Stack__raiseChild_View(void *thisObj, void *childView_)
1055{
1056 auto childView = reinterpret_cast<KDDockWidgets::Core::View *>(childView_);
1057 [&] {auto targetPtr = fromPtr(thisObj);auto wrapperPtr = dynamic_cast<KDDockWidgetsBindings_wrappersNS::KDDWBindingsFlutter::Stack_wrapper*>(targetPtr);if (wrapperPtr) { return wrapperPtr->raiseChild_nocallback(childView);} else { return targetPtr->raiseChild(childView);} }();
1058}
1059// raiseWindow(KDDockWidgets::Core::View * rootView)
1060void c_KDDockWidgets__flutter__Stack__raiseWindow_View(void *thisObj, void *rootView_)
1061{
1062 auto rootView = reinterpret_cast<KDDockWidgets::Core::View *>(rootView_);
1063 [&] {auto targetPtr = fromPtr(thisObj);auto wrapperPtr = dynamic_cast<KDDockWidgetsBindings_wrappersNS::KDDWBindingsFlutter::Stack_wrapper*>(targetPtr);if (wrapperPtr) { return wrapperPtr->raiseWindow_nocallback(rootView);} else { return targetPtr->raiseWindow(rootView);} }();
1064}
1065// releaseKeyboard()
1067{
1068 [&] {auto targetPtr = fromPtr(thisObj);auto wrapperPtr = dynamic_cast<KDDockWidgetsBindings_wrappersNS::KDDWBindingsFlutter::Stack_wrapper*>(targetPtr);if (wrapperPtr) { return wrapperPtr->releaseKeyboard_nocallback();} else { return targetPtr->releaseKeyboard();} }();
1069}
1070// releaseMouse()
1072{
1073 [&] {auto targetPtr = fromPtr(thisObj);auto wrapperPtr = dynamic_cast<KDDockWidgetsBindings_wrappersNS::KDDWBindingsFlutter::Stack_wrapper*>(targetPtr);if (wrapperPtr) { return wrapperPtr->releaseMouse_nocallback();} else { return targetPtr->releaseMouse();} }();
1074}
1075// setCursor(Qt::CursorShape shape)
1077{
1078 [&] {auto targetPtr = fromPtr(thisObj);auto wrapperPtr = dynamic_cast<KDDockWidgetsBindings_wrappersNS::KDDWBindingsFlutter::Stack_wrapper*>(targetPtr);if (wrapperPtr) { return wrapperPtr->setCursor_nocallback(static_cast<Qt::CursorShape>(shape));} else { return targetPtr->setCursor(static_cast<Qt::CursorShape>(shape));} }();
1079}
1080// setDocumentMode(bool arg__1)
1082{
1083 [&] {auto targetPtr = fromPtr(thisObj);auto wrapperPtr = dynamic_cast<KDDockWidgetsBindings_wrappersNS::KDDWBindingsFlutter::Stack_wrapper*>(targetPtr);if (wrapperPtr) { return wrapperPtr->setDocumentMode_nocallback(arg__1);} else { return targetPtr->setDocumentMode(arg__1);} }();
1084}
1085// setFixedHeight(int h)
1087{
1088 [&] {auto targetPtr = fromPtr(thisObj);auto wrapperPtr = dynamic_cast<KDDockWidgetsBindings_wrappersNS::KDDWBindingsFlutter::Stack_wrapper*>(targetPtr);if (wrapperPtr) { return wrapperPtr->setFixedHeight_nocallback(h);} else { return targetPtr->setFixedHeight(h);} }();
1089}
1090// setFixedWidth(int w)
1092{
1093 [&] {auto targetPtr = fromPtr(thisObj);auto wrapperPtr = dynamic_cast<KDDockWidgetsBindings_wrappersNS::KDDWBindingsFlutter::Stack_wrapper*>(targetPtr);if (wrapperPtr) { return wrapperPtr->setFixedWidth_nocallback(w);} else { return targetPtr->setFixedWidth(w);} }();
1094}
1095// setGeometry(KDDockWidgets::Rect geometry)
1096void c_KDDockWidgets__flutter__Stack__setGeometry_Rect(void *thisObj, void *geometry_)
1097{
1098 assert(geometry_);
1099 auto &geometry = *reinterpret_cast<KDDockWidgets::Rect *>(geometry_);
1100 [&] {auto targetPtr = fromPtr(thisObj);auto wrapperPtr = dynamic_cast<KDDockWidgetsBindings_wrappersNS::KDDWBindingsFlutter::Stack_wrapper*>(targetPtr);if (wrapperPtr) { return wrapperPtr->setGeometry_nocallback(geometry);} else { return targetPtr->setGeometry(geometry);} }();
1101}
1102// setHeight(int h)
1104{
1105 [&] {auto targetPtr = fromPtr(thisObj);auto wrapperPtr = dynamic_cast<KDDockWidgetsBindings_wrappersNS::KDDWBindingsFlutter::Stack_wrapper*>(targetPtr);if (wrapperPtr) { return wrapperPtr->setHeight_nocallback(h);} else { return targetPtr->setHeight(h);} }();
1106}
1107// setMaximumSize(KDDockWidgets::Size sz)
1109{
1110 assert(sz_);
1111 auto &sz = *reinterpret_cast<KDDockWidgets::Size *>(sz_);
1112 [&] {auto targetPtr = fromPtr(thisObj);auto wrapperPtr = dynamic_cast<KDDockWidgetsBindings_wrappersNS::KDDWBindingsFlutter::Stack_wrapper*>(targetPtr);if (wrapperPtr) { return wrapperPtr->setMaximumSize_nocallback(sz);} else { return targetPtr->setMaximumSize(sz);} }();
1113}
1114// setMinimumSize(KDDockWidgets::Size sz)
1116{
1117 assert(sz_);
1118 auto &sz = *reinterpret_cast<KDDockWidgets::Size *>(sz_);
1119 [&] {auto targetPtr = fromPtr(thisObj);auto wrapperPtr = dynamic_cast<KDDockWidgetsBindings_wrappersNS::KDDWBindingsFlutter::Stack_wrapper*>(targetPtr);if (wrapperPtr) { return wrapperPtr->setMinimumSize_nocallback(sz);} else { return targetPtr->setMinimumSize(sz);} }();
1120}
1121// setMouseTracking(bool enable)
1123{
1124 [&] {auto targetPtr = fromPtr(thisObj);auto wrapperPtr = dynamic_cast<KDDockWidgetsBindings_wrappersNS::KDDWBindingsFlutter::Stack_wrapper*>(targetPtr);if (wrapperPtr) { return wrapperPtr->setMouseTracking_nocallback(enable);} else { return targetPtr->setMouseTracking(enable);} }();
1125}
1126// setParent(KDDockWidgets::Core::View * parent)
1127void c_KDDockWidgets__flutter__Stack__setParent_View(void *thisObj, void *parent_)
1128{
1129 auto parent = reinterpret_cast<KDDockWidgets::Core::View *>(parent_);
1130 [&] {auto targetPtr = fromPtr(thisObj);auto wrapperPtr = dynamic_cast<KDDockWidgetsBindings_wrappersNS::KDDWBindingsFlutter::Stack_wrapper*>(targetPtr);if (wrapperPtr) { return wrapperPtr->setParent_nocallback(parent);} else { return targetPtr->setParent(parent);} }();
1131}
1132// setSize(int w, int h)
1134{
1135 [&] {auto targetPtr = fromPtr(thisObj);auto wrapperPtr = dynamic_cast<KDDockWidgetsBindings_wrappersNS::KDDWBindingsFlutter::Stack_wrapper*>(targetPtr);if (wrapperPtr) { return wrapperPtr->setSize_nocallback(w,h);} else { return targetPtr->setSize(w,h);} }();
1136}
1137// setViewName(const QString & name)
1138void c_KDDockWidgets__flutter__Stack__setViewName_QString(void *thisObj, const char *name_)
1139{
1140 const auto name = QString::fromUtf8(name_);
1141 [&] {auto targetPtr = fromPtr(thisObj);auto wrapperPtr = dynamic_cast<KDDockWidgetsBindings_wrappersNS::KDDWBindingsFlutter::Stack_wrapper*>(targetPtr);if (wrapperPtr) { return wrapperPtr->setViewName_nocallback(name);} else { return targetPtr->setViewName(name);} }();
1142 free(( char * )name_);
1143}
1144// setVisible(bool visible)
1146{
1147 [&] {auto targetPtr = fromPtr(thisObj);auto wrapperPtr = dynamic_cast<KDDockWidgetsBindings_wrappersNS::KDDWBindingsFlutter::Stack_wrapper*>(targetPtr);if (wrapperPtr) { return wrapperPtr->setVisible_nocallback(visible);} else { return targetPtr->setVisible(visible);} }();
1148}
1149// setWidth(int w)
1151{
1152 [&] {auto targetPtr = fromPtr(thisObj);auto wrapperPtr = dynamic_cast<KDDockWidgetsBindings_wrappersNS::KDDWBindingsFlutter::Stack_wrapper*>(targetPtr);if (wrapperPtr) { return wrapperPtr->setWidth_nocallback(w);} else { return targetPtr->setWidth(w);} }();
1153}
1154// setWindowOpacity(double v)
1156{
1157 [&] {auto targetPtr = fromPtr(thisObj);auto wrapperPtr = dynamic_cast<KDDockWidgetsBindings_wrappersNS::KDDWBindingsFlutter::Stack_wrapper*>(targetPtr);if (wrapperPtr) { return wrapperPtr->setWindowOpacity_nocallback(v);} else { return targetPtr->setWindowOpacity(v);} }();
1158}
1159// setWindowTitle(const QString & title)
1160void c_KDDockWidgets__flutter__Stack__setWindowTitle_QString(void *thisObj, const char *title_)
1161{
1162 const auto title = QString::fromUtf8(title_);
1163 [&] {auto targetPtr = fromPtr(thisObj);auto wrapperPtr = dynamic_cast<KDDockWidgetsBindings_wrappersNS::KDDWBindingsFlutter::Stack_wrapper*>(targetPtr);if (wrapperPtr) { return wrapperPtr->setWindowTitle_nocallback(title);} else { return targetPtr->setWindowTitle(title);} }();
1164 free(( char * )title_);
1165}
1166// setZOrder(int z)
1168{
1169 [&] {auto targetPtr = fromPtr(thisObj);auto wrapperPtr = dynamic_cast<KDDockWidgetsBindings_wrappersNS::KDDWBindingsFlutter::Stack_wrapper*>(targetPtr);if (wrapperPtr) { return wrapperPtr->setZOrder_nocallback(z);} else { return targetPtr->setZOrder(z);} }();
1170}
1171// show()
1173{
1174 [&] {auto targetPtr = fromPtr(thisObj);auto wrapperPtr = dynamic_cast<KDDockWidgetsBindings_wrappersNS::KDDWBindingsFlutter::Stack_wrapper*>(targetPtr);if (wrapperPtr) { return wrapperPtr->show_nocallback();} else { return targetPtr->show();} }();
1175}
1176// showMaximized()
1178{
1179 [&] {auto targetPtr = fromPtr(thisObj);auto wrapperPtr = dynamic_cast<KDDockWidgetsBindings_wrappersNS::KDDWBindingsFlutter::Stack_wrapper*>(targetPtr);if (wrapperPtr) { return wrapperPtr->showMaximized_nocallback();} else { return targetPtr->showMaximized();} }();
1180}
1181// showMinimized()
1183{
1184 [&] {auto targetPtr = fromPtr(thisObj);auto wrapperPtr = dynamic_cast<KDDockWidgetsBindings_wrappersNS::KDDWBindingsFlutter::Stack_wrapper*>(targetPtr);if (wrapperPtr) { return wrapperPtr->showMinimized_nocallback();} else { return targetPtr->showMinimized();} }();
1185}
1186// showNormal()
1188{
1189 [&] {auto targetPtr = fromPtr(thisObj);auto wrapperPtr = dynamic_cast<KDDockWidgetsBindings_wrappersNS::KDDWBindingsFlutter::Stack_wrapper*>(targetPtr);if (wrapperPtr) { return wrapperPtr->showNormal_nocallback();} else { return targetPtr->showNormal();} }();
1190}
1191// update()
1193{
1194 [&] {auto targetPtr = fromPtr(thisObj);auto wrapperPtr = dynamic_cast<KDDockWidgetsBindings_wrappersNS::KDDWBindingsFlutter::Stack_wrapper*>(targetPtr);if (wrapperPtr) { return wrapperPtr->update_nocallback();} else { return targetPtr->update();} }();
1195}
1196// viewName() const
1198{
1199 const auto &result = new Dartagnan::ValueWrapper<QString> { [&] {auto targetPtr = fromPtr(thisObj);auto wrapperPtr = dynamic_cast<KDDockWidgetsBindings_wrappersNS::KDDWBindingsFlutter::Stack_wrapper*>(targetPtr);if (wrapperPtr) { return wrapperPtr->viewName_nocallback();} else { return targetPtr->viewName();} }() };
1200 return result;
1201}
1202// zOrder() const
1204{
1205 const auto &result = [&] {auto targetPtr = fromPtr(thisObj);auto wrapperPtr = dynamic_cast<KDDockWidgetsBindings_wrappersNS::KDDWBindingsFlutter::Stack_wrapper*>(targetPtr);if (wrapperPtr) { return wrapperPtr->zOrder_nocallback();} else { return targetPtr->zOrder();} }();
1206 return result;
1207}
1209{
1210 delete fromPtr(thisObj);
1211}
1212void c_KDDockWidgets__flutter__Stack__registerVirtualMethodCallback(void *ptr, void *callback, int methodId)
1213{
1214 auto wrapper = fromWrapperPtr(ptr);
1215 switch (methodId) {
1216 case 342:
1217 wrapper->m_activateWindowCallback = reinterpret_cast<KDDockWidgetsBindings_wrappersNS::KDDWBindingsFlutter::Stack_wrapper::Callback_activateWindow>(callback);
1218 break;
1219 case 352:
1220 wrapper->m_closeCallback = reinterpret_cast<KDDockWidgetsBindings_wrappersNS::KDDWBindingsFlutter::Stack_wrapper::Callback_close>(callback);
1221 break;
1222 case 354:
1223 wrapper->m_createPlatformWindowCallback = reinterpret_cast<KDDockWidgetsBindings_wrappersNS::KDDWBindingsFlutter::Stack_wrapper::Callback_createPlatformWindow>(callback);
1224 break;
1225 case 360:
1226 wrapper->m_flagsCallback = reinterpret_cast<KDDockWidgetsBindings_wrappersNS::KDDWBindingsFlutter::Stack_wrapper::Callback_flags>(callback);
1227 break;
1228 case 361:
1229 wrapper->m_geometryCallback = reinterpret_cast<KDDockWidgetsBindings_wrappersNS::KDDWBindingsFlutter::Stack_wrapper::Callback_geometry>(callback);
1230 break;
1231 case 362:
1232 wrapper->m_grabMouseCallback = reinterpret_cast<KDDockWidgetsBindings_wrappersNS::KDDWBindingsFlutter::Stack_wrapper::Callback_grabMouse>(callback);
1233 break;
1234 case 365:
1235 wrapper->m_hasFocusCallback = reinterpret_cast<KDDockWidgetsBindings_wrappersNS::KDDWBindingsFlutter::Stack_wrapper::Callback_hasFocus>(callback);
1236 break;
1237 case 367:
1238 wrapper->m_hideCallback = reinterpret_cast<KDDockWidgetsBindings_wrappersNS::KDDWBindingsFlutter::Stack_wrapper::Callback_hide>(callback);
1239 break;
1240 case 369:
1241 wrapper->m_initCallback = reinterpret_cast<KDDockWidgetsBindings_wrappersNS::KDDWBindingsFlutter::Stack_wrapper::Callback_init>(callback);
1242 break;
1243 case 371:
1244 wrapper->m_isActiveWindowCallback = reinterpret_cast<KDDockWidgetsBindings_wrappersNS::KDDWBindingsFlutter::Stack_wrapper::Callback_isActiveWindow>(callback);
1245 break;
1246 case 372:
1247 wrapper->m_isExplicitlyHiddenCallback = reinterpret_cast<KDDockWidgetsBindings_wrappersNS::KDDWBindingsFlutter::Stack_wrapper::Callback_isExplicitlyHidden>(callback);
1248 break;
1249 case 375:
1250 wrapper->m_isMaximizedCallback = reinterpret_cast<KDDockWidgetsBindings_wrappersNS::KDDWBindingsFlutter::Stack_wrapper::Callback_isMaximized>(callback);
1251 break;
1252 case 376:
1253 wrapper->m_isMinimizedCallback = reinterpret_cast<KDDockWidgetsBindings_wrappersNS::KDDWBindingsFlutter::Stack_wrapper::Callback_isMinimized>(callback);
1254 break;
1255 case 450:
1256 wrapper->m_isMountedCallback = reinterpret_cast<KDDockWidgetsBindings_wrappersNS::KDDWBindingsFlutter::Stack_wrapper::Callback_isMounted>(callback);
1257 break;
1258 case 377:
1259 wrapper->m_isNullCallback = reinterpret_cast<KDDockWidgetsBindings_wrappersNS::KDDWBindingsFlutter::Stack_wrapper::Callback_isNull>(callback);
1260 break;
1261 case 496:
1262 wrapper->m_isPositionDraggableCallback = reinterpret_cast<KDDockWidgetsBindings_wrappersNS::KDDWBindingsFlutter::Stack_wrapper::Callback_isPositionDraggable>(callback);
1263 break;
1264 case 378:
1265 wrapper->m_isRootViewCallback = reinterpret_cast<KDDockWidgetsBindings_wrappersNS::KDDWBindingsFlutter::Stack_wrapper::Callback_isRootView>(callback);
1266 break;
1267 case 379:
1268 wrapper->m_isVisibleCallback = reinterpret_cast<KDDockWidgetsBindings_wrappersNS::KDDWBindingsFlutter::Stack_wrapper::Callback_isVisible>(callback);
1269 break;
1270 case 380:
1271 wrapper->m_mapFromGlobalCallback = reinterpret_cast<KDDockWidgetsBindings_wrappersNS::KDDWBindingsFlutter::Stack_wrapper::Callback_mapFromGlobal>(callback);
1272 break;
1273 case 381:
1274 wrapper->m_mapToCallback = reinterpret_cast<KDDockWidgetsBindings_wrappersNS::KDDWBindingsFlutter::Stack_wrapper::Callback_mapTo>(callback);
1275 break;
1276 case 382:
1277 wrapper->m_mapToGlobalCallback = reinterpret_cast<KDDockWidgetsBindings_wrappersNS::KDDWBindingsFlutter::Stack_wrapper::Callback_mapToGlobal>(callback);
1278 break;
1279 case 383:
1280 wrapper->m_maxSizeHintCallback = reinterpret_cast<KDDockWidgetsBindings_wrappersNS::KDDWBindingsFlutter::Stack_wrapper::Callback_maxSizeHint>(callback);
1281 break;
1282 case 384:
1283 wrapper->m_minSizeCallback = reinterpret_cast<KDDockWidgetsBindings_wrappersNS::KDDWBindingsFlutter::Stack_wrapper::Callback_minSize>(callback);
1284 break;
1285 case 388:
1286 wrapper->m_move_2Callback = reinterpret_cast<KDDockWidgetsBindings_wrappersNS::KDDWBindingsFlutter::Stack_wrapper::Callback_move_2>(callback);
1287 break;
1288 case 389:
1289 wrapper->m_normalGeometryCallback = reinterpret_cast<KDDockWidgetsBindings_wrappersNS::KDDWBindingsFlutter::Stack_wrapper::Callback_normalGeometry>(callback);
1290 break;
1291 case 453:
1292 wrapper->m_onChildAddedCallback = reinterpret_cast<KDDockWidgetsBindings_wrappersNS::KDDWBindingsFlutter::Stack_wrapper::Callback_onChildAdded>(callback);
1293 break;
1294 case 454:
1295 wrapper->m_onChildRemovedCallback = reinterpret_cast<KDDockWidgetsBindings_wrappersNS::KDDWBindingsFlutter::Stack_wrapper::Callback_onChildRemoved>(callback);
1296 break;
1297 case 455:
1298 wrapper->m_onChildVisibilityChangedCallback = reinterpret_cast<KDDockWidgetsBindings_wrappersNS::KDDWBindingsFlutter::Stack_wrapper::Callback_onChildVisibilityChanged>(callback);
1299 break;
1300 case 457:
1301 wrapper->m_onGeometryChangedCallback = reinterpret_cast<KDDockWidgetsBindings_wrappersNS::KDDWBindingsFlutter::Stack_wrapper::Callback_onGeometryChanged>(callback);
1302 break;
1303 case 459:
1304 wrapper->m_onRebuildRequestedCallback = reinterpret_cast<KDDockWidgetsBindings_wrappersNS::KDDWBindingsFlutter::Stack_wrapper::Callback_onRebuildRequested>(callback);
1305 break;
1306 case 391:
1307 wrapper->m_onResize_2Callback = reinterpret_cast<KDDockWidgetsBindings_wrappersNS::KDDWBindingsFlutter::Stack_wrapper::Callback_onResize_2>(callback);
1308 break;
1309 case 393:
1310 wrapper->m_raiseCallback = reinterpret_cast<KDDockWidgetsBindings_wrappersNS::KDDWBindingsFlutter::Stack_wrapper::Callback_raise>(callback);
1311 break;
1312 case 394:
1313 wrapper->m_raiseAndActivateCallback = reinterpret_cast<KDDockWidgetsBindings_wrappersNS::KDDWBindingsFlutter::Stack_wrapper::Callback_raiseAndActivate>(callback);
1314 break;
1315 case 462:
1316 wrapper->m_raiseChildCallback = reinterpret_cast<KDDockWidgetsBindings_wrappersNS::KDDWBindingsFlutter::Stack_wrapper::Callback_raiseChild>(callback);
1317 break;
1318 case 463:
1319 wrapper->m_raiseWindowCallback = reinterpret_cast<KDDockWidgetsBindings_wrappersNS::KDDWBindingsFlutter::Stack_wrapper::Callback_raiseWindow>(callback);
1320 break;
1321 case 396:
1322 wrapper->m_releaseKeyboardCallback = reinterpret_cast<KDDockWidgetsBindings_wrappersNS::KDDWBindingsFlutter::Stack_wrapper::Callback_releaseKeyboard>(callback);
1323 break;
1324 case 397:
1325 wrapper->m_releaseMouseCallback = reinterpret_cast<KDDockWidgetsBindings_wrappersNS::KDDWBindingsFlutter::Stack_wrapper::Callback_releaseMouse>(callback);
1326 break;
1327 case 401:
1328 wrapper->m_setCursorCallback = reinterpret_cast<KDDockWidgetsBindings_wrappersNS::KDDWBindingsFlutter::Stack_wrapper::Callback_setCursor>(callback);
1329 break;
1330 case 499:
1331 wrapper->m_setDocumentModeCallback = reinterpret_cast<KDDockWidgetsBindings_wrappersNS::KDDWBindingsFlutter::Stack_wrapper::Callback_setDocumentMode>(callback);
1332 break;
1333 case 402:
1334 wrapper->m_setFixedHeightCallback = reinterpret_cast<KDDockWidgetsBindings_wrappersNS::KDDWBindingsFlutter::Stack_wrapper::Callback_setFixedHeight>(callback);
1335 break;
1336 case 403:
1337 wrapper->m_setFixedWidthCallback = reinterpret_cast<KDDockWidgetsBindings_wrappersNS::KDDWBindingsFlutter::Stack_wrapper::Callback_setFixedWidth>(callback);
1338 break;
1339 case 404:
1340 wrapper->m_setGeometryCallback = reinterpret_cast<KDDockWidgetsBindings_wrappersNS::KDDWBindingsFlutter::Stack_wrapper::Callback_setGeometry>(callback);
1341 break;
1342 case 405:
1343 wrapper->m_setHeightCallback = reinterpret_cast<KDDockWidgetsBindings_wrappersNS::KDDWBindingsFlutter::Stack_wrapper::Callback_setHeight>(callback);
1344 break;
1345 case 406:
1346 wrapper->m_setMaximumSizeCallback = reinterpret_cast<KDDockWidgetsBindings_wrappersNS::KDDWBindingsFlutter::Stack_wrapper::Callback_setMaximumSize>(callback);
1347 break;
1348 case 407:
1349 wrapper->m_setMinimumSizeCallback = reinterpret_cast<KDDockWidgetsBindings_wrappersNS::KDDWBindingsFlutter::Stack_wrapper::Callback_setMinimumSize>(callback);
1350 break;
1351 case 408:
1352 wrapper->m_setMouseTrackingCallback = reinterpret_cast<KDDockWidgetsBindings_wrappersNS::KDDWBindingsFlutter::Stack_wrapper::Callback_setMouseTracking>(callback);
1353 break;
1354 case 409:
1355 wrapper->m_setParentCallback = reinterpret_cast<KDDockWidgetsBindings_wrappersNS::KDDWBindingsFlutter::Stack_wrapper::Callback_setParent>(callback);
1356 break;
1357 case 411:
1358 wrapper->m_setSize_2Callback = reinterpret_cast<KDDockWidgetsBindings_wrappersNS::KDDWBindingsFlutter::Stack_wrapper::Callback_setSize_2>(callback);
1359 break;
1360 case 412:
1361 wrapper->m_setViewNameCallback = reinterpret_cast<KDDockWidgetsBindings_wrappersNS::KDDWBindingsFlutter::Stack_wrapper::Callback_setViewName>(callback);
1362 break;
1363 case 413:
1364 wrapper->m_setVisibleCallback = reinterpret_cast<KDDockWidgetsBindings_wrappersNS::KDDWBindingsFlutter::Stack_wrapper::Callback_setVisible>(callback);
1365 break;
1366 case 414:
1367 wrapper->m_setWidthCallback = reinterpret_cast<KDDockWidgetsBindings_wrappersNS::KDDWBindingsFlutter::Stack_wrapper::Callback_setWidth>(callback);
1368 break;
1369 case 415:
1370 wrapper->m_setWindowOpacityCallback = reinterpret_cast<KDDockWidgetsBindings_wrappersNS::KDDWBindingsFlutter::Stack_wrapper::Callback_setWindowOpacity>(callback);
1371 break;
1372 case 416:
1373 wrapper->m_setWindowTitleCallback = reinterpret_cast<KDDockWidgetsBindings_wrappersNS::KDDWBindingsFlutter::Stack_wrapper::Callback_setWindowTitle>(callback);
1374 break;
1375 case 417:
1376 wrapper->m_setZOrderCallback = reinterpret_cast<KDDockWidgetsBindings_wrappersNS::KDDWBindingsFlutter::Stack_wrapper::Callback_setZOrder>(callback);
1377 break;
1378 case 418:
1379 wrapper->m_showCallback = reinterpret_cast<KDDockWidgetsBindings_wrappersNS::KDDWBindingsFlutter::Stack_wrapper::Callback_show>(callback);
1380 break;
1381 case 419:
1382 wrapper->m_showMaximizedCallback = reinterpret_cast<KDDockWidgetsBindings_wrappersNS::KDDWBindingsFlutter::Stack_wrapper::Callback_showMaximized>(callback);
1383 break;
1384 case 420:
1385 wrapper->m_showMinimizedCallback = reinterpret_cast<KDDockWidgetsBindings_wrappersNS::KDDWBindingsFlutter::Stack_wrapper::Callback_showMinimized>(callback);
1386 break;
1387 case 421:
1388 wrapper->m_showNormalCallback = reinterpret_cast<KDDockWidgetsBindings_wrappersNS::KDDWBindingsFlutter::Stack_wrapper::Callback_showNormal>(callback);
1389 break;
1390 case 423:
1391 wrapper->m_updateCallback = reinterpret_cast<KDDockWidgetsBindings_wrappersNS::KDDWBindingsFlutter::Stack_wrapper::Callback_update>(callback);
1392 break;
1393 case 424:
1394 wrapper->m_viewNameCallback = reinterpret_cast<KDDockWidgetsBindings_wrappersNS::KDDWBindingsFlutter::Stack_wrapper::Callback_viewName>(callback);
1395 break;
1396 case 428:
1397 wrapper->m_zOrderCallback = reinterpret_cast<KDDockWidgetsBindings_wrappersNS::KDDWBindingsFlutter::Stack_wrapper::Callback_zOrder>(callback);
1398 break;
1399 }
1400}
1401}
bool c_KDDockWidgets__flutter__Stack__close(void *thisObj)
void c_KDDockWidgets__flutter__Stack__setCursor_CursorShape(void *thisObj, int shape)
void c_KDDockWidgets__flutter__Stack__onChildVisibilityChanged_View(void *thisObj, void *childView_)
static KDDockWidgetsBindings_wrappersNS::KDDWBindingsFlutter::Stack_wrapper * fromWrapperPtr(void *ptr)
bool c_KDDockWidgets__flutter__Stack__isNull(void *thisObj)
void c_KDDockWidgets__flutter__Stack__releaseKeyboard(void *thisObj)
bool c_KDDockWidgets__flutter__Stack__onResize_int_int(void *thisObj, int h, int w)
void c_KDDockWidgets__flutter__Stack__setMouseTracking_bool(void *thisObj, bool enable)
void c_KDDockWidgets__flutter__Stack__show(void *thisObj)
void c_KDDockWidgets__flutter__Stack__move_int_int(void *thisObj, int x, int y)
void c_KDDockWidgets__flutter__Stack__update(void *thisObj)
void * c_KDDockWidgets__flutter__Stack__mapToGlobal_Point(void *thisObj, void *localPt_)
int c_KDDockWidgets__flutter__Stack__zOrder(void *thisObj)
bool c_KDDockWidgets__flutter__Stack__isMounted(void *thisObj)
bool c_KDDockWidgets__flutter__Stack__isVisible(void *thisObj)
void c_KDDockWidgets__flutter__Stack__setWidth_int(void *thisObj, int w)
void c_KDDockWidgets__flutter__Stack__setVisible_bool(void *thisObj, bool visible)
void c_KDDockWidgets__flutter__Stack__setMaximumSize_Size(void *thisObj, void *sz_)
void c_KDDockWidgets__flutter__Stack__setHeight_int(void *thisObj, int h)
void c_KDDockWidgets__flutter__Stack__registerVirtualMethodCallback(void *ptr, void *callback, int methodId)
void c_KDDockWidgets__flutter__Stack__setZOrder_int(void *thisObj, int z)
void c_KDDockWidgets__flutter__Stack__destructor(void *thisObj)
void c_KDDockWidgets__flutter__Stack__setGeometry_Rect(void *thisObj, void *geometry_)
void * c_KDDockWidgets__flutter__Stack__mapFromGlobal_Point(void *thisObj, void *globalPt_)
void * c_KDDockWidgets__flutter__Stack__maxSizeHint(void *thisObj)
void c_KDDockWidgets__flutter__Stack_Finalizer(void *cppObj)
void * c_KDDockWidgets__flutter__Stack__viewName(void *thisObj)
void c_KDDockWidgets__flutter__Stack__setDocumentMode_bool(void *thisObj, bool arg__1)
void c_KDDockWidgets__flutter__Stack__showNormal(void *thisObj)
void c_KDDockWidgets__flutter__Stack__onChildRemoved_View(void *thisObj, void *childView_)
void * c_KDDockWidgets__flutter__Stack__minSize(void *thisObj)
void c_KDDockWidgets__flutter__Stack__hide(void *thisObj)
void c_KDDockWidgets__flutter__Stack__grabMouse(void *thisObj)
bool c_KDDockWidgets__flutter__Stack__isRootView(void *thisObj)
void * c_KDDockWidgets__flutter__Stack__normalGeometry(void *thisObj)
void c_KDDockWidgets__flutter__Stack__setParent_View(void *thisObj, void *parent_)
void c_KDDockWidgets__flutter__Stack__activateWindow(void *thisObj)
void c_KDDockWidgets__flutter__Stack__setViewName_QString(void *thisObj, const char *name_)
void c_KDDockWidgets__flutter__Stack__raise(void *thisObj)
void c_KDDockWidgets__flutter__Stack__setFixedHeight_int(void *thisObj, int h)
void * c_KDDockWidgets__flutter__Stack__geometry(void *thisObj)
void c_KDDockWidgets__flutter__Stack__setSize_int_int(void *thisObj, int w, int h)
void c_KDDockWidgets__flutter__Stack__onGeometryChanged(void *thisObj)
bool c_KDDockWidgets__flutter__Stack__isMaximized(void *thisObj)
void c_KDDockWidgets__flutter__Stack__raiseWindow_View(void *thisObj, void *rootView_)
void c_KDDockWidgets__flutter__Stack__createPlatformWindow(void *thisObj)
void * c_KDDockWidgets__flutter__Stack__mapTo_View_Point(void *thisObj, void *parent_, void *pos_)
void * c_KDDockWidgets__flutter__Stack__constructor_Stack_View(void *controller_, void *parent_)
void c_KDDockWidgets__flutter__Stack__init(void *thisObj)
bool c_KDDockWidgets__flutter__Stack__isMinimized(void *thisObj)
static KDDockWidgets::flutter::Stack * fromPtr(void *ptr)
void c_KDDockWidgets__flutter__Stack__showMinimized(void *thisObj)
void c_KDDockWidgets__flutter__Stack__releaseMouse(void *thisObj)
bool c_KDDockWidgets__flutter__Stack__isExplicitlyHidden(void *thisObj)
void c_KDDockWidgets__flutter__Stack__setMinimumSize_Size(void *thisObj, void *sz_)
void c_KDDockWidgets__flutter__Stack__onChildAdded_View(void *thisObj, void *childView_)
void c_KDDockWidgets__flutter__Stack__showMaximized(void *thisObj)
int c_KDDockWidgets__flutter__Stack__flags(void *thisObj)
void c_KDDockWidgets__flutter__Stack__setFixedWidth_int(void *thisObj, int w)
void c_KDDockWidgets__flutter__Stack__setWindowTitle_QString(void *thisObj, const char *title_)
bool c_KDDockWidgets__flutter__Stack__isActiveWindow(void *thisObj)
void c_KDDockWidgets__flutter__Stack__setWindowOpacity_double(void *thisObj, double v)
void c_KDDockWidgets__flutter__Stack__onRebuildRequested(void *thisObj)
bool c_KDDockWidgets__flutter__Stack__isPositionDraggable_Point(void *thisObj, void *p_)
void c_KDDockWidgets__flutter__Stack__raiseAndActivate(void *thisObj)
bool c_KDDockWidgets__flutter__Stack__hasFocus(void *thisObj)
void c_KDDockWidgets__flutter__Stack__raiseChild_View(void *thisObj, void *childView_)
KDDockWidgets::Point *(* Callback_mapFromGlobal)(void *, KDDockWidgets::Point *globalPt)
void(* Callback_onChildVisibilityChanged)(void *, KDDockWidgets::Core::View *childView)
virtual KDDockWidgets::Point mapTo_nocallback(KDDockWidgets::Core::View *parent, KDDockWidgets::Point pos) const
KDDockWidgets::Point *(* Callback_mapTo)(void *, KDDockWidgets::Core::View *parent, KDDockWidgets::Point *pos)
virtual KDDockWidgets::Point mapFromGlobal_nocallback(KDDockWidgets::Point globalPt) const
virtual void setDocumentMode(bool arg__1)
Sets QTabWidget::documentMode(). Only implemented for QtWidgets. Probably not interesting for other f...
void(* Callback_raiseWindow)(void *, KDDockWidgets::Core::View *rootView)
void(* Callback_onChildRemoved)(void *, KDDockWidgets::Core::View *childView)
virtual void onChildVisibilityChanged(KDDockWidgets::Core::View *childView)
virtual KDDockWidgets::Point mapFromGlobal(KDDockWidgets::Point globalPt) const
virtual bool isPositionDraggable(KDDockWidgets::Point p) const
Reimplement if you want to support dragging by QTabWidget instead of TitleBar This is only implemente...
virtual void onChildVisibilityChanged_nocallback(KDDockWidgets::Core::View *childView)
virtual KDDockWidgets::Point mapTo(KDDockWidgets::Core::View *parent, KDDockWidgets::Point pos) const
void(* Callback_raiseChild)(void *, KDDockWidgets::Core::View *childView)
virtual KDDockWidgets::Point mapToGlobal_nocallback(KDDockWidgets::Point localPt) const
void(* Callback_onChildAdded)(void *, KDDockWidgets::Core::View *childView)
virtual bool isNull() const
Returns whether the gui item represented by this view was already deleted Usually false,...
KDDockWidgets::Point *(* Callback_mapToGlobal)(void *, KDDockWidgets::Point *localPt)
virtual void onChildRemoved_nocallback(KDDockWidgets::Core::View *childView)
virtual void setViewName(const QString &name)
Equivalent to Qt's QObject::objectName()
virtual void setZOrder(int z)
Sets the z order Not supported on all platforms and only relevant for MDI mode.
Stack_wrapper(KDDockWidgets::Core::Stack *controller, KDDockWidgets::Core::View *parent=nullptr)
virtual KDDockWidgets::Point mapToGlobal(KDDockWidgets::Point localPt) const
virtual void update()=0
virtual void show()=0
virtual void setMaximumSize(Size sz)=0
virtual void setSize(int width, int height)=0
virtual void setFixedWidth(int)=0
virtual void activateWindow()=0
virtual void setMouseTracking(bool)=0
virtual void raiseAndActivate()=0
virtual void setWindowTitle(const QString &title)=0
virtual void setWidth(int width)=0
virtual void setHeight(int height)=0
virtual void grabMouse()=0
virtual void hide()=0
virtual void setFixedHeight(int)=0
virtual void createPlatformWindow()
virtual void setParent(View *)=0
virtual void move(int x, int y)=0
virtual void showMinimized()=0
virtual void raise()=0
virtual void releaseKeyboard()=0
virtual void releaseMouse()=0
virtual void setViewName(const QString &)=0
Equivalent to Qt's QObject::objectName()
virtual void setMinimumSize(Size)=0
virtual void showMaximized()=0
virtual void setCursor(Qt::CursorShape)=0
virtual void showNormal()=0
virtual void setZOrder(int)
Sets the z order Not supported on all platforms and only relevant for MDI mode.
virtual void setWindowOpacity(double)=0
virtual void setVisible(bool)=0
virtual void setGeometry(Rect)=0
void setDocumentMode(bool) override
Sets QTabWidget::documentMode(). Only implemented for QtWidgets. Probably not interesting for other f...
virtual void raiseChild(Core::View *childView)
std::shared_ptr< Core::View > rootView() const override
Returns the top-level gui element which this view is inside It's the root view of the window.
virtual void onChildAdded(Core::View *childView)
virtual void onChildRemoved(Core::View *childView)
virtual void raiseWindow(Core::View *rootView)
virtual void onRebuildRequested()
Implemented in Dart.
virtual void onChildVisibilityChanged(Core::View *childView)
int(* CleanupCallback)(void *thisPtr)
Definition Config_c.cpp:21
static CleanupCallback s_cleanupCallback
Definition Config_c.cpp:22
Class to abstract QAction, so code still works with QtQuick and Flutter.
QString fromUtf8(const char *str, int size)
CursorShape
typedef WindowFlags

© 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