KDDockWidgets API Documentation 2.1
Loading...
Searching...
No Matches
KDDWBindingsFlutter/MainWindow_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 "MainWindow_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::MainWindow(uniqueName, options, parent, flags)
35{
36}
38{
40 const void *thisPtr = this;
41 m_activateWindowCallback(const_cast<void *>(thisPtr));
42 } else {
44 }
45}
50KDDockWidgets::Margins MainWindow_wrapper::centerWidgetMargins() const
51{
53 const void *thisPtr = this;
54 return *m_centerWidgetMarginsCallback(const_cast<void *>(thisPtr));
55 } else {
56 return ::KDDockWidgets::flutter::MainWindow::centerWidgetMargins();
57 }
58}
60{
61 return ::KDDockWidgets::flutter::MainWindow::centerWidgetMargins();
62}
63KDDockWidgets::Rect MainWindow_wrapper::centralAreaGeometry() const
64{
66 const void *thisPtr = this;
67 return *m_centralAreaGeometryCallback(const_cast<void *>(thisPtr));
68 } else {
69 return ::KDDockWidgets::flutter::MainWindow::centralAreaGeometry();
70 }
71}
73{
74 return ::KDDockWidgets::flutter::MainWindow::centralAreaGeometry();
75}
77{
78 if (m_closeCallback) {
79 const void *thisPtr = this;
80 return m_closeCallback(const_cast<void *>(thisPtr));
81 } else {
82 return ::KDDockWidgets::flutter::MainWindow::close();
83 }
84}
86{
87 return ::KDDockWidgets::flutter::MainWindow::close();
88}
90{
92 const void *thisPtr = this;
93 m_createPlatformWindowCallback(const_cast<void *>(thisPtr));
94 } else {
96 }
97}
103{
104 if (m_flagsCallback) {
105 const void *thisPtr = this;
106 return m_flagsCallback(const_cast<void *>(thisPtr));
107 } else {
108 return ::KDDockWidgets::flutter::MainWindow::flags();
109 }
110}
112{
113 return ::KDDockWidgets::flutter::MainWindow::flags();
114}
115KDDockWidgets::Rect MainWindow_wrapper::geometry() const
116{
117 if (m_geometryCallback) {
118 const void *thisPtr = this;
119 return *m_geometryCallback(const_cast<void *>(thisPtr));
120 } else {
121 return ::KDDockWidgets::flutter::MainWindow::geometry();
122 }
123}
125{
126 return ::KDDockWidgets::flutter::MainWindow::geometry();
127}
129{
131 const void *thisPtr = this;
132 m_grabMouseCallback(const_cast<void *>(thisPtr));
133 } else {
135 }
136}
142{
143 if (m_hasFocusCallback) {
144 const void *thisPtr = this;
145 return m_hasFocusCallback(const_cast<void *>(thisPtr));
146 } else {
147 return ::KDDockWidgets::flutter::MainWindow::hasFocus();
148 }
149}
151{
152 return ::KDDockWidgets::flutter::MainWindow::hasFocus();
153}
155{
156 if (m_hideCallback) {
157 const void *thisPtr = this;
158 m_hideCallback(const_cast<void *>(thisPtr));
159 } else {
161 }
162}
168{
169 if (m_initCallback) {
170 const void *thisPtr = this;
171 m_initCallback(const_cast<void *>(thisPtr));
172 } else {
174 }
175}
181{
183 const void *thisPtr = this;
184 return m_isActiveWindowCallback(const_cast<void *>(thisPtr));
185 } else {
186 return ::KDDockWidgets::flutter::MainWindow::isActiveWindow();
187 }
188}
190{
191 return ::KDDockWidgets::flutter::MainWindow::isActiveWindow();
192}
194{
196 const void *thisPtr = this;
197 return m_isExplicitlyHiddenCallback(const_cast<void *>(thisPtr));
198 } else {
199 return ::KDDockWidgets::flutter::MainWindow::isExplicitlyHidden();
200 }
201}
203{
204 return ::KDDockWidgets::flutter::MainWindow::isExplicitlyHidden();
205}
207{
209 const void *thisPtr = this;
210 return m_isMaximizedCallback(const_cast<void *>(thisPtr));
211 } else {
212 return ::KDDockWidgets::flutter::MainWindow::isMaximized();
213 }
214}
216{
217 return ::KDDockWidgets::flutter::MainWindow::isMaximized();
218}
220{
222 const void *thisPtr = this;
223 return m_isMinimizedCallback(const_cast<void *>(thisPtr));
224 } else {
225 return ::KDDockWidgets::flutter::MainWindow::isMinimized();
226 }
227}
229{
230 return ::KDDockWidgets::flutter::MainWindow::isMinimized();
231}
233{
235 const void *thisPtr = this;
236 return m_isMountedCallback(const_cast<void *>(thisPtr));
237 } else {
238 return ::KDDockWidgets::flutter::MainWindow::isMounted();
239 }
240}
242{
243 return ::KDDockWidgets::flutter::MainWindow::isMounted();
244}
246{
247 if (m_isNullCallback) {
248 const void *thisPtr = this;
249 return m_isNullCallback(const_cast<void *>(thisPtr));
250 } else {
251 return ::KDDockWidgets::flutter::MainWindow::isNull();
252 }
253}
255{
256 return ::KDDockWidgets::flutter::MainWindow::isNull();
257}
259{
261 const void *thisPtr = this;
262 return m_isRootViewCallback(const_cast<void *>(thisPtr));
263 } else {
264 return ::KDDockWidgets::flutter::MainWindow::isRootView();
265 }
266}
268{
269 return ::KDDockWidgets::flutter::MainWindow::isRootView();
270}
272{
274 const void *thisPtr = this;
275 return m_isVisibleCallback(const_cast<void *>(thisPtr));
276 } else {
277 return ::KDDockWidgets::flutter::MainWindow::isVisible();
278 }
279}
281{
282 return ::KDDockWidgets::flutter::MainWindow::isVisible();
283}
284KDDockWidgets::Point MainWindow_wrapper::mapFromGlobal(KDDockWidgets::Point globalPt) const
285{
287 const void *thisPtr = this;
288 return *m_mapFromGlobalCallback(const_cast<void *>(thisPtr), &globalPt);
289 } else {
290 return ::KDDockWidgets::flutter::MainWindow::mapFromGlobal(globalPt);
291 }
292}
293KDDockWidgets::Point MainWindow_wrapper::mapFromGlobal_nocallback(KDDockWidgets::Point globalPt) const
294{
295 return ::KDDockWidgets::flutter::MainWindow::mapFromGlobal(globalPt);
296}
297KDDockWidgets::Point MainWindow_wrapper::mapTo(KDDockWidgets::Core::View *parent, KDDockWidgets::Point pos) const
298{
299 if (m_mapToCallback) {
300 const void *thisPtr = this;
301 return *m_mapToCallback(const_cast<void *>(thisPtr), parent, &pos);
302 } else {
303 return ::KDDockWidgets::flutter::MainWindow::mapTo(parent, pos);
304 }
305}
306KDDockWidgets::Point MainWindow_wrapper::mapTo_nocallback(KDDockWidgets::Core::View *parent, KDDockWidgets::Point pos) const
307{
308 return ::KDDockWidgets::flutter::MainWindow::mapTo(parent, pos);
309}
310KDDockWidgets::Point MainWindow_wrapper::mapToGlobal(KDDockWidgets::Point localPt) const
311{
313 const void *thisPtr = this;
314 return *m_mapToGlobalCallback(const_cast<void *>(thisPtr), &localPt);
315 } else {
316 return ::KDDockWidgets::flutter::MainWindow::mapToGlobal(localPt);
317 }
318}
319KDDockWidgets::Point MainWindow_wrapper::mapToGlobal_nocallback(KDDockWidgets::Point localPt) const
320{
321 return ::KDDockWidgets::flutter::MainWindow::mapToGlobal(localPt);
322}
323KDDockWidgets::Size MainWindow_wrapper::maxSizeHint() const
324{
326 const void *thisPtr = this;
327 return *m_maxSizeHintCallback(const_cast<void *>(thisPtr));
328 } else {
329 return ::KDDockWidgets::flutter::MainWindow::maxSizeHint();
330 }
331}
333{
334 return ::KDDockWidgets::flutter::MainWindow::maxSizeHint();
335}
336KDDockWidgets::Size MainWindow_wrapper::minSize() const
337{
338 if (m_minSizeCallback) {
339 const void *thisPtr = this;
340 return *m_minSizeCallback(const_cast<void *>(thisPtr));
341 } else {
342 return ::KDDockWidgets::flutter::MainWindow::minSize();
343 }
344}
345KDDockWidgets::Size MainWindow_wrapper::minSize_nocallback() const
346{
347 return ::KDDockWidgets::flutter::MainWindow::minSize();
348}
349void MainWindow_wrapper::move(int x, int y)
350{
351 if (m_move_2Callback) {
352 const void *thisPtr = this;
353 m_move_2Callback(const_cast<void *>(thisPtr), x, y);
354 } else {
356 }
357}
362KDDockWidgets::Rect MainWindow_wrapper::normalGeometry() const
363{
365 const void *thisPtr = this;
366 return *m_normalGeometryCallback(const_cast<void *>(thisPtr));
367 } else {
368 return ::KDDockWidgets::flutter::MainWindow::normalGeometry();
369 }
370}
372{
373 return ::KDDockWidgets::flutter::MainWindow::normalGeometry();
374}
376{
378 const void *thisPtr = this;
379 m_onChildAddedCallback(const_cast<void *>(thisPtr), childView);
380 } else {
382 }
383}
389{
391 const void *thisPtr = this;
392 m_onChildRemovedCallback(const_cast<void *>(thisPtr), childView);
393 } else {
395 }
396}
402{
404 const void *thisPtr = this;
405 m_onChildVisibilityChangedCallback(const_cast<void *>(thisPtr), childView);
406 } else {
408 }
409}
415{
417 const void *thisPtr = this;
418 m_onGeometryChangedCallback(const_cast<void *>(thisPtr));
419 } else {
421 }
422}
428{
430 const void *thisPtr = this;
431 m_onRebuildRequestedCallback(const_cast<void *>(thisPtr));
432 } else {
434 }
435}
441{
443 const void *thisPtr = this;
444 return m_onResize_2Callback(const_cast<void *>(thisPtr), h, w);
445 } else {
446 return ::KDDockWidgets::flutter::MainWindow::onResize(h, w);
447 }
448}
450{
451 return ::KDDockWidgets::flutter::MainWindow::onResize(h, w);
452}
454{
455 if (m_raiseCallback) {
456 const void *thisPtr = this;
457 m_raiseCallback(const_cast<void *>(thisPtr));
458 } else {
460 }
461}
467{
469 const void *thisPtr = this;
470 m_raiseAndActivateCallback(const_cast<void *>(thisPtr));
471 } else {
473 }
474}
480{
482 const void *thisPtr = this;
483 m_raiseChildCallback(const_cast<void *>(thisPtr), childView);
484 } else {
486 }
487}
493{
495 const void *thisPtr = this;
496 m_raiseWindowCallback(const_cast<void *>(thisPtr), rootView);
497 } else {
499 }
500}
506{
508 const void *thisPtr = this;
509 m_releaseKeyboardCallback(const_cast<void *>(thisPtr));
510 } else {
512 }
513}
519{
521 const void *thisPtr = this;
522 m_releaseMouseCallback(const_cast<void *>(thisPtr));
523 } else {
525 }
526}
531void MainWindow_wrapper::setContentsMargins(int left, int top, int right, int bottom)
532{
534 const void *thisPtr = this;
535 m_setContentsMarginsCallback(const_cast<void *>(thisPtr), left, top, right, bottom);
536 } else {
538 }
539}
540void MainWindow_wrapper::setContentsMargins_nocallback(int left, int top, int right, int bottom)
541{
543}
545{
547 const void *thisPtr = this;
548 m_setCursorCallback(const_cast<void *>(thisPtr), shape);
549 } else {
551 }
552}
558{
560 const void *thisPtr = this;
561 m_setFixedHeightCallback(const_cast<void *>(thisPtr), h);
562 } else {
564 }
565}
571{
573 const void *thisPtr = this;
574 m_setFixedWidthCallback(const_cast<void *>(thisPtr), w);
575 } else {
577 }
578}
583void MainWindow_wrapper::setGeometry(KDDockWidgets::Rect geometry)
584{
586 const void *thisPtr = this;
587 m_setGeometryCallback(const_cast<void *>(thisPtr), &geometry);
588 } else {
590 }
591}
597{
599 const void *thisPtr = this;
600 m_setHeightCallback(const_cast<void *>(thisPtr), h);
601 } else {
603 }
604}
609void MainWindow_wrapper::setMaximumSize(KDDockWidgets::Size sz)
610{
612 const void *thisPtr = this;
613 m_setMaximumSizeCallback(const_cast<void *>(thisPtr), &sz);
614 } else {
616 }
617}
622void MainWindow_wrapper::setMinimumSize(KDDockWidgets::Size sz)
623{
625 const void *thisPtr = this;
626 m_setMinimumSizeCallback(const_cast<void *>(thisPtr), &sz);
627 } else {
629 }
630}
636{
638 const void *thisPtr = this;
639 m_setMouseTrackingCallback(const_cast<void *>(thisPtr), enable);
640 } else {
642 }
643}
649{
651 const void *thisPtr = this;
652 m_setParentCallback(const_cast<void *>(thisPtr), parent);
653 } else {
655 }
656}
662{
664 const void *thisPtr = this;
665 m_setSize_2Callback(const_cast<void *>(thisPtr), w, h);
666 } else {
668 }
669}
675{
677 const void *thisPtr = this;
678 m_setViewNameCallback(const_cast<void *>(thisPtr), name);
679 } else {
681 }
682}
688{
690 const void *thisPtr = this;
691 m_setVisibleCallback(const_cast<void *>(thisPtr), visible);
692 } else {
694 }
695}
701{
702 if (m_setWidthCallback) {
703 const void *thisPtr = this;
704 m_setWidthCallback(const_cast<void *>(thisPtr), w);
705 } else {
707 }
708}
714{
716 const void *thisPtr = this;
717 m_setWindowOpacityCallback(const_cast<void *>(thisPtr), v);
718 } else {
720 }
721}
727{
729 const void *thisPtr = this;
730 m_setWindowTitleCallback(const_cast<void *>(thisPtr), title);
731 } else {
733 }
734}
740{
742 const void *thisPtr = this;
743 m_setZOrderCallback(const_cast<void *>(thisPtr), z);
744 } else {
746 }
747}
753{
754 if (m_showCallback) {
755 const void *thisPtr = this;
756 m_showCallback(const_cast<void *>(thisPtr));
757 } else {
759 }
760}
766{
768 const void *thisPtr = this;
769 m_showMaximizedCallback(const_cast<void *>(thisPtr));
770 } else {
772 }
773}
779{
781 const void *thisPtr = this;
782 m_showMinimizedCallback(const_cast<void *>(thisPtr));
783 } else {
785 }
786}
792{
794 const void *thisPtr = this;
795 m_showNormalCallback(const_cast<void *>(thisPtr));
796 } else {
798 }
799}
805{
806 if (m_updateCallback) {
807 const void *thisPtr = this;
808 m_updateCallback(const_cast<void *>(thisPtr));
809 } else {
811 }
812}
818{
819 if (m_viewNameCallback) {
820 const void *thisPtr = this;
821 return *m_viewNameCallback(const_cast<void *>(thisPtr));
822 } else {
823 return ::KDDockWidgets::flutter::MainWindow::viewName();
824 }
825}
827{
828 return ::KDDockWidgets::flutter::MainWindow::viewName();
829}
831{
832 if (m_zOrderCallback) {
833 const void *thisPtr = this;
834 return m_zOrderCallback(const_cast<void *>(thisPtr));
835 } else {
836 return ::KDDockWidgets::flutter::MainWindow::zOrder();
837 }
838}
840{
841 return ::KDDockWidgets::flutter::MainWindow::zOrder();
842}
846
847}
848}
850{
851 return reinterpret_cast<KDDockWidgets::flutter::MainWindow *>(ptr);
852}
857extern "C" {
862void *c_KDDockWidgets__flutter__MainWindow__constructor_QString_MainWindowOptions_View_WindowFlags(const char *uniqueName_, int options_, void *parent_, int flags)
863{
864 const auto uniqueName = QString::fromUtf8(uniqueName_);
865 auto options = static_cast<QFlags<KDDockWidgets::MainWindowOption>>(options_);
866 auto parent = reinterpret_cast<KDDockWidgets::flutter::View *>(parent_);
867 auto ptr = new KDDockWidgetsBindings_wrappersNS::KDDWBindingsFlutter::MainWindow_wrapper(uniqueName, options, parent, static_cast<Qt::WindowFlags>(flags));
868 return reinterpret_cast<void *>(ptr);
869}
870// activateWindow()
872{
873 [&] {auto targetPtr = fromPtr(thisObj);auto wrapperPtr = dynamic_cast<KDDockWidgetsBindings_wrappersNS::KDDWBindingsFlutter::MainWindow_wrapper*>(targetPtr);if (wrapperPtr) { return wrapperPtr->activateWindow_nocallback();} else { return targetPtr->activateWindow();} }();
874}
875// centerWidgetMargins() const
877{
878 const auto &result = new Dartagnan::ValueWrapper<KDDockWidgets::Margins> { fromWrapperPtr(thisObj)->centerWidgetMargins_nocallback() };
879 return result;
880}
881// centralAreaGeometry() const
883{
884 const auto &result = new Dartagnan::ValueWrapper<KDDockWidgets::Rect> { fromWrapperPtr(thisObj)->centralAreaGeometry_nocallback() };
885 return result;
886}
887// close()
889{
890 const auto &result = [&] {auto targetPtr = fromPtr(thisObj);auto wrapperPtr = dynamic_cast<KDDockWidgetsBindings_wrappersNS::KDDWBindingsFlutter::MainWindow_wrapper*>(targetPtr);if (wrapperPtr) { return wrapperPtr->close_nocallback();} else { return targetPtr->close();} }();
891 return result;
892}
893// createPlatformWindow()
895{
896 [&] {auto targetPtr = fromPtr(thisObj);auto wrapperPtr = dynamic_cast<KDDockWidgetsBindings_wrappersNS::KDDWBindingsFlutter::MainWindow_wrapper*>(targetPtr);if (wrapperPtr) { return wrapperPtr->createPlatformWindow_nocallback();} else { return targetPtr->createPlatformWindow();} }();
897}
898// flags() const
900{
901 const auto &result = [&] {auto targetPtr = fromPtr(thisObj);auto wrapperPtr = dynamic_cast<KDDockWidgetsBindings_wrappersNS::KDDWBindingsFlutter::MainWindow_wrapper*>(targetPtr);if (wrapperPtr) { return wrapperPtr->flags_nocallback();} else { return targetPtr->flags();} }();
902 return result;
903}
904// geometry() const
906{
907 const auto &result = new Dartagnan::ValueWrapper<KDDockWidgets::Rect> { [&] {auto targetPtr = fromPtr(thisObj);auto wrapperPtr = dynamic_cast<KDDockWidgetsBindings_wrappersNS::KDDWBindingsFlutter::MainWindow_wrapper*>(targetPtr);if (wrapperPtr) { return wrapperPtr->geometry_nocallback();} else { return targetPtr->geometry();} }() };
908 return result;
909}
910// grabMouse()
912{
913 [&] {auto targetPtr = fromPtr(thisObj);auto wrapperPtr = dynamic_cast<KDDockWidgetsBindings_wrappersNS::KDDWBindingsFlutter::MainWindow_wrapper*>(targetPtr);if (wrapperPtr) { return wrapperPtr->grabMouse_nocallback();} else { return targetPtr->grabMouse();} }();
914}
915// hasFocus() const
917{
918 const auto &result = [&] {auto targetPtr = fromPtr(thisObj);auto wrapperPtr = dynamic_cast<KDDockWidgetsBindings_wrappersNS::KDDWBindingsFlutter::MainWindow_wrapper*>(targetPtr);if (wrapperPtr) { return wrapperPtr->hasFocus_nocallback();} else { return targetPtr->hasFocus();} }();
919 return result;
920}
921// hide()
923{
924 [&] {auto targetPtr = fromPtr(thisObj);auto wrapperPtr = dynamic_cast<KDDockWidgetsBindings_wrappersNS::KDDWBindingsFlutter::MainWindow_wrapper*>(targetPtr);if (wrapperPtr) { return wrapperPtr->hide_nocallback();} else { return targetPtr->hide();} }();
925}
926// init()
928{
929 [&] {auto targetPtr = fromPtr(thisObj);auto wrapperPtr = dynamic_cast<KDDockWidgetsBindings_wrappersNS::KDDWBindingsFlutter::MainWindow_wrapper*>(targetPtr);if (wrapperPtr) { return wrapperPtr->init_nocallback();} else { return targetPtr->init();} }();
930}
931// isActiveWindow() const
933{
934 const auto &result = [&] {auto targetPtr = fromPtr(thisObj);auto wrapperPtr = dynamic_cast<KDDockWidgetsBindings_wrappersNS::KDDWBindingsFlutter::MainWindow_wrapper*>(targetPtr);if (wrapperPtr) { return wrapperPtr->isActiveWindow_nocallback();} else { return targetPtr->isActiveWindow();} }();
935 return result;
936}
937// isExplicitlyHidden() const
939{
940 const auto &result = [&] {auto targetPtr = fromPtr(thisObj);auto wrapperPtr = dynamic_cast<KDDockWidgetsBindings_wrappersNS::KDDWBindingsFlutter::MainWindow_wrapper*>(targetPtr);if (wrapperPtr) { return wrapperPtr->isExplicitlyHidden_nocallback();} else { return targetPtr->isExplicitlyHidden();} }();
941 return result;
942}
943// isMaximized() const
945{
946 const auto &result = [&] {auto targetPtr = fromPtr(thisObj);auto wrapperPtr = dynamic_cast<KDDockWidgetsBindings_wrappersNS::KDDWBindingsFlutter::MainWindow_wrapper*>(targetPtr);if (wrapperPtr) { return wrapperPtr->isMaximized_nocallback();} else { return targetPtr->isMaximized();} }();
947 return result;
948}
949// isMinimized() const
951{
952 const auto &result = [&] {auto targetPtr = fromPtr(thisObj);auto wrapperPtr = dynamic_cast<KDDockWidgetsBindings_wrappersNS::KDDWBindingsFlutter::MainWindow_wrapper*>(targetPtr);if (wrapperPtr) { return wrapperPtr->isMinimized_nocallback();} else { return targetPtr->isMinimized();} }();
953 return result;
954}
955// isMounted() const
957{
958 const auto &result = [&] {auto targetPtr = fromPtr(thisObj);auto wrapperPtr = dynamic_cast<KDDockWidgetsBindings_wrappersNS::KDDWBindingsFlutter::MainWindow_wrapper*>(targetPtr);if (wrapperPtr) { return wrapperPtr->isMounted_nocallback();} else { return targetPtr->isMounted();} }();
959 return result;
960}
961// isNull() const
963{
964 const auto &result = [&] {auto targetPtr = fromPtr(thisObj);auto wrapperPtr = dynamic_cast<KDDockWidgetsBindings_wrappersNS::KDDWBindingsFlutter::MainWindow_wrapper*>(targetPtr);if (wrapperPtr) { return wrapperPtr->isNull_nocallback();} else { return targetPtr->isNull();} }();
965 return result;
966}
967// isRootView() const
969{
970 const auto &result = [&] {auto targetPtr = fromPtr(thisObj);auto wrapperPtr = dynamic_cast<KDDockWidgetsBindings_wrappersNS::KDDWBindingsFlutter::MainWindow_wrapper*>(targetPtr);if (wrapperPtr) { return wrapperPtr->isRootView_nocallback();} else { return targetPtr->isRootView();} }();
971 return result;
972}
973// isVisible() const
975{
976 const auto &result = [&] {auto targetPtr = fromPtr(thisObj);auto wrapperPtr = dynamic_cast<KDDockWidgetsBindings_wrappersNS::KDDWBindingsFlutter::MainWindow_wrapper*>(targetPtr);if (wrapperPtr) { return wrapperPtr->isVisible_nocallback();} else { return targetPtr->isVisible();} }();
977 return result;
978}
979// mapFromGlobal(KDDockWidgets::Point globalPt) const
981{
982 assert(globalPt_);
983 auto &globalPt = *reinterpret_cast<KDDockWidgets::Point *>(globalPt_);
984 const auto &result = new Dartagnan::ValueWrapper<KDDockWidgets::Point> { [&] {auto targetPtr = fromPtr(thisObj);auto wrapperPtr = dynamic_cast<KDDockWidgetsBindings_wrappersNS::KDDWBindingsFlutter::MainWindow_wrapper*>(targetPtr);if (wrapperPtr) { return wrapperPtr->mapFromGlobal_nocallback(globalPt);} else { return targetPtr->mapFromGlobal(globalPt);} }() };
985 return result;
986}
987// mapTo(KDDockWidgets::Core::View * parent, KDDockWidgets::Point pos) const
988void *c_KDDockWidgets__flutter__MainWindow__mapTo_View_Point(void *thisObj, void *parent_, void *pos_)
989{
990 auto parent = reinterpret_cast<KDDockWidgets::Core::View *>(parent_);
991 assert(pos_);
992 auto &pos = *reinterpret_cast<KDDockWidgets::Point *>(pos_);
993 const auto &result = new Dartagnan::ValueWrapper<KDDockWidgets::Point> { [&] {auto targetPtr = fromPtr(thisObj);auto wrapperPtr = dynamic_cast<KDDockWidgetsBindings_wrappersNS::KDDWBindingsFlutter::MainWindow_wrapper*>(targetPtr);if (wrapperPtr) { return wrapperPtr->mapTo_nocallback(parent,pos);} else { return targetPtr->mapTo(parent,pos);} }() };
994 return result;
995}
996// mapToGlobal(KDDockWidgets::Point localPt) const
998{
999 assert(localPt_);
1000 auto &localPt = *reinterpret_cast<KDDockWidgets::Point *>(localPt_);
1001 const auto &result = new Dartagnan::ValueWrapper<KDDockWidgets::Point> { [&] {auto targetPtr = fromPtr(thisObj);auto wrapperPtr = dynamic_cast<KDDockWidgetsBindings_wrappersNS::KDDWBindingsFlutter::MainWindow_wrapper*>(targetPtr);if (wrapperPtr) { return wrapperPtr->mapToGlobal_nocallback(localPt);} else { return targetPtr->mapToGlobal(localPt);} }() };
1002 return result;
1003}
1004// maxSizeHint() const
1006{
1007 const auto &result = new Dartagnan::ValueWrapper<KDDockWidgets::Size> { [&] {auto targetPtr = fromPtr(thisObj);auto wrapperPtr = dynamic_cast<KDDockWidgetsBindings_wrappersNS::KDDWBindingsFlutter::MainWindow_wrapper*>(targetPtr);if (wrapperPtr) { return wrapperPtr->maxSizeHint_nocallback();} else { return targetPtr->maxSizeHint();} }() };
1008 return result;
1009}
1010// minSize() const
1012{
1013 const auto &result = new Dartagnan::ValueWrapper<KDDockWidgets::Size> { [&] {auto targetPtr = fromPtr(thisObj);auto wrapperPtr = dynamic_cast<KDDockWidgetsBindings_wrappersNS::KDDWBindingsFlutter::MainWindow_wrapper*>(targetPtr);if (wrapperPtr) { return wrapperPtr->minSize_nocallback();} else { return targetPtr->minSize();} }() };
1014 return result;
1015}
1016// move(int x, int y)
1018{
1019 [&] {auto targetPtr = fromPtr(thisObj);auto wrapperPtr = dynamic_cast<KDDockWidgetsBindings_wrappersNS::KDDWBindingsFlutter::MainWindow_wrapper*>(targetPtr);if (wrapperPtr) { return wrapperPtr->move_nocallback(x,y);} else { return targetPtr->move(x,y);} }();
1020}
1021// normalGeometry() const
1023{
1024 const auto &result = new Dartagnan::ValueWrapper<KDDockWidgets::Rect> { [&] {auto targetPtr = fromPtr(thisObj);auto wrapperPtr = dynamic_cast<KDDockWidgetsBindings_wrappersNS::KDDWBindingsFlutter::MainWindow_wrapper*>(targetPtr);if (wrapperPtr) { return wrapperPtr->normalGeometry_nocallback();} else { return targetPtr->normalGeometry();} }() };
1025 return result;
1026}
1027// onChildAdded(KDDockWidgets::Core::View * childView)
1029{
1030 auto childView = reinterpret_cast<KDDockWidgets::Core::View *>(childView_);
1031 [&] {auto targetPtr = fromPtr(thisObj);auto wrapperPtr = dynamic_cast<KDDockWidgetsBindings_wrappersNS::KDDWBindingsFlutter::MainWindow_wrapper*>(targetPtr);if (wrapperPtr) { return wrapperPtr->onChildAdded_nocallback(childView);} else { return targetPtr->onChildAdded(childView);} }();
1032}
1033// onChildRemoved(KDDockWidgets::Core::View * childView)
1035{
1036 auto childView = reinterpret_cast<KDDockWidgets::Core::View *>(childView_);
1037 [&] {auto targetPtr = fromPtr(thisObj);auto wrapperPtr = dynamic_cast<KDDockWidgetsBindings_wrappersNS::KDDWBindingsFlutter::MainWindow_wrapper*>(targetPtr);if (wrapperPtr) { return wrapperPtr->onChildRemoved_nocallback(childView);} else { return targetPtr->onChildRemoved(childView);} }();
1038}
1039// onChildVisibilityChanged(KDDockWidgets::Core::View * childView)
1041{
1042 auto childView = reinterpret_cast<KDDockWidgets::Core::View *>(childView_);
1043 [&] {auto targetPtr = fromPtr(thisObj);auto wrapperPtr = dynamic_cast<KDDockWidgetsBindings_wrappersNS::KDDWBindingsFlutter::MainWindow_wrapper*>(targetPtr);if (wrapperPtr) { return wrapperPtr->onChildVisibilityChanged_nocallback(childView);} else { return targetPtr->onChildVisibilityChanged(childView);} }();
1044}
1045// onGeometryChanged()
1047{
1048 [&] {auto targetPtr = fromPtr(thisObj);auto wrapperPtr = dynamic_cast<KDDockWidgetsBindings_wrappersNS::KDDWBindingsFlutter::MainWindow_wrapper*>(targetPtr);if (wrapperPtr) { return wrapperPtr->onGeometryChanged_nocallback();} else { return targetPtr->onGeometryChanged();} }();
1049}
1050// onRebuildRequested()
1052{
1053 [&] {auto targetPtr = fromPtr(thisObj);auto wrapperPtr = dynamic_cast<KDDockWidgetsBindings_wrappersNS::KDDWBindingsFlutter::MainWindow_wrapper*>(targetPtr);if (wrapperPtr) { return wrapperPtr->onRebuildRequested_nocallback();} else { return targetPtr->onRebuildRequested();} }();
1054}
1055// onResize(int h, int w)
1057{
1058 const auto &result = [&] {auto targetPtr = fromPtr(thisObj);auto wrapperPtr = dynamic_cast<KDDockWidgetsBindings_wrappersNS::KDDWBindingsFlutter::MainWindow_wrapper*>(targetPtr);if (wrapperPtr) { return wrapperPtr->onResize_nocallback(h,w);} else { return targetPtr->onResize(h,w);} }();
1059 return result;
1060}
1061// raise()
1063{
1064 [&] {auto targetPtr = fromPtr(thisObj);auto wrapperPtr = dynamic_cast<KDDockWidgetsBindings_wrappersNS::KDDWBindingsFlutter::MainWindow_wrapper*>(targetPtr);if (wrapperPtr) { return wrapperPtr->raise_nocallback();} else { return targetPtr->raise();} }();
1065}
1066// raiseAndActivate()
1068{
1069 [&] {auto targetPtr = fromPtr(thisObj);auto wrapperPtr = dynamic_cast<KDDockWidgetsBindings_wrappersNS::KDDWBindingsFlutter::MainWindow_wrapper*>(targetPtr);if (wrapperPtr) { return wrapperPtr->raiseAndActivate_nocallback();} else { return targetPtr->raiseAndActivate();} }();
1070}
1071// raiseChild(KDDockWidgets::Core::View * childView)
1073{
1074 auto childView = reinterpret_cast<KDDockWidgets::Core::View *>(childView_);
1075 [&] {auto targetPtr = fromPtr(thisObj);auto wrapperPtr = dynamic_cast<KDDockWidgetsBindings_wrappersNS::KDDWBindingsFlutter::MainWindow_wrapper*>(targetPtr);if (wrapperPtr) { return wrapperPtr->raiseChild_nocallback(childView);} else { return targetPtr->raiseChild(childView);} }();
1076}
1077// raiseWindow(KDDockWidgets::Core::View * rootView)
1079{
1080 auto rootView = reinterpret_cast<KDDockWidgets::Core::View *>(rootView_);
1081 [&] {auto targetPtr = fromPtr(thisObj);auto wrapperPtr = dynamic_cast<KDDockWidgetsBindings_wrappersNS::KDDWBindingsFlutter::MainWindow_wrapper*>(targetPtr);if (wrapperPtr) { return wrapperPtr->raiseWindow_nocallback(rootView);} else { return targetPtr->raiseWindow(rootView);} }();
1082}
1083// releaseKeyboard()
1085{
1086 [&] {auto targetPtr = fromPtr(thisObj);auto wrapperPtr = dynamic_cast<KDDockWidgetsBindings_wrappersNS::KDDWBindingsFlutter::MainWindow_wrapper*>(targetPtr);if (wrapperPtr) { return wrapperPtr->releaseKeyboard_nocallback();} else { return targetPtr->releaseKeyboard();} }();
1087}
1088// releaseMouse()
1090{
1091 [&] {auto targetPtr = fromPtr(thisObj);auto wrapperPtr = dynamic_cast<KDDockWidgetsBindings_wrappersNS::KDDWBindingsFlutter::MainWindow_wrapper*>(targetPtr);if (wrapperPtr) { return wrapperPtr->releaseMouse_nocallback();} else { return targetPtr->releaseMouse();} }();
1092}
1093// setContentsMargins(int left, int top, int right, int bottom)
1094void c_KDDockWidgets__flutter__MainWindow__setContentsMargins_int_int_int_int(void *thisObj, int left, int top, int right, int bottom)
1095{
1096 fromWrapperPtr(thisObj)->setContentsMargins_nocallback(left, top, right, bottom);
1097}
1098// setCursor(Qt::CursorShape shape)
1100{
1101 [&] {auto targetPtr = fromPtr(thisObj);auto wrapperPtr = dynamic_cast<KDDockWidgetsBindings_wrappersNS::KDDWBindingsFlutter::MainWindow_wrapper*>(targetPtr);if (wrapperPtr) { return wrapperPtr->setCursor_nocallback(static_cast<Qt::CursorShape>(shape));} else { return targetPtr->setCursor(static_cast<Qt::CursorShape>(shape));} }();
1102}
1103// setFixedHeight(int h)
1105{
1106 [&] {auto targetPtr = fromPtr(thisObj);auto wrapperPtr = dynamic_cast<KDDockWidgetsBindings_wrappersNS::KDDWBindingsFlutter::MainWindow_wrapper*>(targetPtr);if (wrapperPtr) { return wrapperPtr->setFixedHeight_nocallback(h);} else { return targetPtr->setFixedHeight(h);} }();
1107}
1108// setFixedWidth(int w)
1110{
1111 [&] {auto targetPtr = fromPtr(thisObj);auto wrapperPtr = dynamic_cast<KDDockWidgetsBindings_wrappersNS::KDDWBindingsFlutter::MainWindow_wrapper*>(targetPtr);if (wrapperPtr) { return wrapperPtr->setFixedWidth_nocallback(w);} else { return targetPtr->setFixedWidth(w);} }();
1112}
1113// setGeometry(KDDockWidgets::Rect geometry)
1115{
1116 assert(geometry_);
1117 auto &geometry = *reinterpret_cast<KDDockWidgets::Rect *>(geometry_);
1118 [&] {auto targetPtr = fromPtr(thisObj);auto wrapperPtr = dynamic_cast<KDDockWidgetsBindings_wrappersNS::KDDWBindingsFlutter::MainWindow_wrapper*>(targetPtr);if (wrapperPtr) { return wrapperPtr->setGeometry_nocallback(geometry);} else { return targetPtr->setGeometry(geometry);} }();
1119}
1120// setHeight(int h)
1122{
1123 [&] {auto targetPtr = fromPtr(thisObj);auto wrapperPtr = dynamic_cast<KDDockWidgetsBindings_wrappersNS::KDDWBindingsFlutter::MainWindow_wrapper*>(targetPtr);if (wrapperPtr) { return wrapperPtr->setHeight_nocallback(h);} else { return targetPtr->setHeight(h);} }();
1124}
1125// setMaximumSize(KDDockWidgets::Size sz)
1127{
1128 assert(sz_);
1129 auto &sz = *reinterpret_cast<KDDockWidgets::Size *>(sz_);
1130 [&] {auto targetPtr = fromPtr(thisObj);auto wrapperPtr = dynamic_cast<KDDockWidgetsBindings_wrappersNS::KDDWBindingsFlutter::MainWindow_wrapper*>(targetPtr);if (wrapperPtr) { return wrapperPtr->setMaximumSize_nocallback(sz);} else { return targetPtr->setMaximumSize(sz);} }();
1131}
1132// setMinimumSize(KDDockWidgets::Size sz)
1134{
1135 assert(sz_);
1136 auto &sz = *reinterpret_cast<KDDockWidgets::Size *>(sz_);
1137 [&] {auto targetPtr = fromPtr(thisObj);auto wrapperPtr = dynamic_cast<KDDockWidgetsBindings_wrappersNS::KDDWBindingsFlutter::MainWindow_wrapper*>(targetPtr);if (wrapperPtr) { return wrapperPtr->setMinimumSize_nocallback(sz);} else { return targetPtr->setMinimumSize(sz);} }();
1138}
1139// setMouseTracking(bool enable)
1141{
1142 [&] {auto targetPtr = fromPtr(thisObj);auto wrapperPtr = dynamic_cast<KDDockWidgetsBindings_wrappersNS::KDDWBindingsFlutter::MainWindow_wrapper*>(targetPtr);if (wrapperPtr) { return wrapperPtr->setMouseTracking_nocallback(enable);} else { return targetPtr->setMouseTracking(enable);} }();
1143}
1144// setParent(KDDockWidgets::Core::View * parent)
1146{
1147 auto parent = reinterpret_cast<KDDockWidgets::Core::View *>(parent_);
1148 [&] {auto targetPtr = fromPtr(thisObj);auto wrapperPtr = dynamic_cast<KDDockWidgetsBindings_wrappersNS::KDDWBindingsFlutter::MainWindow_wrapper*>(targetPtr);if (wrapperPtr) { return wrapperPtr->setParent_nocallback(parent);} else { return targetPtr->setParent(parent);} }();
1149}
1150// setSize(int w, int h)
1152{
1153 [&] {auto targetPtr = fromPtr(thisObj);auto wrapperPtr = dynamic_cast<KDDockWidgetsBindings_wrappersNS::KDDWBindingsFlutter::MainWindow_wrapper*>(targetPtr);if (wrapperPtr) { return wrapperPtr->setSize_nocallback(w,h);} else { return targetPtr->setSize(w,h);} }();
1154}
1155// setViewName(const QString & name)
1157{
1158 const auto name = QString::fromUtf8(name_);
1159 [&] {auto targetPtr = fromPtr(thisObj);auto wrapperPtr = dynamic_cast<KDDockWidgetsBindings_wrappersNS::KDDWBindingsFlutter::MainWindow_wrapper*>(targetPtr);if (wrapperPtr) { return wrapperPtr->setViewName_nocallback(name);} else { return targetPtr->setViewName(name);} }();
1160 free(( char * )name_);
1161}
1162// setVisible(bool visible)
1164{
1165 [&] {auto targetPtr = fromPtr(thisObj);auto wrapperPtr = dynamic_cast<KDDockWidgetsBindings_wrappersNS::KDDWBindingsFlutter::MainWindow_wrapper*>(targetPtr);if (wrapperPtr) { return wrapperPtr->setVisible_nocallback(visible);} else { return targetPtr->setVisible(visible);} }();
1166}
1167// setWidth(int w)
1169{
1170 [&] {auto targetPtr = fromPtr(thisObj);auto wrapperPtr = dynamic_cast<KDDockWidgetsBindings_wrappersNS::KDDWBindingsFlutter::MainWindow_wrapper*>(targetPtr);if (wrapperPtr) { return wrapperPtr->setWidth_nocallback(w);} else { return targetPtr->setWidth(w);} }();
1171}
1172// setWindowOpacity(double v)
1174{
1175 [&] {auto targetPtr = fromPtr(thisObj);auto wrapperPtr = dynamic_cast<KDDockWidgetsBindings_wrappersNS::KDDWBindingsFlutter::MainWindow_wrapper*>(targetPtr);if (wrapperPtr) { return wrapperPtr->setWindowOpacity_nocallback(v);} else { return targetPtr->setWindowOpacity(v);} }();
1176}
1177// setWindowTitle(const QString & title)
1179{
1180 const auto title = QString::fromUtf8(title_);
1181 [&] {auto targetPtr = fromPtr(thisObj);auto wrapperPtr = dynamic_cast<KDDockWidgetsBindings_wrappersNS::KDDWBindingsFlutter::MainWindow_wrapper*>(targetPtr);if (wrapperPtr) { return wrapperPtr->setWindowTitle_nocallback(title);} else { return targetPtr->setWindowTitle(title);} }();
1182 free(( char * )title_);
1183}
1184// setZOrder(int z)
1186{
1187 [&] {auto targetPtr = fromPtr(thisObj);auto wrapperPtr = dynamic_cast<KDDockWidgetsBindings_wrappersNS::KDDWBindingsFlutter::MainWindow_wrapper*>(targetPtr);if (wrapperPtr) { return wrapperPtr->setZOrder_nocallback(z);} else { return targetPtr->setZOrder(z);} }();
1188}
1189// show()
1191{
1192 [&] {auto targetPtr = fromPtr(thisObj);auto wrapperPtr = dynamic_cast<KDDockWidgetsBindings_wrappersNS::KDDWBindingsFlutter::MainWindow_wrapper*>(targetPtr);if (wrapperPtr) { return wrapperPtr->show_nocallback();} else { return targetPtr->show();} }();
1193}
1194// showMaximized()
1196{
1197 [&] {auto targetPtr = fromPtr(thisObj);auto wrapperPtr = dynamic_cast<KDDockWidgetsBindings_wrappersNS::KDDWBindingsFlutter::MainWindow_wrapper*>(targetPtr);if (wrapperPtr) { return wrapperPtr->showMaximized_nocallback();} else { return targetPtr->showMaximized();} }();
1198}
1199// showMinimized()
1201{
1202 [&] {auto targetPtr = fromPtr(thisObj);auto wrapperPtr = dynamic_cast<KDDockWidgetsBindings_wrappersNS::KDDWBindingsFlutter::MainWindow_wrapper*>(targetPtr);if (wrapperPtr) { return wrapperPtr->showMinimized_nocallback();} else { return targetPtr->showMinimized();} }();
1203}
1204// showNormal()
1206{
1207 [&] {auto targetPtr = fromPtr(thisObj);auto wrapperPtr = dynamic_cast<KDDockWidgetsBindings_wrappersNS::KDDWBindingsFlutter::MainWindow_wrapper*>(targetPtr);if (wrapperPtr) { return wrapperPtr->showNormal_nocallback();} else { return targetPtr->showNormal();} }();
1208}
1209// update()
1211{
1212 [&] {auto targetPtr = fromPtr(thisObj);auto wrapperPtr = dynamic_cast<KDDockWidgetsBindings_wrappersNS::KDDWBindingsFlutter::MainWindow_wrapper*>(targetPtr);if (wrapperPtr) { return wrapperPtr->update_nocallback();} else { return targetPtr->update();} }();
1213}
1214// viewName() const
1216{
1217 const auto &result = new Dartagnan::ValueWrapper<QString> { [&] {auto targetPtr = fromPtr(thisObj);auto wrapperPtr = dynamic_cast<KDDockWidgetsBindings_wrappersNS::KDDWBindingsFlutter::MainWindow_wrapper*>(targetPtr);if (wrapperPtr) { return wrapperPtr->viewName_nocallback();} else { return targetPtr->viewName();} }() };
1218 return result;
1219}
1220// zOrder() const
1222{
1223 const auto &result = [&] {auto targetPtr = fromPtr(thisObj);auto wrapperPtr = dynamic_cast<KDDockWidgetsBindings_wrappersNS::KDDWBindingsFlutter::MainWindow_wrapper*>(targetPtr);if (wrapperPtr) { return wrapperPtr->zOrder_nocallback();} else { return targetPtr->zOrder();} }();
1224 return result;
1225}
1227{
1228 delete fromPtr(thisObj);
1229}
1231{
1232 auto wrapper = fromWrapperPtr(ptr);
1233 switch (methodId) {
1234 case 342:
1235 wrapper->m_activateWindowCallback = reinterpret_cast<KDDockWidgetsBindings_wrappersNS::KDDWBindingsFlutter::MainWindow_wrapper::Callback_activateWindow>(callback);
1236 break;
1237 case 503:
1238 wrapper->m_centerWidgetMarginsCallback = reinterpret_cast<KDDockWidgetsBindings_wrappersNS::KDDWBindingsFlutter::MainWindow_wrapper::Callback_centerWidgetMargins>(callback);
1239 break;
1240 case 504:
1241 wrapper->m_centralAreaGeometryCallback = reinterpret_cast<KDDockWidgetsBindings_wrappersNS::KDDWBindingsFlutter::MainWindow_wrapper::Callback_centralAreaGeometry>(callback);
1242 break;
1243 case 352:
1244 wrapper->m_closeCallback = reinterpret_cast<KDDockWidgetsBindings_wrappersNS::KDDWBindingsFlutter::MainWindow_wrapper::Callback_close>(callback);
1245 break;
1246 case 354:
1247 wrapper->m_createPlatformWindowCallback = reinterpret_cast<KDDockWidgetsBindings_wrappersNS::KDDWBindingsFlutter::MainWindow_wrapper::Callback_createPlatformWindow>(callback);
1248 break;
1249 case 360:
1250 wrapper->m_flagsCallback = reinterpret_cast<KDDockWidgetsBindings_wrappersNS::KDDWBindingsFlutter::MainWindow_wrapper::Callback_flags>(callback);
1251 break;
1252 case 361:
1253 wrapper->m_geometryCallback = reinterpret_cast<KDDockWidgetsBindings_wrappersNS::KDDWBindingsFlutter::MainWindow_wrapper::Callback_geometry>(callback);
1254 break;
1255 case 362:
1256 wrapper->m_grabMouseCallback = reinterpret_cast<KDDockWidgetsBindings_wrappersNS::KDDWBindingsFlutter::MainWindow_wrapper::Callback_grabMouse>(callback);
1257 break;
1258 case 365:
1259 wrapper->m_hasFocusCallback = reinterpret_cast<KDDockWidgetsBindings_wrappersNS::KDDWBindingsFlutter::MainWindow_wrapper::Callback_hasFocus>(callback);
1260 break;
1261 case 367:
1262 wrapper->m_hideCallback = reinterpret_cast<KDDockWidgetsBindings_wrappersNS::KDDWBindingsFlutter::MainWindow_wrapper::Callback_hide>(callback);
1263 break;
1264 case 369:
1265 wrapper->m_initCallback = reinterpret_cast<KDDockWidgetsBindings_wrappersNS::KDDWBindingsFlutter::MainWindow_wrapper::Callback_init>(callback);
1266 break;
1267 case 371:
1268 wrapper->m_isActiveWindowCallback = reinterpret_cast<KDDockWidgetsBindings_wrappersNS::KDDWBindingsFlutter::MainWindow_wrapper::Callback_isActiveWindow>(callback);
1269 break;
1270 case 372:
1271 wrapper->m_isExplicitlyHiddenCallback = reinterpret_cast<KDDockWidgetsBindings_wrappersNS::KDDWBindingsFlutter::MainWindow_wrapper::Callback_isExplicitlyHidden>(callback);
1272 break;
1273 case 375:
1274 wrapper->m_isMaximizedCallback = reinterpret_cast<KDDockWidgetsBindings_wrappersNS::KDDWBindingsFlutter::MainWindow_wrapper::Callback_isMaximized>(callback);
1275 break;
1276 case 376:
1277 wrapper->m_isMinimizedCallback = reinterpret_cast<KDDockWidgetsBindings_wrappersNS::KDDWBindingsFlutter::MainWindow_wrapper::Callback_isMinimized>(callback);
1278 break;
1279 case 450:
1280 wrapper->m_isMountedCallback = reinterpret_cast<KDDockWidgetsBindings_wrappersNS::KDDWBindingsFlutter::MainWindow_wrapper::Callback_isMounted>(callback);
1281 break;
1282 case 377:
1283 wrapper->m_isNullCallback = reinterpret_cast<KDDockWidgetsBindings_wrappersNS::KDDWBindingsFlutter::MainWindow_wrapper::Callback_isNull>(callback);
1284 break;
1285 case 378:
1286 wrapper->m_isRootViewCallback = reinterpret_cast<KDDockWidgetsBindings_wrappersNS::KDDWBindingsFlutter::MainWindow_wrapper::Callback_isRootView>(callback);
1287 break;
1288 case 379:
1289 wrapper->m_isVisibleCallback = reinterpret_cast<KDDockWidgetsBindings_wrappersNS::KDDWBindingsFlutter::MainWindow_wrapper::Callback_isVisible>(callback);
1290 break;
1291 case 380:
1292 wrapper->m_mapFromGlobalCallback = reinterpret_cast<KDDockWidgetsBindings_wrappersNS::KDDWBindingsFlutter::MainWindow_wrapper::Callback_mapFromGlobal>(callback);
1293 break;
1294 case 381:
1295 wrapper->m_mapToCallback = reinterpret_cast<KDDockWidgetsBindings_wrappersNS::KDDWBindingsFlutter::MainWindow_wrapper::Callback_mapTo>(callback);
1296 break;
1297 case 382:
1298 wrapper->m_mapToGlobalCallback = reinterpret_cast<KDDockWidgetsBindings_wrappersNS::KDDWBindingsFlutter::MainWindow_wrapper::Callback_mapToGlobal>(callback);
1299 break;
1300 case 383:
1301 wrapper->m_maxSizeHintCallback = reinterpret_cast<KDDockWidgetsBindings_wrappersNS::KDDWBindingsFlutter::MainWindow_wrapper::Callback_maxSizeHint>(callback);
1302 break;
1303 case 384:
1304 wrapper->m_minSizeCallback = reinterpret_cast<KDDockWidgetsBindings_wrappersNS::KDDWBindingsFlutter::MainWindow_wrapper::Callback_minSize>(callback);
1305 break;
1306 case 388:
1307 wrapper->m_move_2Callback = reinterpret_cast<KDDockWidgetsBindings_wrappersNS::KDDWBindingsFlutter::MainWindow_wrapper::Callback_move_2>(callback);
1308 break;
1309 case 389:
1310 wrapper->m_normalGeometryCallback = reinterpret_cast<KDDockWidgetsBindings_wrappersNS::KDDWBindingsFlutter::MainWindow_wrapper::Callback_normalGeometry>(callback);
1311 break;
1312 case 453:
1313 wrapper->m_onChildAddedCallback = reinterpret_cast<KDDockWidgetsBindings_wrappersNS::KDDWBindingsFlutter::MainWindow_wrapper::Callback_onChildAdded>(callback);
1314 break;
1315 case 454:
1316 wrapper->m_onChildRemovedCallback = reinterpret_cast<KDDockWidgetsBindings_wrappersNS::KDDWBindingsFlutter::MainWindow_wrapper::Callback_onChildRemoved>(callback);
1317 break;
1318 case 455:
1319 wrapper->m_onChildVisibilityChangedCallback = reinterpret_cast<KDDockWidgetsBindings_wrappersNS::KDDWBindingsFlutter::MainWindow_wrapper::Callback_onChildVisibilityChanged>(callback);
1320 break;
1321 case 457:
1322 wrapper->m_onGeometryChangedCallback = reinterpret_cast<KDDockWidgetsBindings_wrappersNS::KDDWBindingsFlutter::MainWindow_wrapper::Callback_onGeometryChanged>(callback);
1323 break;
1324 case 459:
1325 wrapper->m_onRebuildRequestedCallback = reinterpret_cast<KDDockWidgetsBindings_wrappersNS::KDDWBindingsFlutter::MainWindow_wrapper::Callback_onRebuildRequested>(callback);
1326 break;
1327 case 391:
1328 wrapper->m_onResize_2Callback = reinterpret_cast<KDDockWidgetsBindings_wrappersNS::KDDWBindingsFlutter::MainWindow_wrapper::Callback_onResize_2>(callback);
1329 break;
1330 case 393:
1331 wrapper->m_raiseCallback = reinterpret_cast<KDDockWidgetsBindings_wrappersNS::KDDWBindingsFlutter::MainWindow_wrapper::Callback_raise>(callback);
1332 break;
1333 case 394:
1334 wrapper->m_raiseAndActivateCallback = reinterpret_cast<KDDockWidgetsBindings_wrappersNS::KDDWBindingsFlutter::MainWindow_wrapper::Callback_raiseAndActivate>(callback);
1335 break;
1336 case 462:
1337 wrapper->m_raiseChildCallback = reinterpret_cast<KDDockWidgetsBindings_wrappersNS::KDDWBindingsFlutter::MainWindow_wrapper::Callback_raiseChild>(callback);
1338 break;
1339 case 463:
1340 wrapper->m_raiseWindowCallback = reinterpret_cast<KDDockWidgetsBindings_wrappersNS::KDDWBindingsFlutter::MainWindow_wrapper::Callback_raiseWindow>(callback);
1341 break;
1342 case 396:
1343 wrapper->m_releaseKeyboardCallback = reinterpret_cast<KDDockWidgetsBindings_wrappersNS::KDDWBindingsFlutter::MainWindow_wrapper::Callback_releaseKeyboard>(callback);
1344 break;
1345 case 397:
1346 wrapper->m_releaseMouseCallback = reinterpret_cast<KDDockWidgetsBindings_wrappersNS::KDDWBindingsFlutter::MainWindow_wrapper::Callback_releaseMouse>(callback);
1347 break;
1348 case 507:
1349 wrapper->m_setContentsMarginsCallback = reinterpret_cast<KDDockWidgetsBindings_wrappersNS::KDDWBindingsFlutter::MainWindow_wrapper::Callback_setContentsMargins>(callback);
1350 break;
1351 case 401:
1352 wrapper->m_setCursorCallback = reinterpret_cast<KDDockWidgetsBindings_wrappersNS::KDDWBindingsFlutter::MainWindow_wrapper::Callback_setCursor>(callback);
1353 break;
1354 case 402:
1355 wrapper->m_setFixedHeightCallback = reinterpret_cast<KDDockWidgetsBindings_wrappersNS::KDDWBindingsFlutter::MainWindow_wrapper::Callback_setFixedHeight>(callback);
1356 break;
1357 case 403:
1358 wrapper->m_setFixedWidthCallback = reinterpret_cast<KDDockWidgetsBindings_wrappersNS::KDDWBindingsFlutter::MainWindow_wrapper::Callback_setFixedWidth>(callback);
1359 break;
1360 case 404:
1361 wrapper->m_setGeometryCallback = reinterpret_cast<KDDockWidgetsBindings_wrappersNS::KDDWBindingsFlutter::MainWindow_wrapper::Callback_setGeometry>(callback);
1362 break;
1363 case 405:
1364 wrapper->m_setHeightCallback = reinterpret_cast<KDDockWidgetsBindings_wrappersNS::KDDWBindingsFlutter::MainWindow_wrapper::Callback_setHeight>(callback);
1365 break;
1366 case 406:
1367 wrapper->m_setMaximumSizeCallback = reinterpret_cast<KDDockWidgetsBindings_wrappersNS::KDDWBindingsFlutter::MainWindow_wrapper::Callback_setMaximumSize>(callback);
1368 break;
1369 case 407:
1370 wrapper->m_setMinimumSizeCallback = reinterpret_cast<KDDockWidgetsBindings_wrappersNS::KDDWBindingsFlutter::MainWindow_wrapper::Callback_setMinimumSize>(callback);
1371 break;
1372 case 408:
1373 wrapper->m_setMouseTrackingCallback = reinterpret_cast<KDDockWidgetsBindings_wrappersNS::KDDWBindingsFlutter::MainWindow_wrapper::Callback_setMouseTracking>(callback);
1374 break;
1375 case 409:
1376 wrapper->m_setParentCallback = reinterpret_cast<KDDockWidgetsBindings_wrappersNS::KDDWBindingsFlutter::MainWindow_wrapper::Callback_setParent>(callback);
1377 break;
1378 case 411:
1379 wrapper->m_setSize_2Callback = reinterpret_cast<KDDockWidgetsBindings_wrappersNS::KDDWBindingsFlutter::MainWindow_wrapper::Callback_setSize_2>(callback);
1380 break;
1381 case 412:
1382 wrapper->m_setViewNameCallback = reinterpret_cast<KDDockWidgetsBindings_wrappersNS::KDDWBindingsFlutter::MainWindow_wrapper::Callback_setViewName>(callback);
1383 break;
1384 case 413:
1385 wrapper->m_setVisibleCallback = reinterpret_cast<KDDockWidgetsBindings_wrappersNS::KDDWBindingsFlutter::MainWindow_wrapper::Callback_setVisible>(callback);
1386 break;
1387 case 414:
1388 wrapper->m_setWidthCallback = reinterpret_cast<KDDockWidgetsBindings_wrappersNS::KDDWBindingsFlutter::MainWindow_wrapper::Callback_setWidth>(callback);
1389 break;
1390 case 415:
1391 wrapper->m_setWindowOpacityCallback = reinterpret_cast<KDDockWidgetsBindings_wrappersNS::KDDWBindingsFlutter::MainWindow_wrapper::Callback_setWindowOpacity>(callback);
1392 break;
1393 case 416:
1394 wrapper->m_setWindowTitleCallback = reinterpret_cast<KDDockWidgetsBindings_wrappersNS::KDDWBindingsFlutter::MainWindow_wrapper::Callback_setWindowTitle>(callback);
1395 break;
1396 case 417:
1397 wrapper->m_setZOrderCallback = reinterpret_cast<KDDockWidgetsBindings_wrappersNS::KDDWBindingsFlutter::MainWindow_wrapper::Callback_setZOrder>(callback);
1398 break;
1399 case 418:
1400 wrapper->m_showCallback = reinterpret_cast<KDDockWidgetsBindings_wrappersNS::KDDWBindingsFlutter::MainWindow_wrapper::Callback_show>(callback);
1401 break;
1402 case 419:
1403 wrapper->m_showMaximizedCallback = reinterpret_cast<KDDockWidgetsBindings_wrappersNS::KDDWBindingsFlutter::MainWindow_wrapper::Callback_showMaximized>(callback);
1404 break;
1405 case 420:
1406 wrapper->m_showMinimizedCallback = reinterpret_cast<KDDockWidgetsBindings_wrappersNS::KDDWBindingsFlutter::MainWindow_wrapper::Callback_showMinimized>(callback);
1407 break;
1408 case 421:
1409 wrapper->m_showNormalCallback = reinterpret_cast<KDDockWidgetsBindings_wrappersNS::KDDWBindingsFlutter::MainWindow_wrapper::Callback_showNormal>(callback);
1410 break;
1411 case 423:
1412 wrapper->m_updateCallback = reinterpret_cast<KDDockWidgetsBindings_wrappersNS::KDDWBindingsFlutter::MainWindow_wrapper::Callback_update>(callback);
1413 break;
1414 case 424:
1415 wrapper->m_viewNameCallback = reinterpret_cast<KDDockWidgetsBindings_wrappersNS::KDDWBindingsFlutter::MainWindow_wrapper::Callback_viewName>(callback);
1416 break;
1417 case 428:
1418 wrapper->m_zOrderCallback = reinterpret_cast<KDDockWidgetsBindings_wrappersNS::KDDWBindingsFlutter::MainWindow_wrapper::Callback_zOrder>(callback);
1419 break;
1420 }
1421}
1422}
void * c_KDDockWidgets__flutter__MainWindow__mapTo_View_Point(void *thisObj, void *parent_, void *pos_)
void * c_KDDockWidgets__flutter__MainWindow__constructor_QString_MainWindowOptions_View_WindowFlags(const char *uniqueName_, int options_, void *parent_, int flags)
void c_KDDockWidgets__flutter__MainWindow__raiseAndActivate(void *thisObj)
void c_KDDockWidgets__flutter__MainWindow__registerVirtualMethodCallback(void *ptr, void *callback, int methodId)
bool c_KDDockWidgets__flutter__MainWindow__isMinimized(void *thisObj)
static KDDockWidgets::flutter::MainWindow * fromPtr(void *ptr)
bool c_KDDockWidgets__flutter__MainWindow__onResize_int_int(void *thisObj, int h, int w)
void c_KDDockWidgets__flutter__MainWindow__showNormal(void *thisObj)
void c_KDDockWidgets__flutter__MainWindow__setGeometry_Rect(void *thisObj, void *geometry_)
void * c_KDDockWidgets__flutter__MainWindow__centralAreaGeometry(void *thisObj)
void c_KDDockWidgets__flutter__MainWindow__update(void *thisObj)
void * c_KDDockWidgets__flutter__MainWindow__mapFromGlobal_Point(void *thisObj, void *globalPt_)
void c_KDDockWidgets__flutter__MainWindow__releaseMouse(void *thisObj)
void c_KDDockWidgets__flutter__MainWindow__raise(void *thisObj)
bool c_KDDockWidgets__flutter__MainWindow__isVisible(void *thisObj)
void * c_KDDockWidgets__flutter__MainWindow__maxSizeHint(void *thisObj)
void c_KDDockWidgets__flutter__MainWindow__onGeometryChanged(void *thisObj)
bool c_KDDockWidgets__flutter__MainWindow__isMaximized(void *thisObj)
bool c_KDDockWidgets__flutter__MainWindow__isActiveWindow(void *thisObj)
void c_KDDockWidgets__flutter__MainWindow__onChildAdded_View(void *thisObj, void *childView_)
void c_KDDockWidgets__flutter__MainWindow__createPlatformWindow(void *thisObj)
void c_KDDockWidgets__flutter__MainWindow__move_int_int(void *thisObj, int x, int y)
void c_KDDockWidgets__flutter__MainWindow__showMaximized(void *thisObj)
bool c_KDDockWidgets__flutter__MainWindow__isExplicitlyHidden(void *thisObj)
void c_KDDockWidgets__flutter__MainWindow__onChildVisibilityChanged_View(void *thisObj, void *childView_)
void * c_KDDockWidgets__flutter__MainWindow__geometry(void *thisObj)
void c_KDDockWidgets__flutter__MainWindow__setWidth_int(void *thisObj, int w)
void c_KDDockWidgets__flutter__MainWindow__onRebuildRequested(void *thisObj)
bool c_KDDockWidgets__flutter__MainWindow__close(void *thisObj)
void c_KDDockWidgets__flutter__MainWindow__onChildRemoved_View(void *thisObj, void *childView_)
void c_KDDockWidgets__flutter__MainWindow__setParent_View(void *thisObj, void *parent_)
bool c_KDDockWidgets__flutter__MainWindow__hasFocus(void *thisObj)
void c_KDDockWidgets__flutter__MainWindow__setZOrder_int(void *thisObj, int z)
int c_KDDockWidgets__flutter__MainWindow__flags(void *thisObj)
void c_KDDockWidgets__flutter__MainWindow__setWindowOpacity_double(void *thisObj, double v)
void c_KDDockWidgets__flutter__MainWindow__setViewName_QString(void *thisObj, const char *name_)
void c_KDDockWidgets__flutter__MainWindow__releaseKeyboard(void *thisObj)
bool c_KDDockWidgets__flutter__MainWindow__isNull(void *thisObj)
void c_KDDockWidgets__flutter__MainWindow__setVisible_bool(void *thisObj, bool visible)
bool c_KDDockWidgets__flutter__MainWindow__isRootView(void *thisObj)
void c_KDDockWidgets__flutter__MainWindow__grabMouse(void *thisObj)
int c_KDDockWidgets__flutter__MainWindow__zOrder(void *thisObj)
void c_KDDockWidgets__flutter__MainWindow__setCursor_CursorShape(void *thisObj, int shape)
void * c_KDDockWidgets__flutter__MainWindow__mapToGlobal_Point(void *thisObj, void *localPt_)
void c_KDDockWidgets__flutter__MainWindow__setFixedWidth_int(void *thisObj, int w)
void * c_KDDockWidgets__flutter__MainWindow__normalGeometry(void *thisObj)
void c_KDDockWidgets__flutter__MainWindow__setMinimumSize_Size(void *thisObj, void *sz_)
static KDDockWidgetsBindings_wrappersNS::KDDWBindingsFlutter::MainWindow_wrapper * fromWrapperPtr(void *ptr)
void c_KDDockWidgets__flutter__MainWindow__show(void *thisObj)
void c_KDDockWidgets__flutter__MainWindow__setWindowTitle_QString(void *thisObj, const char *title_)
void * c_KDDockWidgets__flutter__MainWindow__centerWidgetMargins(void *thisObj)
void c_KDDockWidgets__flutter__MainWindow__setSize_int_int(void *thisObj, int w, int h)
void c_KDDockWidgets__flutter__MainWindow__showMinimized(void *thisObj)
void c_KDDockWidgets__flutter__MainWindow__setFixedHeight_int(void *thisObj, int h)
void c_KDDockWidgets__flutter__MainWindow__setHeight_int(void *thisObj, int h)
void c_KDDockWidgets__flutter__MainWindow__raiseChild_View(void *thisObj, void *childView_)
void * c_KDDockWidgets__flutter__MainWindow__viewName(void *thisObj)
void * c_KDDockWidgets__flutter__MainWindow__minSize(void *thisObj)
void c_KDDockWidgets__flutter__MainWindow_Finalizer(void *cppObj)
void c_KDDockWidgets__flutter__MainWindow__init(void *thisObj)
void c_KDDockWidgets__flutter__MainWindow__hide(void *thisObj)
void c_KDDockWidgets__flutter__MainWindow__setMaximumSize_Size(void *thisObj, void *sz_)
void c_KDDockWidgets__flutter__MainWindow__setContentsMargins_int_int_int_int(void *thisObj, int left, int top, int right, int bottom)
void c_KDDockWidgets__flutter__MainWindow__raiseWindow_View(void *thisObj, void *rootView_)
void c_KDDockWidgets__flutter__MainWindow__activateWindow(void *thisObj)
bool c_KDDockWidgets__flutter__MainWindow__isMounted(void *thisObj)
void c_KDDockWidgets__flutter__MainWindow__setMouseTracking_bool(void *thisObj, bool enable)
void c_KDDockWidgets__flutter__MainWindow__destructor(void *thisObj)
virtual KDDockWidgets::Point mapToGlobal(KDDockWidgets::Point localPt) const
void(* Callback_onChildVisibilityChanged)(void *, KDDockWidgets::Core::View *childView)
virtual void setZOrder(int z)
Sets the z order Not supported on all platforms and only relevant for MDI mode.
KDDockWidgets::Point *(* Callback_mapToGlobal)(void *, KDDockWidgets::Point *localPt)
MainWindow_wrapper(const QString &uniqueName, QFlags< KDDockWidgets::MainWindowOption > options={}, KDDockWidgets::flutter::View *parent=nullptr, Qt::WindowFlags flags={})
virtual void setViewName(const QString &name)
Equivalent to Qt's QObject::objectName()
virtual bool isNull() const
Returns whether the gui item represented by this view was already deleted Usually false,...
virtual KDDockWidgets::Point mapTo_nocallback(KDDockWidgets::Core::View *parent, KDDockWidgets::Point pos) const
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
KDDockWidgets::Point *(* Callback_mapTo)(void *, KDDockWidgets::Core::View *parent, KDDockWidgets::Point *pos)
KDDockWidgets::Point *(* Callback_mapFromGlobal)(void *, KDDockWidgets::Point *globalPt)
void(* Callback_setContentsMargins)(void *, int left, int top, int right, int bottom)
virtual KDDockWidgets::Point mapToGlobal_nocallback(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 setContentsMargins(int left, int top, int right, int bottom) override
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