KDDockWidgets API Documentation 2.1
Loading...
Searching...
No Matches
KDDWBindingsCore/Group_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 "Group_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 KDDWBindingsCore {
34 : ::KDDockWidgets::Core::Group(parent)
35{
36}
38{
39 return ::KDDockWidgets::Core::Group::actualTitleBar();
40}
54{
55 return ::KDDockWidgets::Core::Group::allDockWidgetsHave(arg__1);
56}
58{
59 return ::KDDockWidgets::Core::Group::allDockWidgetsHave(arg__1);
60}
62{
63 return ::KDDockWidgets::Core::Group::alwaysShowsTabs();
64}
66{
67 return ::KDDockWidgets::Core::Group::anyDockWidgetsHas(arg__1);
68}
70{
71 return ::KDDockWidgets::Core::Group::anyDockWidgetsHas(arg__1);
72}
74{
75 return ::KDDockWidgets::Core::Group::anyNonClosable();
76}
78{
79 return ::KDDockWidgets::Core::Group::anyNonDockable();
80}
82{
83 return ::KDDockWidgets::Core::Group::beingDeletedLater();
84}
85KDDockWidgets::Size Group_wrapper::biggestDockWidgetMaxSize() const
86{
87 return ::KDDockWidgets::Core::Group::biggestDockWidgetMaxSize();
88}
90{
91 return ::KDDockWidgets::Core::Group::containsDockWidget(w);
92}
93bool Group_wrapper::containsMouse(KDDockWidgets::Point globalPos) const
94{
95 return ::KDDockWidgets::Core::Group::containsMouse(globalPos);
96}
98{
99 return ::KDDockWidgets::Core::Group::currentDockWidget();
100}
102{
103 return ::KDDockWidgets::Core::Group::currentIndex();
104}
106{
107 return ::KDDockWidgets::Core::Group::currentTabIndex();
108}
110{
111 return ::KDDockWidgets::Core::Group::dbg_numFrames();
112}
114{
115 return ::KDDockWidgets::Core::Group::detachTab(arg__1);
116}
118{
119 return ::KDDockWidgets::Core::Group::dockWidgetAt(index);
120}
122{
123 return ::KDDockWidgets::Core::Group::dockWidgetCount();
124}
125KDDockWidgets::Size Group_wrapper::dockWidgetsMinSize() const
126{
127 return ::KDDockWidgets::Core::Group::dockWidgetsMinSize();
128}
129KDDockWidgets::Rect Group_wrapper::dragRect() const
130{
131 if (m_dragRectCallback) {
132 const void *thisPtr = this;
133 return *m_dragRectCallback(const_cast<void *>(thisPtr));
134 } else {
135 return ::KDDockWidgets::Core::Group::dragRect();
136 }
137}
138KDDockWidgets::Rect Group_wrapper::dragRect_nocallback() const
139{
140 return ::KDDockWidgets::Core::Group::dragRect();
141}
143{
144 return ::KDDockWidgets::Core::Group::floatingWindow();
145}
147{
149 const void *thisPtr = this;
150 m_focusedWidgetChangedCallbackCallback(const_cast<void *>(thisPtr));
151 } else {
153 }
154}
159KDDockWidgets::Core::Group *Group_wrapper::fromItem(const KDDockWidgets::Core::Item *arg__1)
160{
161 return ::KDDockWidgets::Core::Group::fromItem(arg__1);
162}
164{
165 return ::KDDockWidgets::Core::Group::hasNestedMDIDockWidgets();
166}
168{
169 return ::KDDockWidgets::Core::Group::hasSingleDockWidget();
170}
172{
173 return ::KDDockWidgets::Core::Group::hasTabsVisible();
174}
176{
177 return ::KDDockWidgets::Core::Group::indexOfDockWidget(arg__1);
178}
188{
189 return ::KDDockWidgets::Core::Group::isCentralGroup();
190}
192{
193 return ::KDDockWidgets::Core::Group::isDockable();
194}
196{
197 return ::KDDockWidgets::Core::Group::isEmpty();
198}
200{
201 return ::KDDockWidgets::Core::Group::isFloating();
202}
204{
206 const void *thisPtr = this;
207 m_isFocusedChangedCallbackCallback(const_cast<void *>(thisPtr));
208 } else {
210 }
211}
217{
218 return ::KDDockWidgets::Core::Group::isInFloatingWindow();
219}
221{
222 return ::KDDockWidgets::Core::Group::isInMainWindow();
223}
225{
226 return ::KDDockWidgets::Core::Group::isMDI();
227}
229{
230 return ::KDDockWidgets::Core::Group::isMDIWrapper();
231}
233{
234 return ::KDDockWidgets::Core::Group::isOverlayed();
235}
237{
238 return ::KDDockWidgets::Core::Group::isTheOnlyGroup();
239}
240KDDockWidgets::Core::Item *Group_wrapper::layoutItem() const
241{
242 return ::KDDockWidgets::Core::Group::layoutItem();
243}
245{
246 return ::KDDockWidgets::Core::Group::mainWindow();
247}
249{
250 return ::KDDockWidgets::Core::Group::mdiDockWidgetWrapper();
251}
253{
254 return ::KDDockWidgets::Core::Group::mdiDropAreaWrapper();
255}
257{
258 return ::KDDockWidgets::Core::Group::mdiFrame();
259}
261{
262 return ::KDDockWidgets::Core::Group::nonContentsHeight();
263}
276void Group_wrapper::renameTab(int index, const QString &arg__2)
277{
279}
296void Group_wrapper::setLayoutItem(KDDockWidgets::Core::Item *item)
297{
299}
301{
303 const void *thisPtr = this;
304 m_setParentView_implCallback(const_cast<void *>(thisPtr), parent);
305 } else {
307 }
308}
314{
315 return ::KDDockWidgets::Core::Group::stack();
316}
318{
319 return ::KDDockWidgets::Core::Group::tabBar();
320}
322{
323 return ::KDDockWidgets::Core::Group::title();
324}
326{
327 return ::KDDockWidgets::Core::Group::titleBar();
328}
346{
347 return ::KDDockWidgets::Core::Group::userType();
348}
352
353}
354}
356{
357 return reinterpret_cast<KDDockWidgets::Core::Group *>(ptr);
358}
363extern "C" {
369{
370 auto parent = reinterpret_cast<KDDockWidgets::Core::View *>(parent_);
372 return reinterpret_cast<void *>(ptr);
373}
374// actualTitleBar() const
376{
377 const auto &result = fromPtr(thisObj)->actualTitleBar();
378 return result;
379}
380// addTab(KDDockWidgets::Core::DockWidget * arg__1, KDDockWidgets::InitialOption arg__2)
381void c_KDDockWidgets__Core__Group__addTab_DockWidget_InitialOption(void *thisObj, void *arg__1_, void *arg__2_)
382{
383 auto arg__1 = reinterpret_cast<KDDockWidgets::Core::DockWidget *>(arg__1_);
384 assert(arg__2_);
385 auto &arg__2 = *reinterpret_cast<KDDockWidgets::InitialOption *>(arg__2_);
386 fromPtr(thisObj)->addTab(arg__1, arg__2);
387}
388// addTab(KDDockWidgets::Core::FloatingWindow * floatingWindow, KDDockWidgets::InitialOption arg__2)
389void c_KDDockWidgets__Core__Group__addTab_FloatingWindow_InitialOption(void *thisObj, void *floatingWindow_, void *arg__2_)
390{
391 auto floatingWindow = reinterpret_cast<KDDockWidgets::Core::FloatingWindow *>(floatingWindow_);
392 assert(arg__2_);
393 auto &arg__2 = *reinterpret_cast<KDDockWidgets::InitialOption *>(arg__2_);
394 fromPtr(thisObj)->addTab(floatingWindow, arg__2);
395}
396// addTab(KDDockWidgets::Core::Group * arg__1, KDDockWidgets::InitialOption arg__2)
397void c_KDDockWidgets__Core__Group__addTab_Group_InitialOption(void *thisObj, void *arg__1_, void *arg__2_)
398{
399 auto arg__1 = reinterpret_cast<KDDockWidgets::Core::Group *>(arg__1_);
400 assert(arg__2_);
401 auto &arg__2 = *reinterpret_cast<KDDockWidgets::InitialOption *>(arg__2_);
402 fromPtr(thisObj)->addTab(arg__1, arg__2);
403}
404// allDockWidgetsHave(KDDockWidgets::DockWidgetOption arg__1) const
406{
407 const auto &result = fromPtr(thisObj)->allDockWidgetsHave(static_cast<KDDockWidgets::DockWidgetOption>(arg__1));
408 return result;
409}
410// allDockWidgetsHave(KDDockWidgets::LayoutSaverOption arg__1) const
412{
413 const auto &result = fromPtr(thisObj)->allDockWidgetsHave(static_cast<KDDockWidgets::LayoutSaverOption>(arg__1));
414 return result;
415}
416// alwaysShowsTabs() const
418{
419 const auto &result = fromPtr(thisObj)->alwaysShowsTabs();
420 return result;
421}
422// anyDockWidgetsHas(KDDockWidgets::DockWidgetOption arg__1) const
424{
425 const auto &result = fromPtr(thisObj)->anyDockWidgetsHas(static_cast<KDDockWidgets::DockWidgetOption>(arg__1));
426 return result;
427}
428// anyDockWidgetsHas(KDDockWidgets::LayoutSaverOption arg__1) const
430{
431 const auto &result = fromPtr(thisObj)->anyDockWidgetsHas(static_cast<KDDockWidgets::LayoutSaverOption>(arg__1));
432 return result;
433}
434// anyNonClosable() const
436{
437 const auto &result = fromPtr(thisObj)->anyNonClosable();
438 return result;
439}
440// anyNonDockable() const
442{
443 const auto &result = fromPtr(thisObj)->anyNonDockable();
444 return result;
445}
446// beingDeletedLater() const
448{
449 const auto &result = fromPtr(thisObj)->beingDeletedLater();
450 return result;
451}
452// biggestDockWidgetMaxSize() const
454{
455 const auto &result = new Dartagnan::ValueWrapper<KDDockWidgets::Size> { fromPtr(thisObj)->biggestDockWidgetMaxSize() };
456 return result;
457}
458// containsDockWidget(KDDockWidgets::Core::DockWidget * w) const
460{
461 auto w = reinterpret_cast<KDDockWidgets::Core::DockWidget *>(w_);
462 const auto &result = fromPtr(thisObj)->containsDockWidget(w);
463 return result;
464}
465// containsMouse(KDDockWidgets::Point globalPos) const
466bool c_KDDockWidgets__Core__Group__containsMouse_Point(void *thisObj, void *globalPos_)
467{
468 assert(globalPos_);
469 auto &globalPos = *reinterpret_cast<KDDockWidgets::Point *>(globalPos_);
470 const auto &result = fromPtr(thisObj)->containsMouse(globalPos);
471 return result;
472}
473// currentDockWidget() const
475{
476 const auto &result = fromPtr(thisObj)->currentDockWidget();
477 return result;
478}
479// currentIndex() const
481{
482 const auto &result = fromPtr(thisObj)->currentIndex();
483 return result;
484}
485// currentTabIndex() const
487{
488 const auto &result = fromPtr(thisObj)->currentTabIndex();
489 return result;
490}
491// dbg_numFrames()
497// detachTab(KDDockWidgets::Core::DockWidget * arg__1)
498void *c_KDDockWidgets__Core__Group__detachTab_DockWidget(void *thisObj, void *arg__1_)
499{
500 auto arg__1 = reinterpret_cast<KDDockWidgets::Core::DockWidget *>(arg__1_);
501 const auto &result = fromPtr(thisObj)->detachTab(arg__1);
502 return result;
503}
504// dockWidgetAt(int index) const
506{
507 const auto &result = fromPtr(thisObj)->dockWidgetAt(index);
508 return result;
509}
510// dockWidgetCount() const
512{
513 const auto &result = fromPtr(thisObj)->dockWidgetCount();
514 return result;
515}
516// dockWidgetsMinSize() const
518{
519 const auto &result = new Dartagnan::ValueWrapper<KDDockWidgets::Size> { fromPtr(thisObj)->dockWidgetsMinSize() };
520 return result;
521}
522// dragRect() const
524{
525 const auto &result = new Dartagnan::ValueWrapper<KDDockWidgets::Rect> { [&] {auto targetPtr = fromPtr(thisObj);auto wrapperPtr = dynamic_cast<KDDockWidgetsBindings_wrappersNS::KDDWBindingsCore::Group_wrapper*>(targetPtr);if (wrapperPtr) { return wrapperPtr->dragRect_nocallback();} else { return targetPtr->dragRect();} }() };
526 return result;
527}
528// floatingWindow() const
530{
531 const auto &result = fromPtr(thisObj)->floatingWindow();
532 return result;
533}
534// focusedWidgetChangedCallback()
539// fromItem(const KDDockWidgets::Core::Item * arg__1)
541{
542 auto arg__1 = reinterpret_cast<KDDockWidgets::Core::Item *>(arg__1_);
544 return result;
545}
546// hasNestedMDIDockWidgets() const
548{
549 const auto &result = fromPtr(thisObj)->hasNestedMDIDockWidgets();
550 return result;
551}
552// hasSingleDockWidget() const
554{
555 const auto &result = fromPtr(thisObj)->hasSingleDockWidget();
556 return result;
557}
558// hasTabsVisible() const
560{
561 const auto &result = fromPtr(thisObj)->hasTabsVisible();
562 return result;
563}
564// indexOfDockWidget(const KDDockWidgets::Core::DockWidget * arg__1)
566{
567 auto arg__1 = reinterpret_cast<KDDockWidgets::Core::DockWidget *>(arg__1_);
568 const auto &result = fromPtr(thisObj)->indexOfDockWidget(arg__1);
569 return result;
570}
571// insertDockWidget(KDDockWidgets::Core::DockWidget * arg__1, int index)
572void c_KDDockWidgets__Core__Group__insertDockWidget_DockWidget_int(void *thisObj, void *arg__1_, int index)
573{
574 auto arg__1 = reinterpret_cast<KDDockWidgets::Core::DockWidget *>(arg__1_);
575 fromPtr(thisObj)->insertDockWidget(arg__1, index);
576}
577// insertWidget(KDDockWidgets::Core::DockWidget * arg__1, int index, KDDockWidgets::InitialOption arg__3)
578void c_KDDockWidgets__Core__Group__insertWidget_DockWidget_int_InitialOption(void *thisObj, void *arg__1_, int index, void *arg__3_)
579{
580 auto arg__1 = reinterpret_cast<KDDockWidgets::Core::DockWidget *>(arg__1_);
581 assert(arg__3_);
582 auto &arg__3 = *reinterpret_cast<KDDockWidgets::InitialOption *>(arg__3_);
583 fromPtr(thisObj)->insertWidget(arg__1, index, arg__3);
584}
585// isCentralGroup() const
587{
588 const auto &result = fromPtr(thisObj)->isCentralGroup();
589 return result;
590}
591// isDockable() const
593{
594 const auto &result = fromPtr(thisObj)->isDockable();
595 return result;
596}
597// isEmpty() const
599{
600 const auto &result = fromPtr(thisObj)->isEmpty();
601 return result;
602}
603// isFloating() const
605{
606 const auto &result = fromPtr(thisObj)->isFloating();
607 return result;
608}
609// isFocusedChangedCallback()
614// isInFloatingWindow() const
616{
617 const auto &result = fromPtr(thisObj)->isInFloatingWindow();
618 return result;
619}
620// isInMainWindow() const
622{
623 const auto &result = fromPtr(thisObj)->isInMainWindow();
624 return result;
625}
626// isMDI() const
628{
629 const auto &result = fromPtr(thisObj)->isMDI();
630 return result;
631}
632// isMDIWrapper() const
634{
635 const auto &result = fromPtr(thisObj)->isMDIWrapper();
636 return result;
637}
638// isOverlayed() const
640{
641 const auto &result = fromPtr(thisObj)->isOverlayed();
642 return result;
643}
644// isTheOnlyGroup() const
646{
647 const auto &result = fromPtr(thisObj)->isTheOnlyGroup();
648 return result;
649}
650// layoutItem() const
652{
653 const auto &result = fromPtr(thisObj)->layoutItem();
654 return result;
655}
656// mainWindow() const
658{
659 const auto &result = fromPtr(thisObj)->mainWindow();
660 return result;
661}
662// mdiDockWidgetWrapper() const
664{
665 const auto &result = fromPtr(thisObj)->mdiDockWidgetWrapper();
666 return result;
667}
668// mdiDropAreaWrapper() const
670{
671 const auto &result = fromPtr(thisObj)->mdiDropAreaWrapper();
672 return result;
673}
674// mdiFrame() const
676{
677 const auto &result = fromPtr(thisObj)->mdiFrame();
678 return result;
679}
680// nonContentsHeight() const
682{
683 const auto &result = fromPtr(thisObj)->nonContentsHeight();
684 return result;
685}
686// onDockWidgetCountChanged()
691// onDockWidgetTitleChanged(KDDockWidgets::Core::DockWidget * arg__1)
693{
694 auto arg__1 = reinterpret_cast<KDDockWidgets::Core::DockWidget *>(arg__1_);
695 fromPtr(thisObj)->onDockWidgetTitleChanged(arg__1);
696}
697// removeWidget(KDDockWidgets::Core::DockWidget * arg__1)
699{
700 auto arg__1 = reinterpret_cast<KDDockWidgets::Core::DockWidget *>(arg__1_);
701 fromPtr(thisObj)->removeWidget(arg__1);
702}
703// renameTab(int index, const QString & arg__2)
704void c_KDDockWidgets__Core__Group__renameTab_int_QString(void *thisObj, int index, const char *arg__2_)
705{
706 const auto arg__2 = QString::fromUtf8(arg__2_);
707 fromPtr(thisObj)->renameTab(index, arg__2);
708 free(( char * )arg__2_);
709}
710// restoreToPreviousPosition()
715// setCurrentDockWidget(KDDockWidgets::Core::DockWidget * arg__1)
717{
718 auto arg__1 = reinterpret_cast<KDDockWidgets::Core::DockWidget *>(arg__1_);
719 fromPtr(thisObj)->setCurrentDockWidget(arg__1);
720}
721// setCurrentTabIndex(int index)
723{
724 fromPtr(thisObj)->setCurrentTabIndex(index);
725}
726// setLayout(KDDockWidgets::Core::Layout * arg__1)
727void c_KDDockWidgets__Core__Group__setLayout_Layout(void *thisObj, void *arg__1_)
728{
729 auto arg__1 = reinterpret_cast<KDDockWidgets::Core::Layout *>(arg__1_);
730 fromPtr(thisObj)->setLayout(arg__1);
731}
732// setLayoutItem(KDDockWidgets::Core::Item * item)
734{
735 auto item = reinterpret_cast<KDDockWidgets::Core::Item *>(item_);
736 fromPtr(thisObj)->setLayoutItem(item);
737}
738// setParentView_impl(KDDockWidgets::Core::View * parent)
740{
741 auto parent = reinterpret_cast<KDDockWidgets::Core::View *>(parent_);
743}
744// stack() const
746{
747 const auto &result = fromPtr(thisObj)->stack();
748 return result;
749}
750// tabBar() const
752{
753 const auto &result = fromPtr(thisObj)->tabBar();
754 return result;
755}
756// title() const
758{
759 const auto &result = new Dartagnan::ValueWrapper<QString> { fromPtr(thisObj)->title() };
760 return result;
761}
762// titleBar() const
764{
765 const auto &result = fromPtr(thisObj)->titleBar();
766 return result;
767}
768// unoverlay()
770{
771 fromPtr(thisObj)->unoverlay();
772}
773// updateFloatingActions()
778// updateTitleAndIcon()
783// updateTitleBarVisibility()
788// userType() const
790{
791 const auto &result = fromPtr(thisObj)->userType();
792 return result;
793}
795{
796 delete fromPtr(thisObj);
797}
798void c_KDDockWidgets__Core__Group__registerVirtualMethodCallback(void *ptr, void *callback, int methodId)
799{
800 auto wrapper = fromWrapperPtr(ptr);
801 switch (methodId) {
802 case 913:
803 wrapper->m_dragRectCallback = reinterpret_cast<KDDockWidgetsBindings_wrappersNS::KDDWBindingsCore::Group_wrapper::Callback_dragRect>(callback);
804 break;
805 case 915:
806 wrapper->m_focusedWidgetChangedCallbackCallback = reinterpret_cast<KDDockWidgetsBindings_wrappersNS::KDDWBindingsCore::Group_wrapper::Callback_focusedWidgetChangedCallback>(callback);
807 break;
808 case 933:
809 wrapper->m_isFocusedChangedCallbackCallback = reinterpret_cast<KDDockWidgetsBindings_wrappersNS::KDDWBindingsCore::Group_wrapper::Callback_isFocusedChangedCallback>(callback);
810 break;
811 case 331:
812 wrapper->m_setParentView_implCallback = reinterpret_cast<KDDockWidgetsBindings_wrappersNS::KDDWBindingsCore::Group_wrapper::Callback_setParentView_impl>(callback);
813 break;
814 }
815}
816}
void * c_KDDockWidgets__Core__Group__stack(void *thisObj)
void c_KDDockWidgets__Core__Group__addTab_Group_InitialOption(void *thisObj, void *arg__1_, void *arg__2_)
bool c_KDDockWidgets__Core__Group__isDockable(void *thisObj)
bool c_KDDockWidgets__Core__Group__beingDeletedLater(void *thisObj)
static KDDockWidgetsBindings_wrappersNS::KDDWBindingsCore::Group_wrapper * fromWrapperPtr(void *ptr)
void * c_KDDockWidgets__Core__Group__tabBar(void *thisObj)
void * c_KDDockWidgets__Core__Group__layoutItem(void *thisObj)
void c_KDDockWidgets__Core__Group__updateTitleBarVisibility(void *thisObj)
void c_KDDockWidgets__Core__Group__setCurrentTabIndex_int(void *thisObj, int index)
void c_KDDockWidgets__Core__Group__isFocusedChangedCallback(void *thisObj)
void * c_KDDockWidgets__Core__Group__currentDockWidget(void *thisObj)
void * c_KDDockWidgets__Core__Group__actualTitleBar(void *thisObj)
int c_KDDockWidgets__Core__Group__currentTabIndex(void *thisObj)
void c_KDDockWidgets__Core__Group__destructor(void *thisObj)
void c_KDDockWidgets__Core__Group__setParentView_impl_View(void *thisObj, void *parent_)
void c_KDDockWidgets__Core__Group__setLayoutItem_Item(void *thisObj, void *item_)
void * c_KDDockWidgets__Core__Group__title(void *thisObj)
bool c_KDDockWidgets__Core__Group__hasTabsVisible(void *thisObj)
void * c_KDDockWidgets__Core__Group__titleBar(void *thisObj)
int c_KDDockWidgets__Core__Group__nonContentsHeight(void *thisObj)
bool c_KDDockWidgets__Core__Group__isEmpty(void *thisObj)
int c_KDDockWidgets__Core__Group__dockWidgetCount(void *thisObj)
void * c_KDDockWidgets__Core__Group__mdiDropAreaWrapper(void *thisObj)
bool c_KDDockWidgets__Core__Group__anyDockWidgetsHas_LayoutSaverOption(void *thisObj, int arg__1)
bool c_KDDockWidgets__Core__Group__isTheOnlyGroup(void *thisObj)
void c_KDDockWidgets__Core__Group__setCurrentDockWidget_DockWidget(void *thisObj, void *arg__1_)
void c_KDDockWidgets__Core__Group__setLayout_Layout(void *thisObj, void *arg__1_)
void * c_KDDockWidgets__Core__Group__dockWidgetsMinSize(void *thisObj)
void c_KDDockWidgets__Core__Group__insertWidget_DockWidget_int_InitialOption(void *thisObj, void *arg__1_, int index, void *arg__3_)
void * c_KDDockWidgets__Core__Group__mdiDockWidgetWrapper(void *thisObj)
int c_static_KDDockWidgets__Core__Group__dbg_numFrames()
bool c_KDDockWidgets__Core__Group__isMDI(void *thisObj)
void c_KDDockWidgets__Core__Group__onDockWidgetCountChanged(void *thisObj)
void * c_KDDockWidgets__Core__Group__detachTab_DockWidget(void *thisObj, void *arg__1_)
void c_KDDockWidgets__Core__Group_Finalizer(void *cppObj)
void * c_KDDockWidgets__Core__Group__constructor_View(void *parent_)
void * c_KDDockWidgets__Core__Group__dockWidgetAt_int(void *thisObj, int index)
void * c_static_KDDockWidgets__Core__Group__fromItem_Item(void *arg__1_)
bool c_KDDockWidgets__Core__Group__hasNestedMDIDockWidgets(void *thisObj)
bool c_KDDockWidgets__Core__Group__isCentralGroup(void *thisObj)
bool c_KDDockWidgets__Core__Group__alwaysShowsTabs(void *thisObj)
bool c_KDDockWidgets__Core__Group__anyNonClosable(void *thisObj)
void c_KDDockWidgets__Core__Group__addTab_FloatingWindow_InitialOption(void *thisObj, void *floatingWindow_, void *arg__2_)
bool c_KDDockWidgets__Core__Group__isOverlayed(void *thisObj)
bool c_KDDockWidgets__Core__Group__hasSingleDockWidget(void *thisObj)
bool c_KDDockWidgets__Core__Group__allDockWidgetsHave_LayoutSaverOption(void *thisObj, int arg__1)
void c_KDDockWidgets__Core__Group__focusedWidgetChangedCallback(void *thisObj)
int c_KDDockWidgets__Core__Group__currentIndex(void *thisObj)
static KDDockWidgets::Core::Group * fromPtr(void *ptr)
bool c_KDDockWidgets__Core__Group__allDockWidgetsHave_DockWidgetOption(void *thisObj, int arg__1)
void c_KDDockWidgets__Core__Group__insertDockWidget_DockWidget_int(void *thisObj, void *arg__1_, int index)
void c_KDDockWidgets__Core__Group__updateTitleAndIcon(void *thisObj)
void * c_KDDockWidgets__Core__Group__mainWindow(void *thisObj)
void c_KDDockWidgets__Core__Group__registerVirtualMethodCallback(void *ptr, void *callback, int methodId)
void * c_KDDockWidgets__Core__Group__biggestDockWidgetMaxSize(void *thisObj)
void c_KDDockWidgets__Core__Group__updateFloatingActions(void *thisObj)
void * c_KDDockWidgets__Core__Group__floatingWindow(void *thisObj)
bool c_KDDockWidgets__Core__Group__containsDockWidget_DockWidget(void *thisObj, void *w_)
bool c_KDDockWidgets__Core__Group__isInFloatingWindow(void *thisObj)
void c_KDDockWidgets__Core__Group__renameTab_int_QString(void *thisObj, int index, const char *arg__2_)
void c_KDDockWidgets__Core__Group__onDockWidgetTitleChanged_DockWidget(void *thisObj, void *arg__1_)
bool c_KDDockWidgets__Core__Group__anyNonDockable(void *thisObj)
int c_KDDockWidgets__Core__Group__userType(void *thisObj)
bool c_KDDockWidgets__Core__Group__anyDockWidgetsHas_DockWidgetOption(void *thisObj, int arg__1)
void c_KDDockWidgets__Core__Group__unoverlay(void *thisObj)
bool c_KDDockWidgets__Core__Group__isMDIWrapper(void *thisObj)
void * c_KDDockWidgets__Core__Group__dragRect(void *thisObj)
int c_KDDockWidgets__Core__Group__indexOfDockWidget_DockWidget(void *thisObj, void *arg__1_)
bool c_KDDockWidgets__Core__Group__containsMouse_Point(void *thisObj, void *globalPos_)
void c_KDDockWidgets__Core__Group__addTab_DockWidget_InitialOption(void *thisObj, void *arg__1_, void *arg__2_)
void c_KDDockWidgets__Core__Group__removeWidget_DockWidget(void *thisObj, void *arg__1_)
bool c_KDDockWidgets__Core__Group__isInMainWindow(void *thisObj)
bool c_KDDockWidgets__Core__Group__isFloating(void *thisObj)
void * c_KDDockWidgets__Core__Group__mdiFrame(void *thisObj)
void c_KDDockWidgets__Core__Group__restoreToPreviousPosition(void *thisObj)
KDDockWidgets::Core::DockWidget * dockWidgetAt(int index) const
KDDockWidgets::Core::FloatingWindow * detachTab(KDDockWidgets::Core::DockWidget *arg__1)
int indexOfDockWidget(const KDDockWidgets::Core::DockWidget *arg__1)
static KDDockWidgets::Core::Group * fromItem(const KDDockWidgets::Core::Item *arg__1)
bool allDockWidgetsHave(KDDockWidgets::DockWidgetOption arg__1) const
void addTab(KDDockWidgets::Core::DockWidget *arg__1, KDDockWidgets::InitialOption arg__2={})
void insertDockWidget(KDDockWidgets::Core::DockWidget *arg__1, int index)
void(* Callback_setParentView_impl)(void *, KDDockWidgets::Core::View *parent)
virtual void isFocusedChangedCallback()
reimplement in the 1st QObject derived class
virtual void setParentView_impl_nocallback(KDDockWidgets::Core::View *parent)
bool anyDockWidgetsHas(KDDockWidgets::DockWidgetOption arg__1) const
void insertWidget(KDDockWidgets::Core::DockWidget *arg__1, int index, KDDockWidgets::InitialOption arg__3={})
The DockWidget base-class. DockWidget and Core::DockWidget are only split in two so we can share some...
bool isMDI() const
Returns whether this group is in a MDI layout Usually no, unless you're using an MDI main window.
bool hasSingleDockWidget() const
returns whether there's only 1 dock widget.
Definition core/Group.h:196
void isFocusedChangedCallback() override
reimplement in the 1st QObject derived class
bool isCentralGroup() const
returns if this widget is the central group MainWindow supports a mode where the middle group is pers...
void unoverlay()
clears the FrameOption_IsOverlayed flag. For example, if you drag a side-bar overlay,...
int indexOfDockWidget(const DockWidget *)
returns the index of the specified dock widget
DockWidget * dockWidgetAt(int index) const
Returns the dock widget at index.
Core::TitleBar * titleBar() const
void removeWidget(DockWidget *)
removes a dockwidget from the group
bool isEmpty() const
returns whether there's 0 dock widgets. If not persistent then the Frame will delete itself.
Definition core/Group.h:190
bool hasNestedMDIDockWidgets() const
If this group is a MDI group (isMDI() == true), returns whether it contains nested dock widgets (Dock...
bool isInMainWindow() const
Returns whether this group is docked inside a MainWindow.
void setLayout(Layout *)
Sets the Layout which this group is in.
bool alwaysShowsTabs() const
whether the tab widget will always show tabs, even if there's only 1 dock widget
bool isFloating() const
Returns whether this group is floating. A floating group isn't attached to any other MainWindow,...
void setCurrentTabIndex(int index)
sets the current tab index
void insertWidget(DockWidget *, int index, const InitialOption &={})
Inserts a widget into the Group's TabWidget at index.
DropArea * mdiDropAreaWrapper() const
If this is an MDI wrapper group, return the DropArea MDI wrapper.
bool isMDIWrapper() const
Returns whether this group was created automatically just for the purpose of supporting DockWidgetOpt...
void renameTab(int index, const QString &)
bool containsMouse(Point globalPos) const
bool isDockable() const
Returns whether you can DND dock widgets over this group and tab into it.
Core::Item * layoutItem() const
returns the layout item that either contains this Frame in the layout or is a placeholder
void setCurrentDockWidget(DockWidget *)
Sets the specified dock widget to be the current tab.
FloatingWindow * detachTab(DockWidget *)
detaches this dock widget
MainWindow * mainWindow() const
Returns the main window this group is in. nullptr if not inside a main window.
int currentIndex() const
returns the index of the current tab
DockWidget * mdiDockWidgetWrapper() const
If this is an MDI wrapper group, return the DockWidget MDI wrapper.
Size dockWidgetsMinSize() const
Returns the minimum size of the dock widgets. This might be slightly smaller than Frame::minSize() du...
bool hasTabsVisible() const
returns true if tabs are visible
void onDockWidgetTitleChanged(DockWidget *)
void addTab(DockWidget *, const InitialOption &={})
Adds a widget into the Group's Stack.
DockWidget * currentDockWidget() const
Returns the current dock widget.
Core::Stack * stack() const
returns the tab widget
bool isOverlayed() const
Returns whether this group is overlayed on top of the MainWindow (auto-hide feature);.
FloatingWindow * floatingWindow() const
returns the FloatingWindow this group is in, if any
Core::TitleBar * actualTitleBar() const
bool isInFloatingWindow() const
Returns whether this group is in a FloatingWindow, as opposed to MainWindow.
Group * mdiFrame() const
If this group is an MDI wrapper, returns the MDI group. That is the group you actually drag inside th...
bool anyDockWidgetsHas(DockWidgetOption) const
Returns whether at least one dock widget has the specified option set.
Size biggestDockWidgetMaxSize() const
Returns the biggest combined maxSize of all dock widgets.
void restoreToPreviousPosition()
Puts the Group back in its previous main window position.
Core::TabBar * tabBar() const
int userType() const
See Core::DockWidget::userType()
bool containsDockWidget(DockWidget *w) const
returns whether the dockwidget w is inside this group
void focusedWidgetChangedCallback() override
bool beingDeletedLater() const
Returns whether a deleteLater has already been issued.
int dockWidgetCount() const
returns the number of dock widgets inside the group
bool allDockWidgetsHave(DockWidgetOption) const
Returns whether all dock widgets have the specified option set.
void insertDockWidget(DockWidget *, int index)
Inserts a dock widget into the specified index.
void setParentView_impl(View *parent) override
void setLayoutItem(Core::Item *item)
sets the layout item that either contains this Group in the layout or is a placeholder
The widget (QWidget or QQuickItem) which holds a layout of dock widgets.
Definition Layout.h:57
The MainWindow base-class. MainWindow and MainWindowBase are only split in two so we can share some c...
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.
DockWidgetOption
DockWidget options to pass at construction time.
LayoutSaverOption
Options which will affect LayoutSaver save/restore.
QString fromUtf8(const char *str, int size)
Struct describing the preferred dock widget size and visibility when adding it to a layout.

© 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