KDDockWidgets API Documentation 2.1
Loading...
Searching...
No Matches
KDDWBindingsFlutter/DockWidget_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 "DockWidget_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::DockWidget(uniqueName, options, layoutSaverOptions)
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::DockWidget::close();
57 }
58}
60{
61 return ::KDDockWidgets::flutter::DockWidget::close();
62}
64{
66 const void *thisPtr = this;
67 m_createPlatformWindowCallback(const_cast<void *>(thisPtr));
68 } else {
70 }
71}
77{
78 return ::KDDockWidgets::flutter::DockWidget::dockWidget();
79}
81{
82 if (m_flagsCallback) {
83 const void *thisPtr = this;
84 return m_flagsCallback(const_cast<void *>(thisPtr));
85 } else {
86 return ::KDDockWidgets::flutter::DockWidget::flags();
87 }
88}
90{
91 return ::KDDockWidgets::flutter::DockWidget::flags();
92}
93KDDockWidgets::Rect DockWidget_wrapper::geometry() const
94{
96 const void *thisPtr = this;
97 return *m_geometryCallback(const_cast<void *>(thisPtr));
98 } else {
99 return ::KDDockWidgets::flutter::DockWidget::geometry();
100 }
101}
103{
104 return ::KDDockWidgets::flutter::DockWidget::geometry();
105}
107{
109 const void *thisPtr = this;
110 m_grabMouseCallback(const_cast<void *>(thisPtr));
111 } else {
113 }
114}
120{
121 if (m_hasFocusCallback) {
122 const void *thisPtr = this;
123 return m_hasFocusCallback(const_cast<void *>(thisPtr));
124 } else {
125 return ::KDDockWidgets::flutter::DockWidget::hasFocus();
126 }
127}
129{
130 return ::KDDockWidgets::flutter::DockWidget::hasFocus();
131}
133{
134 if (m_hideCallback) {
135 const void *thisPtr = this;
136 m_hideCallback(const_cast<void *>(thisPtr));
137 } else {
139 }
140}
146{
147 if (m_initCallback) {
148 const void *thisPtr = this;
149 m_initCallback(const_cast<void *>(thisPtr));
150 } else {
152 }
153}
159{
161 const void *thisPtr = this;
162 return m_isActiveWindowCallback(const_cast<void *>(thisPtr));
163 } else {
164 return ::KDDockWidgets::flutter::DockWidget::isActiveWindow();
165 }
166}
168{
169 return ::KDDockWidgets::flutter::DockWidget::isActiveWindow();
170}
172{
174 const void *thisPtr = this;
175 return m_isExplicitlyHiddenCallback(const_cast<void *>(thisPtr));
176 } else {
177 return ::KDDockWidgets::flutter::DockWidget::isExplicitlyHidden();
178 }
179}
181{
182 return ::KDDockWidgets::flutter::DockWidget::isExplicitlyHidden();
183}
185{
187 const void *thisPtr = this;
188 return m_isMaximizedCallback(const_cast<void *>(thisPtr));
189 } else {
190 return ::KDDockWidgets::flutter::DockWidget::isMaximized();
191 }
192}
194{
195 return ::KDDockWidgets::flutter::DockWidget::isMaximized();
196}
198{
200 const void *thisPtr = this;
201 return m_isMinimizedCallback(const_cast<void *>(thisPtr));
202 } else {
203 return ::KDDockWidgets::flutter::DockWidget::isMinimized();
204 }
205}
207{
208 return ::KDDockWidgets::flutter::DockWidget::isMinimized();
209}
211{
213 const void *thisPtr = this;
214 return m_isMountedCallback(const_cast<void *>(thisPtr));
215 } else {
216 return ::KDDockWidgets::flutter::DockWidget::isMounted();
217 }
218}
220{
221 return ::KDDockWidgets::flutter::DockWidget::isMounted();
222}
224{
225 if (m_isNullCallback) {
226 const void *thisPtr = this;
227 return m_isNullCallback(const_cast<void *>(thisPtr));
228 } else {
229 return ::KDDockWidgets::flutter::DockWidget::isNull();
230 }
231}
233{
234 return ::KDDockWidgets::flutter::DockWidget::isNull();
235}
237{
239 const void *thisPtr = this;
240 return m_isRootViewCallback(const_cast<void *>(thisPtr));
241 } else {
242 return ::KDDockWidgets::flutter::DockWidget::isRootView();
243 }
244}
246{
247 return ::KDDockWidgets::flutter::DockWidget::isRootView();
248}
250{
252 const void *thisPtr = this;
253 return m_isVisibleCallback(const_cast<void *>(thisPtr));
254 } else {
255 return ::KDDockWidgets::flutter::DockWidget::isVisible();
256 }
257}
259{
260 return ::KDDockWidgets::flutter::DockWidget::isVisible();
261}
262KDDockWidgets::Point DockWidget_wrapper::mapFromGlobal(KDDockWidgets::Point globalPt) const
263{
265 const void *thisPtr = this;
266 return *m_mapFromGlobalCallback(const_cast<void *>(thisPtr), &globalPt);
267 } else {
268 return ::KDDockWidgets::flutter::DockWidget::mapFromGlobal(globalPt);
269 }
270}
271KDDockWidgets::Point DockWidget_wrapper::mapFromGlobal_nocallback(KDDockWidgets::Point globalPt) const
272{
273 return ::KDDockWidgets::flutter::DockWidget::mapFromGlobal(globalPt);
274}
275KDDockWidgets::Point DockWidget_wrapper::mapTo(KDDockWidgets::Core::View *parent, KDDockWidgets::Point pos) const
276{
277 if (m_mapToCallback) {
278 const void *thisPtr = this;
279 return *m_mapToCallback(const_cast<void *>(thisPtr), parent, &pos);
280 } else {
281 return ::KDDockWidgets::flutter::DockWidget::mapTo(parent, pos);
282 }
283}
284KDDockWidgets::Point DockWidget_wrapper::mapTo_nocallback(KDDockWidgets::Core::View *parent, KDDockWidgets::Point pos) const
285{
286 return ::KDDockWidgets::flutter::DockWidget::mapTo(parent, pos);
287}
288KDDockWidgets::Point DockWidget_wrapper::mapToGlobal(KDDockWidgets::Point localPt) const
289{
291 const void *thisPtr = this;
292 return *m_mapToGlobalCallback(const_cast<void *>(thisPtr), &localPt);
293 } else {
294 return ::KDDockWidgets::flutter::DockWidget::mapToGlobal(localPt);
295 }
296}
297KDDockWidgets::Point DockWidget_wrapper::mapToGlobal_nocallback(KDDockWidgets::Point localPt) const
298{
299 return ::KDDockWidgets::flutter::DockWidget::mapToGlobal(localPt);
300}
301KDDockWidgets::Size DockWidget_wrapper::maxSizeHint() const
302{
304 const void *thisPtr = this;
305 return *m_maxSizeHintCallback(const_cast<void *>(thisPtr));
306 } else {
307 return ::KDDockWidgets::flutter::DockWidget::maxSizeHint();
308 }
309}
311{
312 return ::KDDockWidgets::flutter::DockWidget::maxSizeHint();
313}
314KDDockWidgets::Size DockWidget_wrapper::minSize() const
315{
316 if (m_minSizeCallback) {
317 const void *thisPtr = this;
318 return *m_minSizeCallback(const_cast<void *>(thisPtr));
319 } else {
320 return ::KDDockWidgets::flutter::DockWidget::minSize();
321 }
322}
323KDDockWidgets::Size DockWidget_wrapper::minSize_nocallback() const
324{
325 return ::KDDockWidgets::flutter::DockWidget::minSize();
326}
327void DockWidget_wrapper::move(int x, int y)
328{
329 if (m_move_2Callback) {
330 const void *thisPtr = this;
331 m_move_2Callback(const_cast<void *>(thisPtr), x, y);
332 } else {
334 }
335}
340KDDockWidgets::Rect DockWidget_wrapper::normalGeometry() const
341{
343 const void *thisPtr = this;
344 return *m_normalGeometryCallback(const_cast<void *>(thisPtr));
345 } else {
346 return ::KDDockWidgets::flutter::DockWidget::normalGeometry();
347 }
348}
350{
351 return ::KDDockWidgets::flutter::DockWidget::normalGeometry();
352}
354{
356 const void *thisPtr = this;
357 m_onChildAddedCallback(const_cast<void *>(thisPtr), childView);
358 } else {
360 }
361}
367{
369 const void *thisPtr = this;
370 m_onChildRemovedCallback(const_cast<void *>(thisPtr), childView);
371 } else {
373 }
374}
380{
382 const void *thisPtr = this;
383 m_onChildVisibilityChangedCallback(const_cast<void *>(thisPtr), childView);
384 } else {
386 }
387}
393{
395 const void *thisPtr = this;
396 m_onGeometryChangedCallback(const_cast<void *>(thisPtr));
397 } else {
399 }
400}
406{
408 const void *thisPtr = this;
409 m_onRebuildRequestedCallback(const_cast<void *>(thisPtr));
410 } else {
412 }
413}
419{
421 const void *thisPtr = this;
422 return m_onResize_2Callback(const_cast<void *>(thisPtr), h, w);
423 } else {
424 return ::KDDockWidgets::flutter::DockWidget::onResize(h, w);
425 }
426}
428{
429 return ::KDDockWidgets::flutter::DockWidget::onResize(h, w);
430}
432{
433 if (m_raiseCallback) {
434 const void *thisPtr = this;
435 m_raiseCallback(const_cast<void *>(thisPtr));
436 } else {
438 }
439}
445{
447 const void *thisPtr = this;
448 m_raiseAndActivateCallback(const_cast<void *>(thisPtr));
449 } else {
451 }
452}
458{
460 const void *thisPtr = this;
461 m_raiseChildCallback(const_cast<void *>(thisPtr), childView);
462 } else {
464 }
465}
471{
473 const void *thisPtr = this;
474 m_raiseWindowCallback(const_cast<void *>(thisPtr), rootView);
475 } else {
477 }
478}
484{
486 const void *thisPtr = this;
487 m_releaseKeyboardCallback(const_cast<void *>(thisPtr));
488 } else {
490 }
491}
497{
499 const void *thisPtr = this;
500 m_releaseMouseCallback(const_cast<void *>(thisPtr));
501 } else {
503 }
504}
510{
512 const void *thisPtr = this;
513 m_setCursorCallback(const_cast<void *>(thisPtr), shape);
514 } else {
516 }
517}
523{
525 const void *thisPtr = this;
526 m_setFixedHeightCallback(const_cast<void *>(thisPtr), h);
527 } else {
529 }
530}
536{
538 const void *thisPtr = this;
539 m_setFixedWidthCallback(const_cast<void *>(thisPtr), w);
540 } else {
542 }
543}
548void DockWidget_wrapper::setGeometry(KDDockWidgets::Rect geometry)
549{
551 const void *thisPtr = this;
552 m_setGeometryCallback(const_cast<void *>(thisPtr), &geometry);
553 } else {
555 }
556}
562{
564 const void *thisPtr = this;
565 m_setHeightCallback(const_cast<void *>(thisPtr), h);
566 } else {
568 }
569}
574void DockWidget_wrapper::setMaximumSize(KDDockWidgets::Size sz)
575{
577 const void *thisPtr = this;
578 m_setMaximumSizeCallback(const_cast<void *>(thisPtr), &sz);
579 } else {
581 }
582}
587void DockWidget_wrapper::setMinimumSize(KDDockWidgets::Size sz)
588{
590 const void *thisPtr = this;
591 m_setMinimumSizeCallback(const_cast<void *>(thisPtr), &sz);
592 } else {
594 }
595}
601{
603 const void *thisPtr = this;
604 m_setMouseTrackingCallback(const_cast<void *>(thisPtr), enable);
605 } else {
607 }
608}
614{
616 const void *thisPtr = this;
617 m_setParentCallback(const_cast<void *>(thisPtr), parent);
618 } else {
620 }
621}
627{
629 const void *thisPtr = this;
630 m_setSize_2Callback(const_cast<void *>(thisPtr), w, h);
631 } else {
633 }
634}
640{
642 const void *thisPtr = this;
643 m_setViewNameCallback(const_cast<void *>(thisPtr), name);
644 } else {
646 }
647}
653{
655 const void *thisPtr = this;
656 m_setVisibleCallback(const_cast<void *>(thisPtr), visible);
657 } else {
659 }
660}
666{
667 if (m_setWidthCallback) {
668 const void *thisPtr = this;
669 m_setWidthCallback(const_cast<void *>(thisPtr), w);
670 } else {
672 }
673}
679{
681 const void *thisPtr = this;
682 m_setWindowOpacityCallback(const_cast<void *>(thisPtr), v);
683 } else {
685 }
686}
692{
694 const void *thisPtr = this;
695 m_setWindowTitleCallback(const_cast<void *>(thisPtr), title);
696 } else {
698 }
699}
705{
707 const void *thisPtr = this;
708 m_setZOrderCallback(const_cast<void *>(thisPtr), z);
709 } else {
711 }
712}
718{
719 if (m_showCallback) {
720 const void *thisPtr = this;
721 m_showCallback(const_cast<void *>(thisPtr));
722 } else {
724 }
725}
731{
733 const void *thisPtr = this;
734 m_showMaximizedCallback(const_cast<void *>(thisPtr));
735 } else {
737 }
738}
744{
746 const void *thisPtr = this;
747 m_showMinimizedCallback(const_cast<void *>(thisPtr));
748 } else {
750 }
751}
757{
759 const void *thisPtr = this;
760 m_showNormalCallback(const_cast<void *>(thisPtr));
761 } else {
763 }
764}
770{
771 if (m_updateCallback) {
772 const void *thisPtr = this;
773 m_updateCallback(const_cast<void *>(thisPtr));
774 } else {
776 }
777}
783{
784 if (m_viewNameCallback) {
785 const void *thisPtr = this;
786 return *m_viewNameCallback(const_cast<void *>(thisPtr));
787 } else {
788 return ::KDDockWidgets::flutter::DockWidget::viewName();
789 }
790}
792{
793 return ::KDDockWidgets::flutter::DockWidget::viewName();
794}
796{
797 if (m_zOrderCallback) {
798 const void *thisPtr = this;
799 return m_zOrderCallback(const_cast<void *>(thisPtr));
800 } else {
801 return ::KDDockWidgets::flutter::DockWidget::zOrder();
802 }
803}
805{
806 return ::KDDockWidgets::flutter::DockWidget::zOrder();
807}
811
812}
813}
815{
816 return reinterpret_cast<KDDockWidgets::flutter::DockWidget *>(ptr);
817}
822extern "C" {
827void *c_KDDockWidgets__flutter__DockWidget__constructor_QString_DockWidgetOptions_LayoutSaverOptions(const char *uniqueName_, int options_, int layoutSaverOptions_)
828{
829 const auto uniqueName = QString::fromUtf8(uniqueName_);
830 auto options = static_cast<QFlags<KDDockWidgets::DockWidgetOption>>(options_);
831 auto layoutSaverOptions = static_cast<QFlags<KDDockWidgets::LayoutSaverOption>>(layoutSaverOptions_);
832 auto ptr = new KDDockWidgetsBindings_wrappersNS::KDDWBindingsFlutter::DockWidget_wrapper(uniqueName, options, layoutSaverOptions);
833 return reinterpret_cast<void *>(ptr);
834}
835// activateWindow()
837{
838 [&] {auto targetPtr = fromPtr(thisObj);auto wrapperPtr = dynamic_cast<KDDockWidgetsBindings_wrappersNS::KDDWBindingsFlutter::DockWidget_wrapper*>(targetPtr);if (wrapperPtr) { return wrapperPtr->activateWindow_nocallback();} else { return targetPtr->activateWindow();} }();
839}
840// close()
842{
843 const auto &result = [&] {auto targetPtr = fromPtr(thisObj);auto wrapperPtr = dynamic_cast<KDDockWidgetsBindings_wrappersNS::KDDWBindingsFlutter::DockWidget_wrapper*>(targetPtr);if (wrapperPtr) { return wrapperPtr->close_nocallback();} else { return targetPtr->close();} }();
844 return result;
845}
846// createPlatformWindow()
848{
849 [&] {auto targetPtr = fromPtr(thisObj);auto wrapperPtr = dynamic_cast<KDDockWidgetsBindings_wrappersNS::KDDWBindingsFlutter::DockWidget_wrapper*>(targetPtr);if (wrapperPtr) { return wrapperPtr->createPlatformWindow_nocallback();} else { return targetPtr->createPlatformWindow();} }();
850}
851// dockWidget() const
853{
854 const auto &result = fromPtr(thisObj)->dockWidget();
855 return result;
856}
857// flags() const
859{
860 const auto &result = [&] {auto targetPtr = fromPtr(thisObj);auto wrapperPtr = dynamic_cast<KDDockWidgetsBindings_wrappersNS::KDDWBindingsFlutter::DockWidget_wrapper*>(targetPtr);if (wrapperPtr) { return wrapperPtr->flags_nocallback();} else { return targetPtr->flags();} }();
861 return result;
862}
863// geometry() const
865{
866 const auto &result = new Dartagnan::ValueWrapper<KDDockWidgets::Rect> { [&] {auto targetPtr = fromPtr(thisObj);auto wrapperPtr = dynamic_cast<KDDockWidgetsBindings_wrappersNS::KDDWBindingsFlutter::DockWidget_wrapper*>(targetPtr);if (wrapperPtr) { return wrapperPtr->geometry_nocallback();} else { return targetPtr->geometry();} }() };
867 return result;
868}
869// grabMouse()
871{
872 [&] {auto targetPtr = fromPtr(thisObj);auto wrapperPtr = dynamic_cast<KDDockWidgetsBindings_wrappersNS::KDDWBindingsFlutter::DockWidget_wrapper*>(targetPtr);if (wrapperPtr) { return wrapperPtr->grabMouse_nocallback();} else { return targetPtr->grabMouse();} }();
873}
874// hasFocus() const
876{
877 const auto &result = [&] {auto targetPtr = fromPtr(thisObj);auto wrapperPtr = dynamic_cast<KDDockWidgetsBindings_wrappersNS::KDDWBindingsFlutter::DockWidget_wrapper*>(targetPtr);if (wrapperPtr) { return wrapperPtr->hasFocus_nocallback();} else { return targetPtr->hasFocus();} }();
878 return result;
879}
880// hide()
882{
883 [&] {auto targetPtr = fromPtr(thisObj);auto wrapperPtr = dynamic_cast<KDDockWidgetsBindings_wrappersNS::KDDWBindingsFlutter::DockWidget_wrapper*>(targetPtr);if (wrapperPtr) { return wrapperPtr->hide_nocallback();} else { return targetPtr->hide();} }();
884}
885// init()
887{
889}
890// isActiveWindow() const
892{
893 const auto &result = [&] {auto targetPtr = fromPtr(thisObj);auto wrapperPtr = dynamic_cast<KDDockWidgetsBindings_wrappersNS::KDDWBindingsFlutter::DockWidget_wrapper*>(targetPtr);if (wrapperPtr) { return wrapperPtr->isActiveWindow_nocallback();} else { return targetPtr->isActiveWindow();} }();
894 return result;
895}
896// isExplicitlyHidden() const
898{
899 const auto &result = [&] {auto targetPtr = fromPtr(thisObj);auto wrapperPtr = dynamic_cast<KDDockWidgetsBindings_wrappersNS::KDDWBindingsFlutter::DockWidget_wrapper*>(targetPtr);if (wrapperPtr) { return wrapperPtr->isExplicitlyHidden_nocallback();} else { return targetPtr->isExplicitlyHidden();} }();
900 return result;
901}
902// isMaximized() const
904{
905 const auto &result = [&] {auto targetPtr = fromPtr(thisObj);auto wrapperPtr = dynamic_cast<KDDockWidgetsBindings_wrappersNS::KDDWBindingsFlutter::DockWidget_wrapper*>(targetPtr);if (wrapperPtr) { return wrapperPtr->isMaximized_nocallback();} else { return targetPtr->isMaximized();} }();
906 return result;
907}
908// isMinimized() const
910{
911 const auto &result = [&] {auto targetPtr = fromPtr(thisObj);auto wrapperPtr = dynamic_cast<KDDockWidgetsBindings_wrappersNS::KDDWBindingsFlutter::DockWidget_wrapper*>(targetPtr);if (wrapperPtr) { return wrapperPtr->isMinimized_nocallback();} else { return targetPtr->isMinimized();} }();
912 return result;
913}
914// isMounted() const
916{
917 const auto &result = [&] {auto targetPtr = fromPtr(thisObj);auto wrapperPtr = dynamic_cast<KDDockWidgetsBindings_wrappersNS::KDDWBindingsFlutter::DockWidget_wrapper*>(targetPtr);if (wrapperPtr) { return wrapperPtr->isMounted_nocallback();} else { return targetPtr->isMounted();} }();
918 return result;
919}
920// isNull() const
922{
923 const auto &result = [&] {auto targetPtr = fromPtr(thisObj);auto wrapperPtr = dynamic_cast<KDDockWidgetsBindings_wrappersNS::KDDWBindingsFlutter::DockWidget_wrapper*>(targetPtr);if (wrapperPtr) { return wrapperPtr->isNull_nocallback();} else { return targetPtr->isNull();} }();
924 return result;
925}
926// isRootView() const
928{
929 const auto &result = [&] {auto targetPtr = fromPtr(thisObj);auto wrapperPtr = dynamic_cast<KDDockWidgetsBindings_wrappersNS::KDDWBindingsFlutter::DockWidget_wrapper*>(targetPtr);if (wrapperPtr) { return wrapperPtr->isRootView_nocallback();} else { return targetPtr->isRootView();} }();
930 return result;
931}
932// isVisible() const
934{
935 const auto &result = [&] {auto targetPtr = fromPtr(thisObj);auto wrapperPtr = dynamic_cast<KDDockWidgetsBindings_wrappersNS::KDDWBindingsFlutter::DockWidget_wrapper*>(targetPtr);if (wrapperPtr) { return wrapperPtr->isVisible_nocallback();} else { return targetPtr->isVisible();} }();
936 return result;
937}
938// mapFromGlobal(KDDockWidgets::Point globalPt) const
940{
941 assert(globalPt_);
942 auto &globalPt = *reinterpret_cast<KDDockWidgets::Point *>(globalPt_);
943 const auto &result = new Dartagnan::ValueWrapper<KDDockWidgets::Point> { [&] {auto targetPtr = fromPtr(thisObj);auto wrapperPtr = dynamic_cast<KDDockWidgetsBindings_wrappersNS::KDDWBindingsFlutter::DockWidget_wrapper*>(targetPtr);if (wrapperPtr) { return wrapperPtr->mapFromGlobal_nocallback(globalPt);} else { return targetPtr->mapFromGlobal(globalPt);} }() };
944 return result;
945}
946// mapTo(KDDockWidgets::Core::View * parent, KDDockWidgets::Point pos) const
947void *c_KDDockWidgets__flutter__DockWidget__mapTo_View_Point(void *thisObj, void *parent_, void *pos_)
948{
949 auto parent = reinterpret_cast<KDDockWidgets::Core::View *>(parent_);
950 assert(pos_);
951 auto &pos = *reinterpret_cast<KDDockWidgets::Point *>(pos_);
952 const auto &result = new Dartagnan::ValueWrapper<KDDockWidgets::Point> { [&] {auto targetPtr = fromPtr(thisObj);auto wrapperPtr = dynamic_cast<KDDockWidgetsBindings_wrappersNS::KDDWBindingsFlutter::DockWidget_wrapper*>(targetPtr);if (wrapperPtr) { return wrapperPtr->mapTo_nocallback(parent,pos);} else { return targetPtr->mapTo(parent,pos);} }() };
953 return result;
954}
955// mapToGlobal(KDDockWidgets::Point localPt) const
957{
958 assert(localPt_);
959 auto &localPt = *reinterpret_cast<KDDockWidgets::Point *>(localPt_);
960 const auto &result = new Dartagnan::ValueWrapper<KDDockWidgets::Point> { [&] {auto targetPtr = fromPtr(thisObj);auto wrapperPtr = dynamic_cast<KDDockWidgetsBindings_wrappersNS::KDDWBindingsFlutter::DockWidget_wrapper*>(targetPtr);if (wrapperPtr) { return wrapperPtr->mapToGlobal_nocallback(localPt);} else { return targetPtr->mapToGlobal(localPt);} }() };
961 return result;
962}
963// maxSizeHint() const
965{
966 const auto &result = new Dartagnan::ValueWrapper<KDDockWidgets::Size> { [&] {auto targetPtr = fromPtr(thisObj);auto wrapperPtr = dynamic_cast<KDDockWidgetsBindings_wrappersNS::KDDWBindingsFlutter::DockWidget_wrapper*>(targetPtr);if (wrapperPtr) { return wrapperPtr->maxSizeHint_nocallback();} else { return targetPtr->maxSizeHint();} }() };
967 return result;
968}
969// minSize() const
971{
972 const auto &result = new Dartagnan::ValueWrapper<KDDockWidgets::Size> { [&] {auto targetPtr = fromPtr(thisObj);auto wrapperPtr = dynamic_cast<KDDockWidgetsBindings_wrappersNS::KDDWBindingsFlutter::DockWidget_wrapper*>(targetPtr);if (wrapperPtr) { return wrapperPtr->minSize_nocallback();} else { return targetPtr->minSize();} }() };
973 return result;
974}
975// move(int x, int y)
977{
978 [&] {auto targetPtr = fromPtr(thisObj);auto wrapperPtr = dynamic_cast<KDDockWidgetsBindings_wrappersNS::KDDWBindingsFlutter::DockWidget_wrapper*>(targetPtr);if (wrapperPtr) { return wrapperPtr->move_nocallback(x,y);} else { return targetPtr->move(x,y);} }();
979}
980// normalGeometry() const
982{
983 const auto &result = new Dartagnan::ValueWrapper<KDDockWidgets::Rect> { [&] {auto targetPtr = fromPtr(thisObj);auto wrapperPtr = dynamic_cast<KDDockWidgetsBindings_wrappersNS::KDDWBindingsFlutter::DockWidget_wrapper*>(targetPtr);if (wrapperPtr) { return wrapperPtr->normalGeometry_nocallback();} else { return targetPtr->normalGeometry();} }() };
984 return result;
985}
986// onChildAdded(KDDockWidgets::Core::View * childView)
988{
989 auto childView = reinterpret_cast<KDDockWidgets::Core::View *>(childView_);
990 [&] {auto targetPtr = fromPtr(thisObj);auto wrapperPtr = dynamic_cast<KDDockWidgetsBindings_wrappersNS::KDDWBindingsFlutter::DockWidget_wrapper*>(targetPtr);if (wrapperPtr) { return wrapperPtr->onChildAdded_nocallback(childView);} else { return targetPtr->onChildAdded(childView);} }();
991}
992// onChildRemoved(KDDockWidgets::Core::View * childView)
994{
995 auto childView = reinterpret_cast<KDDockWidgets::Core::View *>(childView_);
996 [&] {auto targetPtr = fromPtr(thisObj);auto wrapperPtr = dynamic_cast<KDDockWidgetsBindings_wrappersNS::KDDWBindingsFlutter::DockWidget_wrapper*>(targetPtr);if (wrapperPtr) { return wrapperPtr->onChildRemoved_nocallback(childView);} else { return targetPtr->onChildRemoved(childView);} }();
997}
998// onChildVisibilityChanged(KDDockWidgets::Core::View * childView)
1000{
1001 auto childView = reinterpret_cast<KDDockWidgets::Core::View *>(childView_);
1002 [&] {auto targetPtr = fromPtr(thisObj);auto wrapperPtr = dynamic_cast<KDDockWidgetsBindings_wrappersNS::KDDWBindingsFlutter::DockWidget_wrapper*>(targetPtr);if (wrapperPtr) { return wrapperPtr->onChildVisibilityChanged_nocallback(childView);} else { return targetPtr->onChildVisibilityChanged(childView);} }();
1003}
1004// onGeometryChanged()
1006{
1007 [&] {auto targetPtr = fromPtr(thisObj);auto wrapperPtr = dynamic_cast<KDDockWidgetsBindings_wrappersNS::KDDWBindingsFlutter::DockWidget_wrapper*>(targetPtr);if (wrapperPtr) { return wrapperPtr->onGeometryChanged_nocallback();} else { return targetPtr->onGeometryChanged();} }();
1008}
1009// onRebuildRequested()
1011{
1012 [&] {auto targetPtr = fromPtr(thisObj);auto wrapperPtr = dynamic_cast<KDDockWidgetsBindings_wrappersNS::KDDWBindingsFlutter::DockWidget_wrapper*>(targetPtr);if (wrapperPtr) { return wrapperPtr->onRebuildRequested_nocallback();} else { return targetPtr->onRebuildRequested();} }();
1013}
1014// onResize(int h, int w)
1016{
1017 const auto &result = [&] {auto targetPtr = fromPtr(thisObj);auto wrapperPtr = dynamic_cast<KDDockWidgetsBindings_wrappersNS::KDDWBindingsFlutter::DockWidget_wrapper*>(targetPtr);if (wrapperPtr) { return wrapperPtr->onResize_nocallback(h,w);} else { return targetPtr->onResize(h,w);} }();
1018 return result;
1019}
1020// raise()
1022{
1023 [&] {auto targetPtr = fromPtr(thisObj);auto wrapperPtr = dynamic_cast<KDDockWidgetsBindings_wrappersNS::KDDWBindingsFlutter::DockWidget_wrapper*>(targetPtr);if (wrapperPtr) { return wrapperPtr->raise_nocallback();} else { return targetPtr->raise();} }();
1024}
1025// raiseAndActivate()
1027{
1028 [&] {auto targetPtr = fromPtr(thisObj);auto wrapperPtr = dynamic_cast<KDDockWidgetsBindings_wrappersNS::KDDWBindingsFlutter::DockWidget_wrapper*>(targetPtr);if (wrapperPtr) { return wrapperPtr->raiseAndActivate_nocallback();} else { return targetPtr->raiseAndActivate();} }();
1029}
1030// raiseChild(KDDockWidgets::Core::View * childView)
1032{
1033 auto childView = reinterpret_cast<KDDockWidgets::Core::View *>(childView_);
1034 [&] {auto targetPtr = fromPtr(thisObj);auto wrapperPtr = dynamic_cast<KDDockWidgetsBindings_wrappersNS::KDDWBindingsFlutter::DockWidget_wrapper*>(targetPtr);if (wrapperPtr) { return wrapperPtr->raiseChild_nocallback(childView);} else { return targetPtr->raiseChild(childView);} }();
1035}
1036// raiseWindow(KDDockWidgets::Core::View * rootView)
1038{
1039 auto rootView = reinterpret_cast<KDDockWidgets::Core::View *>(rootView_);
1040 [&] {auto targetPtr = fromPtr(thisObj);auto wrapperPtr = dynamic_cast<KDDockWidgetsBindings_wrappersNS::KDDWBindingsFlutter::DockWidget_wrapper*>(targetPtr);if (wrapperPtr) { return wrapperPtr->raiseWindow_nocallback(rootView);} else { return targetPtr->raiseWindow(rootView);} }();
1041}
1042// releaseKeyboard()
1044{
1045 [&] {auto targetPtr = fromPtr(thisObj);auto wrapperPtr = dynamic_cast<KDDockWidgetsBindings_wrappersNS::KDDWBindingsFlutter::DockWidget_wrapper*>(targetPtr);if (wrapperPtr) { return wrapperPtr->releaseKeyboard_nocallback();} else { return targetPtr->releaseKeyboard();} }();
1046}
1047// releaseMouse()
1049{
1050 [&] {auto targetPtr = fromPtr(thisObj);auto wrapperPtr = dynamic_cast<KDDockWidgetsBindings_wrappersNS::KDDWBindingsFlutter::DockWidget_wrapper*>(targetPtr);if (wrapperPtr) { return wrapperPtr->releaseMouse_nocallback();} else { return targetPtr->releaseMouse();} }();
1051}
1052// setCursor(Qt::CursorShape shape)
1054{
1055 [&] {auto targetPtr = fromPtr(thisObj);auto wrapperPtr = dynamic_cast<KDDockWidgetsBindings_wrappersNS::KDDWBindingsFlutter::DockWidget_wrapper*>(targetPtr);if (wrapperPtr) { return wrapperPtr->setCursor_nocallback(static_cast<Qt::CursorShape>(shape));} else { return targetPtr->setCursor(static_cast<Qt::CursorShape>(shape));} }();
1056}
1057// setFixedHeight(int h)
1059{
1060 [&] {auto targetPtr = fromPtr(thisObj);auto wrapperPtr = dynamic_cast<KDDockWidgetsBindings_wrappersNS::KDDWBindingsFlutter::DockWidget_wrapper*>(targetPtr);if (wrapperPtr) { return wrapperPtr->setFixedHeight_nocallback(h);} else { return targetPtr->setFixedHeight(h);} }();
1061}
1062// setFixedWidth(int w)
1064{
1065 [&] {auto targetPtr = fromPtr(thisObj);auto wrapperPtr = dynamic_cast<KDDockWidgetsBindings_wrappersNS::KDDWBindingsFlutter::DockWidget_wrapper*>(targetPtr);if (wrapperPtr) { return wrapperPtr->setFixedWidth_nocallback(w);} else { return targetPtr->setFixedWidth(w);} }();
1066}
1067// setGeometry(KDDockWidgets::Rect geometry)
1069{
1070 assert(geometry_);
1071 auto &geometry = *reinterpret_cast<KDDockWidgets::Rect *>(geometry_);
1072 [&] {auto targetPtr = fromPtr(thisObj);auto wrapperPtr = dynamic_cast<KDDockWidgetsBindings_wrappersNS::KDDWBindingsFlutter::DockWidget_wrapper*>(targetPtr);if (wrapperPtr) { return wrapperPtr->setGeometry_nocallback(geometry);} else { return targetPtr->setGeometry(geometry);} }();
1073}
1074// setHeight(int h)
1076{
1077 [&] {auto targetPtr = fromPtr(thisObj);auto wrapperPtr = dynamic_cast<KDDockWidgetsBindings_wrappersNS::KDDWBindingsFlutter::DockWidget_wrapper*>(targetPtr);if (wrapperPtr) { return wrapperPtr->setHeight_nocallback(h);} else { return targetPtr->setHeight(h);} }();
1078}
1079// setMaximumSize(KDDockWidgets::Size sz)
1081{
1082 assert(sz_);
1083 auto &sz = *reinterpret_cast<KDDockWidgets::Size *>(sz_);
1084 [&] {auto targetPtr = fromPtr(thisObj);auto wrapperPtr = dynamic_cast<KDDockWidgetsBindings_wrappersNS::KDDWBindingsFlutter::DockWidget_wrapper*>(targetPtr);if (wrapperPtr) { return wrapperPtr->setMaximumSize_nocallback(sz);} else { return targetPtr->setMaximumSize(sz);} }();
1085}
1086// setMinimumSize(KDDockWidgets::Size sz)
1088{
1089 assert(sz_);
1090 auto &sz = *reinterpret_cast<KDDockWidgets::Size *>(sz_);
1091 [&] {auto targetPtr = fromPtr(thisObj);auto wrapperPtr = dynamic_cast<KDDockWidgetsBindings_wrappersNS::KDDWBindingsFlutter::DockWidget_wrapper*>(targetPtr);if (wrapperPtr) { return wrapperPtr->setMinimumSize_nocallback(sz);} else { return targetPtr->setMinimumSize(sz);} }();
1092}
1093// setMouseTracking(bool enable)
1095{
1096 [&] {auto targetPtr = fromPtr(thisObj);auto wrapperPtr = dynamic_cast<KDDockWidgetsBindings_wrappersNS::KDDWBindingsFlutter::DockWidget_wrapper*>(targetPtr);if (wrapperPtr) { return wrapperPtr->setMouseTracking_nocallback(enable);} else { return targetPtr->setMouseTracking(enable);} }();
1097}
1098// setParent(KDDockWidgets::Core::View * parent)
1100{
1101 auto parent = reinterpret_cast<KDDockWidgets::Core::View *>(parent_);
1102 [&] {auto targetPtr = fromPtr(thisObj);auto wrapperPtr = dynamic_cast<KDDockWidgetsBindings_wrappersNS::KDDWBindingsFlutter::DockWidget_wrapper*>(targetPtr);if (wrapperPtr) { return wrapperPtr->setParent_nocallback(parent);} else { return targetPtr->setParent(parent);} }();
1103}
1104// setSize(int w, int h)
1106{
1107 [&] {auto targetPtr = fromPtr(thisObj);auto wrapperPtr = dynamic_cast<KDDockWidgetsBindings_wrappersNS::KDDWBindingsFlutter::DockWidget_wrapper*>(targetPtr);if (wrapperPtr) { return wrapperPtr->setSize_nocallback(w,h);} else { return targetPtr->setSize(w,h);} }();
1108}
1109// setViewName(const QString & name)
1111{
1112 const auto name = QString::fromUtf8(name_);
1113 [&] {auto targetPtr = fromPtr(thisObj);auto wrapperPtr = dynamic_cast<KDDockWidgetsBindings_wrappersNS::KDDWBindingsFlutter::DockWidget_wrapper*>(targetPtr);if (wrapperPtr) { return wrapperPtr->setViewName_nocallback(name);} else { return targetPtr->setViewName(name);} }();
1114 free(( char * )name_);
1115}
1116// setVisible(bool visible)
1118{
1119 [&] {auto targetPtr = fromPtr(thisObj);auto wrapperPtr = dynamic_cast<KDDockWidgetsBindings_wrappersNS::KDDWBindingsFlutter::DockWidget_wrapper*>(targetPtr);if (wrapperPtr) { return wrapperPtr->setVisible_nocallback(visible);} else { return targetPtr->setVisible(visible);} }();
1120}
1121// setWidth(int w)
1123{
1124 [&] {auto targetPtr = fromPtr(thisObj);auto wrapperPtr = dynamic_cast<KDDockWidgetsBindings_wrappersNS::KDDWBindingsFlutter::DockWidget_wrapper*>(targetPtr);if (wrapperPtr) { return wrapperPtr->setWidth_nocallback(w);} else { return targetPtr->setWidth(w);} }();
1125}
1126// setWindowOpacity(double v)
1128{
1129 [&] {auto targetPtr = fromPtr(thisObj);auto wrapperPtr = dynamic_cast<KDDockWidgetsBindings_wrappersNS::KDDWBindingsFlutter::DockWidget_wrapper*>(targetPtr);if (wrapperPtr) { return wrapperPtr->setWindowOpacity_nocallback(v);} else { return targetPtr->setWindowOpacity(v);} }();
1130}
1131// setWindowTitle(const QString & title)
1133{
1134 const auto title = QString::fromUtf8(title_);
1135 [&] {auto targetPtr = fromPtr(thisObj);auto wrapperPtr = dynamic_cast<KDDockWidgetsBindings_wrappersNS::KDDWBindingsFlutter::DockWidget_wrapper*>(targetPtr);if (wrapperPtr) { return wrapperPtr->setWindowTitle_nocallback(title);} else { return targetPtr->setWindowTitle(title);} }();
1136 free(( char * )title_);
1137}
1138// setZOrder(int z)
1140{
1141 [&] {auto targetPtr = fromPtr(thisObj);auto wrapperPtr = dynamic_cast<KDDockWidgetsBindings_wrappersNS::KDDWBindingsFlutter::DockWidget_wrapper*>(targetPtr);if (wrapperPtr) { return wrapperPtr->setZOrder_nocallback(z);} else { return targetPtr->setZOrder(z);} }();
1142}
1143// show()
1145{
1146 [&] {auto targetPtr = fromPtr(thisObj);auto wrapperPtr = dynamic_cast<KDDockWidgetsBindings_wrappersNS::KDDWBindingsFlutter::DockWidget_wrapper*>(targetPtr);if (wrapperPtr) { return wrapperPtr->show_nocallback();} else { return targetPtr->show();} }();
1147}
1148// showMaximized()
1150{
1151 [&] {auto targetPtr = fromPtr(thisObj);auto wrapperPtr = dynamic_cast<KDDockWidgetsBindings_wrappersNS::KDDWBindingsFlutter::DockWidget_wrapper*>(targetPtr);if (wrapperPtr) { return wrapperPtr->showMaximized_nocallback();} else { return targetPtr->showMaximized();} }();
1152}
1153// showMinimized()
1155{
1156 [&] {auto targetPtr = fromPtr(thisObj);auto wrapperPtr = dynamic_cast<KDDockWidgetsBindings_wrappersNS::KDDWBindingsFlutter::DockWidget_wrapper*>(targetPtr);if (wrapperPtr) { return wrapperPtr->showMinimized_nocallback();} else { return targetPtr->showMinimized();} }();
1157}
1158// showNormal()
1160{
1161 [&] {auto targetPtr = fromPtr(thisObj);auto wrapperPtr = dynamic_cast<KDDockWidgetsBindings_wrappersNS::KDDWBindingsFlutter::DockWidget_wrapper*>(targetPtr);if (wrapperPtr) { return wrapperPtr->showNormal_nocallback();} else { return targetPtr->showNormal();} }();
1162}
1163// update()
1165{
1166 [&] {auto targetPtr = fromPtr(thisObj);auto wrapperPtr = dynamic_cast<KDDockWidgetsBindings_wrappersNS::KDDWBindingsFlutter::DockWidget_wrapper*>(targetPtr);if (wrapperPtr) { return wrapperPtr->update_nocallback();} else { return targetPtr->update();} }();
1167}
1168// viewName() const
1170{
1171 const auto &result = new Dartagnan::ValueWrapper<QString> { [&] {auto targetPtr = fromPtr(thisObj);auto wrapperPtr = dynamic_cast<KDDockWidgetsBindings_wrappersNS::KDDWBindingsFlutter::DockWidget_wrapper*>(targetPtr);if (wrapperPtr) { return wrapperPtr->viewName_nocallback();} else { return targetPtr->viewName();} }() };
1172 return result;
1173}
1174// zOrder() const
1176{
1177 const auto &result = [&] {auto targetPtr = fromPtr(thisObj);auto wrapperPtr = dynamic_cast<KDDockWidgetsBindings_wrappersNS::KDDWBindingsFlutter::DockWidget_wrapper*>(targetPtr);if (wrapperPtr) { return wrapperPtr->zOrder_nocallback();} else { return targetPtr->zOrder();} }();
1178 return result;
1179}
1181{
1182 delete fromPtr(thisObj);
1183}
1185{
1186 auto wrapper = fromWrapperPtr(ptr);
1187 switch (methodId) {
1188 case 342:
1189 wrapper->m_activateWindowCallback = reinterpret_cast<KDDockWidgetsBindings_wrappersNS::KDDWBindingsFlutter::DockWidget_wrapper::Callback_activateWindow>(callback);
1190 break;
1191 case 352:
1192 wrapper->m_closeCallback = reinterpret_cast<KDDockWidgetsBindings_wrappersNS::KDDWBindingsFlutter::DockWidget_wrapper::Callback_close>(callback);
1193 break;
1194 case 354:
1195 wrapper->m_createPlatformWindowCallback = reinterpret_cast<KDDockWidgetsBindings_wrappersNS::KDDWBindingsFlutter::DockWidget_wrapper::Callback_createPlatformWindow>(callback);
1196 break;
1197 case 360:
1198 wrapper->m_flagsCallback = reinterpret_cast<KDDockWidgetsBindings_wrappersNS::KDDWBindingsFlutter::DockWidget_wrapper::Callback_flags>(callback);
1199 break;
1200 case 361:
1201 wrapper->m_geometryCallback = reinterpret_cast<KDDockWidgetsBindings_wrappersNS::KDDWBindingsFlutter::DockWidget_wrapper::Callback_geometry>(callback);
1202 break;
1203 case 362:
1204 wrapper->m_grabMouseCallback = reinterpret_cast<KDDockWidgetsBindings_wrappersNS::KDDWBindingsFlutter::DockWidget_wrapper::Callback_grabMouse>(callback);
1205 break;
1206 case 365:
1207 wrapper->m_hasFocusCallback = reinterpret_cast<KDDockWidgetsBindings_wrappersNS::KDDWBindingsFlutter::DockWidget_wrapper::Callback_hasFocus>(callback);
1208 break;
1209 case 367:
1210 wrapper->m_hideCallback = reinterpret_cast<KDDockWidgetsBindings_wrappersNS::KDDWBindingsFlutter::DockWidget_wrapper::Callback_hide>(callback);
1211 break;
1212 case 369:
1213 wrapper->m_initCallback = reinterpret_cast<KDDockWidgetsBindings_wrappersNS::KDDWBindingsFlutter::DockWidget_wrapper::Callback_init>(callback);
1214 break;
1215 case 371:
1216 wrapper->m_isActiveWindowCallback = reinterpret_cast<KDDockWidgetsBindings_wrappersNS::KDDWBindingsFlutter::DockWidget_wrapper::Callback_isActiveWindow>(callback);
1217 break;
1218 case 372:
1219 wrapper->m_isExplicitlyHiddenCallback = reinterpret_cast<KDDockWidgetsBindings_wrappersNS::KDDWBindingsFlutter::DockWidget_wrapper::Callback_isExplicitlyHidden>(callback);
1220 break;
1221 case 375:
1222 wrapper->m_isMaximizedCallback = reinterpret_cast<KDDockWidgetsBindings_wrappersNS::KDDWBindingsFlutter::DockWidget_wrapper::Callback_isMaximized>(callback);
1223 break;
1224 case 376:
1225 wrapper->m_isMinimizedCallback = reinterpret_cast<KDDockWidgetsBindings_wrappersNS::KDDWBindingsFlutter::DockWidget_wrapper::Callback_isMinimized>(callback);
1226 break;
1227 case 450:
1228 wrapper->m_isMountedCallback = reinterpret_cast<KDDockWidgetsBindings_wrappersNS::KDDWBindingsFlutter::DockWidget_wrapper::Callback_isMounted>(callback);
1229 break;
1230 case 377:
1231 wrapper->m_isNullCallback = reinterpret_cast<KDDockWidgetsBindings_wrappersNS::KDDWBindingsFlutter::DockWidget_wrapper::Callback_isNull>(callback);
1232 break;
1233 case 378:
1234 wrapper->m_isRootViewCallback = reinterpret_cast<KDDockWidgetsBindings_wrappersNS::KDDWBindingsFlutter::DockWidget_wrapper::Callback_isRootView>(callback);
1235 break;
1236 case 379:
1237 wrapper->m_isVisibleCallback = reinterpret_cast<KDDockWidgetsBindings_wrappersNS::KDDWBindingsFlutter::DockWidget_wrapper::Callback_isVisible>(callback);
1238 break;
1239 case 380:
1240 wrapper->m_mapFromGlobalCallback = reinterpret_cast<KDDockWidgetsBindings_wrappersNS::KDDWBindingsFlutter::DockWidget_wrapper::Callback_mapFromGlobal>(callback);
1241 break;
1242 case 381:
1243 wrapper->m_mapToCallback = reinterpret_cast<KDDockWidgetsBindings_wrappersNS::KDDWBindingsFlutter::DockWidget_wrapper::Callback_mapTo>(callback);
1244 break;
1245 case 382:
1246 wrapper->m_mapToGlobalCallback = reinterpret_cast<KDDockWidgetsBindings_wrappersNS::KDDWBindingsFlutter::DockWidget_wrapper::Callback_mapToGlobal>(callback);
1247 break;
1248 case 383:
1249 wrapper->m_maxSizeHintCallback = reinterpret_cast<KDDockWidgetsBindings_wrappersNS::KDDWBindingsFlutter::DockWidget_wrapper::Callback_maxSizeHint>(callback);
1250 break;
1251 case 384:
1252 wrapper->m_minSizeCallback = reinterpret_cast<KDDockWidgetsBindings_wrappersNS::KDDWBindingsFlutter::DockWidget_wrapper::Callback_minSize>(callback);
1253 break;
1254 case 388:
1255 wrapper->m_move_2Callback = reinterpret_cast<KDDockWidgetsBindings_wrappersNS::KDDWBindingsFlutter::DockWidget_wrapper::Callback_move_2>(callback);
1256 break;
1257 case 389:
1258 wrapper->m_normalGeometryCallback = reinterpret_cast<KDDockWidgetsBindings_wrappersNS::KDDWBindingsFlutter::DockWidget_wrapper::Callback_normalGeometry>(callback);
1259 break;
1260 case 453:
1261 wrapper->m_onChildAddedCallback = reinterpret_cast<KDDockWidgetsBindings_wrappersNS::KDDWBindingsFlutter::DockWidget_wrapper::Callback_onChildAdded>(callback);
1262 break;
1263 case 454:
1264 wrapper->m_onChildRemovedCallback = reinterpret_cast<KDDockWidgetsBindings_wrappersNS::KDDWBindingsFlutter::DockWidget_wrapper::Callback_onChildRemoved>(callback);
1265 break;
1266 case 455:
1267 wrapper->m_onChildVisibilityChangedCallback = reinterpret_cast<KDDockWidgetsBindings_wrappersNS::KDDWBindingsFlutter::DockWidget_wrapper::Callback_onChildVisibilityChanged>(callback);
1268 break;
1269 case 457:
1270 wrapper->m_onGeometryChangedCallback = reinterpret_cast<KDDockWidgetsBindings_wrappersNS::KDDWBindingsFlutter::DockWidget_wrapper::Callback_onGeometryChanged>(callback);
1271 break;
1272 case 459:
1273 wrapper->m_onRebuildRequestedCallback = reinterpret_cast<KDDockWidgetsBindings_wrappersNS::KDDWBindingsFlutter::DockWidget_wrapper::Callback_onRebuildRequested>(callback);
1274 break;
1275 case 391:
1276 wrapper->m_onResize_2Callback = reinterpret_cast<KDDockWidgetsBindings_wrappersNS::KDDWBindingsFlutter::DockWidget_wrapper::Callback_onResize_2>(callback);
1277 break;
1278 case 393:
1279 wrapper->m_raiseCallback = reinterpret_cast<KDDockWidgetsBindings_wrappersNS::KDDWBindingsFlutter::DockWidget_wrapper::Callback_raise>(callback);
1280 break;
1281 case 394:
1282 wrapper->m_raiseAndActivateCallback = reinterpret_cast<KDDockWidgetsBindings_wrappersNS::KDDWBindingsFlutter::DockWidget_wrapper::Callback_raiseAndActivate>(callback);
1283 break;
1284 case 462:
1285 wrapper->m_raiseChildCallback = reinterpret_cast<KDDockWidgetsBindings_wrappersNS::KDDWBindingsFlutter::DockWidget_wrapper::Callback_raiseChild>(callback);
1286 break;
1287 case 463:
1288 wrapper->m_raiseWindowCallback = reinterpret_cast<KDDockWidgetsBindings_wrappersNS::KDDWBindingsFlutter::DockWidget_wrapper::Callback_raiseWindow>(callback);
1289 break;
1290 case 396:
1291 wrapper->m_releaseKeyboardCallback = reinterpret_cast<KDDockWidgetsBindings_wrappersNS::KDDWBindingsFlutter::DockWidget_wrapper::Callback_releaseKeyboard>(callback);
1292 break;
1293 case 397:
1294 wrapper->m_releaseMouseCallback = reinterpret_cast<KDDockWidgetsBindings_wrappersNS::KDDWBindingsFlutter::DockWidget_wrapper::Callback_releaseMouse>(callback);
1295 break;
1296 case 401:
1297 wrapper->m_setCursorCallback = reinterpret_cast<KDDockWidgetsBindings_wrappersNS::KDDWBindingsFlutter::DockWidget_wrapper::Callback_setCursor>(callback);
1298 break;
1299 case 402:
1300 wrapper->m_setFixedHeightCallback = reinterpret_cast<KDDockWidgetsBindings_wrappersNS::KDDWBindingsFlutter::DockWidget_wrapper::Callback_setFixedHeight>(callback);
1301 break;
1302 case 403:
1303 wrapper->m_setFixedWidthCallback = reinterpret_cast<KDDockWidgetsBindings_wrappersNS::KDDWBindingsFlutter::DockWidget_wrapper::Callback_setFixedWidth>(callback);
1304 break;
1305 case 404:
1306 wrapper->m_setGeometryCallback = reinterpret_cast<KDDockWidgetsBindings_wrappersNS::KDDWBindingsFlutter::DockWidget_wrapper::Callback_setGeometry>(callback);
1307 break;
1308 case 405:
1309 wrapper->m_setHeightCallback = reinterpret_cast<KDDockWidgetsBindings_wrappersNS::KDDWBindingsFlutter::DockWidget_wrapper::Callback_setHeight>(callback);
1310 break;
1311 case 406:
1312 wrapper->m_setMaximumSizeCallback = reinterpret_cast<KDDockWidgetsBindings_wrappersNS::KDDWBindingsFlutter::DockWidget_wrapper::Callback_setMaximumSize>(callback);
1313 break;
1314 case 407:
1315 wrapper->m_setMinimumSizeCallback = reinterpret_cast<KDDockWidgetsBindings_wrappersNS::KDDWBindingsFlutter::DockWidget_wrapper::Callback_setMinimumSize>(callback);
1316 break;
1317 case 408:
1318 wrapper->m_setMouseTrackingCallback = reinterpret_cast<KDDockWidgetsBindings_wrappersNS::KDDWBindingsFlutter::DockWidget_wrapper::Callback_setMouseTracking>(callback);
1319 break;
1320 case 409:
1321 wrapper->m_setParentCallback = reinterpret_cast<KDDockWidgetsBindings_wrappersNS::KDDWBindingsFlutter::DockWidget_wrapper::Callback_setParent>(callback);
1322 break;
1323 case 411:
1324 wrapper->m_setSize_2Callback = reinterpret_cast<KDDockWidgetsBindings_wrappersNS::KDDWBindingsFlutter::DockWidget_wrapper::Callback_setSize_2>(callback);
1325 break;
1326 case 412:
1327 wrapper->m_setViewNameCallback = reinterpret_cast<KDDockWidgetsBindings_wrappersNS::KDDWBindingsFlutter::DockWidget_wrapper::Callback_setViewName>(callback);
1328 break;
1329 case 413:
1330 wrapper->m_setVisibleCallback = reinterpret_cast<KDDockWidgetsBindings_wrappersNS::KDDWBindingsFlutter::DockWidget_wrapper::Callback_setVisible>(callback);
1331 break;
1332 case 414:
1333 wrapper->m_setWidthCallback = reinterpret_cast<KDDockWidgetsBindings_wrappersNS::KDDWBindingsFlutter::DockWidget_wrapper::Callback_setWidth>(callback);
1334 break;
1335 case 415:
1336 wrapper->m_setWindowOpacityCallback = reinterpret_cast<KDDockWidgetsBindings_wrappersNS::KDDWBindingsFlutter::DockWidget_wrapper::Callback_setWindowOpacity>(callback);
1337 break;
1338 case 416:
1339 wrapper->m_setWindowTitleCallback = reinterpret_cast<KDDockWidgetsBindings_wrappersNS::KDDWBindingsFlutter::DockWidget_wrapper::Callback_setWindowTitle>(callback);
1340 break;
1341 case 417:
1342 wrapper->m_setZOrderCallback = reinterpret_cast<KDDockWidgetsBindings_wrappersNS::KDDWBindingsFlutter::DockWidget_wrapper::Callback_setZOrder>(callback);
1343 break;
1344 case 418:
1345 wrapper->m_showCallback = reinterpret_cast<KDDockWidgetsBindings_wrappersNS::KDDWBindingsFlutter::DockWidget_wrapper::Callback_show>(callback);
1346 break;
1347 case 419:
1348 wrapper->m_showMaximizedCallback = reinterpret_cast<KDDockWidgetsBindings_wrappersNS::KDDWBindingsFlutter::DockWidget_wrapper::Callback_showMaximized>(callback);
1349 break;
1350 case 420:
1351 wrapper->m_showMinimizedCallback = reinterpret_cast<KDDockWidgetsBindings_wrappersNS::KDDWBindingsFlutter::DockWidget_wrapper::Callback_showMinimized>(callback);
1352 break;
1353 case 421:
1354 wrapper->m_showNormalCallback = reinterpret_cast<KDDockWidgetsBindings_wrappersNS::KDDWBindingsFlutter::DockWidget_wrapper::Callback_showNormal>(callback);
1355 break;
1356 case 423:
1357 wrapper->m_updateCallback = reinterpret_cast<KDDockWidgetsBindings_wrappersNS::KDDWBindingsFlutter::DockWidget_wrapper::Callback_update>(callback);
1358 break;
1359 case 424:
1360 wrapper->m_viewNameCallback = reinterpret_cast<KDDockWidgetsBindings_wrappersNS::KDDWBindingsFlutter::DockWidget_wrapper::Callback_viewName>(callback);
1361 break;
1362 case 428:
1363 wrapper->m_zOrderCallback = reinterpret_cast<KDDockWidgetsBindings_wrappersNS::KDDWBindingsFlutter::DockWidget_wrapper::Callback_zOrder>(callback);
1364 break;
1365 }
1366}
1367}
void c_KDDockWidgets__flutter__DockWidget__show(void *thisObj)
void c_KDDockWidgets__flutter__DockWidget__setWindowOpacity_double(void *thisObj, double v)
void c_KDDockWidgets__flutter__DockWidget__showNormal(void *thisObj)
void * c_KDDockWidgets__flutter__DockWidget__constructor_QString_DockWidgetOptions_LayoutSaverOptions(const char *uniqueName_, int options_, int layoutSaverOptions_)
void c_KDDockWidgets__flutter__DockWidget__setWindowTitle_QString(void *thisObj, const char *title_)
bool c_KDDockWidgets__flutter__DockWidget__isMounted(void *thisObj)
void c_KDDockWidgets__flutter__DockWidget__setCursor_CursorShape(void *thisObj, int shape)
void c_KDDockWidgets__flutter__DockWidget__setMaximumSize_Size(void *thisObj, void *sz_)
bool c_KDDockWidgets__flutter__DockWidget__close(void *thisObj)
void * c_KDDockWidgets__flutter__DockWidget__mapTo_View_Point(void *thisObj, void *parent_, void *pos_)
void c_KDDockWidgets__flutter__DockWidget__destructor(void *thisObj)
void c_KDDockWidgets__flutter__DockWidget__showMaximized(void *thisObj)
bool c_KDDockWidgets__flutter__DockWidget__isExplicitlyHidden(void *thisObj)
void c_KDDockWidgets__flutter__DockWidget__activateWindow(void *thisObj)
void c_KDDockWidgets__flutter__DockWidget__setGeometry_Rect(void *thisObj, void *geometry_)
bool c_KDDockWidgets__flutter__DockWidget__hasFocus(void *thisObj)
void c_KDDockWidgets__flutter__DockWidget__move_int_int(void *thisObj, int x, int y)
void c_KDDockWidgets__flutter__DockWidget__setParent_View(void *thisObj, void *parent_)
void c_KDDockWidgets__flutter__DockWidget__setVisible_bool(void *thisObj, bool visible)
void c_KDDockWidgets__flutter__DockWidget__onChildAdded_View(void *thisObj, void *childView_)
void c_KDDockWidgets__flutter__DockWidget__createPlatformWindow(void *thisObj)
void c_KDDockWidgets__flutter__DockWidget__raise(void *thisObj)
bool c_KDDockWidgets__flutter__DockWidget__isMaximized(void *thisObj)
bool c_KDDockWidgets__flutter__DockWidget__onResize_int_int(void *thisObj, int h, int w)
void c_KDDockWidgets__flutter__DockWidget__update(void *thisObj)
static KDDockWidgetsBindings_wrappersNS::KDDWBindingsFlutter::DockWidget_wrapper * fromWrapperPtr(void *ptr)
void c_KDDockWidgets__flutter__DockWidget__hide(void *thisObj)
void c_KDDockWidgets__flutter__DockWidget__onChildRemoved_View(void *thisObj, void *childView_)
void c_KDDockWidgets__flutter__DockWidget__releaseMouse(void *thisObj)
void c_KDDockWidgets__flutter__DockWidget__raiseChild_View(void *thisObj, void *childView_)
void c_KDDockWidgets__flutter__DockWidget__onGeometryChanged(void *thisObj)
bool c_KDDockWidgets__flutter__DockWidget__isNull(void *thisObj)
static KDDockWidgets::flutter::DockWidget * fromPtr(void *ptr)
bool c_KDDockWidgets__flutter__DockWidget__isActiveWindow(void *thisObj)
bool c_KDDockWidgets__flutter__DockWidget__isMinimized(void *thisObj)
void c_KDDockWidgets__flutter__DockWidget__setZOrder_int(void *thisObj, int z)
void c_KDDockWidgets__flutter__DockWidget__showMinimized(void *thisObj)
void c_KDDockWidgets__flutter__DockWidget__releaseKeyboard(void *thisObj)
void c_KDDockWidgets__flutter__DockWidget__onChildVisibilityChanged_View(void *thisObj, void *childView_)
void * c_KDDockWidgets__flutter__DockWidget__minSize(void *thisObj)
void c_KDDockWidgets__flutter__DockWidget__onRebuildRequested(void *thisObj)
void * c_KDDockWidgets__flutter__DockWidget__dockWidget(void *thisObj)
void * c_KDDockWidgets__flutter__DockWidget__normalGeometry(void *thisObj)
int c_KDDockWidgets__flutter__DockWidget__zOrder(void *thisObj)
void c_KDDockWidgets__flutter__DockWidget__raiseWindow_View(void *thisObj, void *rootView_)
void * c_KDDockWidgets__flutter__DockWidget__mapToGlobal_Point(void *thisObj, void *localPt_)
void c_KDDockWidgets__flutter__DockWidget__setHeight_int(void *thisObj, int h)
void c_KDDockWidgets__flutter__DockWidget__registerVirtualMethodCallback(void *ptr, void *callback, int methodId)
void c_KDDockWidgets__flutter__DockWidget__init(void *thisObj)
void c_KDDockWidgets__flutter__DockWidget_Finalizer(void *cppObj)
bool c_KDDockWidgets__flutter__DockWidget__isVisible(void *thisObj)
void c_KDDockWidgets__flutter__DockWidget__raiseAndActivate(void *thisObj)
void c_KDDockWidgets__flutter__DockWidget__setViewName_QString(void *thisObj, const char *name_)
void * c_KDDockWidgets__flutter__DockWidget__geometry(void *thisObj)
void c_KDDockWidgets__flutter__DockWidget__grabMouse(void *thisObj)
void c_KDDockWidgets__flutter__DockWidget__setMouseTracking_bool(void *thisObj, bool enable)
void * c_KDDockWidgets__flutter__DockWidget__mapFromGlobal_Point(void *thisObj, void *globalPt_)
void c_KDDockWidgets__flutter__DockWidget__setMinimumSize_Size(void *thisObj, void *sz_)
int c_KDDockWidgets__flutter__DockWidget__flags(void *thisObj)
void c_KDDockWidgets__flutter__DockWidget__setSize_int_int(void *thisObj, int w, int h)
bool c_KDDockWidgets__flutter__DockWidget__isRootView(void *thisObj)
void c_KDDockWidgets__flutter__DockWidget__setWidth_int(void *thisObj, int w)
void c_KDDockWidgets__flutter__DockWidget__setFixedHeight_int(void *thisObj, int h)
void * c_KDDockWidgets__flutter__DockWidget__maxSizeHint(void *thisObj)
void * c_KDDockWidgets__flutter__DockWidget__viewName(void *thisObj)
void c_KDDockWidgets__flutter__DockWidget__setFixedWidth_int(void *thisObj, int w)
virtual KDDockWidgets::Point mapToGlobal_nocallback(KDDockWidgets::Point localPt) const
virtual KDDockWidgets::Size maxSizeHint() const
Reimplemented for internal purposes. .
virtual void setViewName(const QString &name)
Equivalent to Qt's QObject::objectName()
KDDockWidgets::Point *(* Callback_mapToGlobal)(void *, KDDockWidgets::Point *localPt)
virtual KDDockWidgets::Size minSize() const
Reimplemented for internal purposes. .
virtual bool isNull() const
Returns whether the gui item represented by this view was already deleted Usually false,...
virtual KDDockWidgets::Point mapTo(KDDockWidgets::Core::View *parent, KDDockWidgets::Point pos) const
virtual KDDockWidgets::Point mapFromGlobal(KDDockWidgets::Point globalPt) const
virtual KDDockWidgets::Point mapFromGlobal_nocallback(KDDockWidgets::Point globalPt) const
virtual KDDockWidgets::Point mapToGlobal(KDDockWidgets::Point localPt) const
KDDockWidgets::Point *(* Callback_mapTo)(void *, KDDockWidgets::Core::View *parent, KDDockWidgets::Point *pos)
DockWidget_wrapper(const QString &uniqueName, QFlags< KDDockWidgets::DockWidgetOption > options={}, QFlags< KDDockWidgets::LayoutSaverOption > layoutSaverOptions={})
virtual void setZOrder(int z)
Sets the z order Not supported on all platforms and only relevant for MDI mode.
virtual KDDockWidgets::Point mapTo_nocallback(KDDockWidgets::Core::View *parent, KDDockWidgets::Point pos) const
void(* Callback_onChildVisibilityChanged)(void *, KDDockWidgets::Core::View *childView)
KDDockWidgets::Point *(* Callback_mapFromGlobal)(void *, KDDockWidgets::Point *globalPt)
The DockWidget base-class. DockWidget and Core::DockWidget are only split in two so we can share some...
virtual void update()=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 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
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