KDDockWidgets API Documentation 2.0
Loading...
Searching...
No Matches
KDDWBindingsCore/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 KDDWBindingsCore {
34 : ::KDDockWidgets::Core::DockWidget(view, uniqueName, options, layoutSaverOptions)
35{
36}
46{
47 return ::KDDockWidgets::Core::DockWidget::byName(uniqueName);
48}
50{
51 return ::KDDockWidgets::Core::DockWidget::currentTabIndex();
52}
54{
55 return ::KDDockWidgets::Core::DockWidget::floatingWindow();
56}
61KDDockWidgets::Rect DockWidget_wrapper::groupGeometry() const
62{
63 return ::KDDockWidgets::Core::DockWidget::groupGeometry();
64}
66{
67 return ::KDDockWidgets::Core::DockWidget::hasPreviousDockedLocation();
68}
74{
75 return ::KDDockWidgets::Core::DockWidget::isCurrentTab();
76}
78{
79 return ::KDDockWidgets::Core::DockWidget::isFloating();
80}
82{
83 return ::KDDockWidgets::Core::DockWidget::isFocused();
84}
86{
87 return ::KDDockWidgets::Core::DockWidget::isInMainWindow();
88}
90{
91 return ::KDDockWidgets::Core::DockWidget::isInSideBar();
92}
94{
95 return ::KDDockWidgets::Core::DockWidget::isMainWindow();
96}
98{
99 return ::KDDockWidgets::Core::DockWidget::isOpen();
100}
102{
103 return ::KDDockWidgets::Core::DockWidget::isOverlayed();
104}
106{
107 return ::KDDockWidgets::Core::DockWidget::isPersistentCentralDockWidget();
108}
110{
111 return ::KDDockWidgets::Core::DockWidget::isTabbed();
112}
113KDDockWidgets::Size DockWidget_wrapper::lastOverlayedSize() const
114{
115 return ::KDDockWidgets::Core::DockWidget::lastOverlayedSize();
116}
118{
119 return ::KDDockWidgets::Core::DockWidget::layoutSaverOptions();
120}
122{
123 return ::KDDockWidgets::Core::DockWidget::mainWindow();
124}
129void DockWidget_wrapper::onResize(KDDockWidgets::Size newSize)
130{
132}
138{
139 return ::KDDockWidgets::Core::DockWidget::options();
140}
145void DockWidget_wrapper::resizeInLayout(int left, int top, int right, int bottom)
146{
148}
158{
159 return ::KDDockWidgets::Core::DockWidget::setFloating(floats);
160}
182{
184 const void *thisPtr = this;
185 m_setParentView_implCallback(const_cast<void *>(thisPtr), parent);
186 } else {
188 }
189}
206KDDockWidgets::Size DockWidget_wrapper::sizeInLayout() const
207{
208 return ::KDDockWidgets::Core::DockWidget::sizeInLayout();
209}
211{
212 return ::KDDockWidgets::Core::DockWidget::skipsRestore();
213}
215{
216 return ::KDDockWidgets::Core::DockWidget::startDragging(singleTab);
217}
219{
220 return ::KDDockWidgets::Core::DockWidget::tabIndex();
221}
223{
224 return ::KDDockWidgets::Core::DockWidget::title();
225}
227{
228 return ::KDDockWidgets::Core::DockWidget::titleBar();
229}
231{
232 return ::KDDockWidgets::Core::DockWidget::uniqueName();
233}
235{
236 return ::KDDockWidgets::Core::DockWidget::userType();
237}
241
242}
243}
245{
246 return reinterpret_cast<KDDockWidgets::Core::DockWidget *>(ptr);
247}
252extern "C" {
257void *c_KDDockWidgets__Core__DockWidget__constructor_View_QString_DockWidgetOptions_LayoutSaverOptions(void *view_, const char *uniqueName_, int options_, int layoutSaverOptions_)
258{
259 auto view = reinterpret_cast<KDDockWidgets::Core::View *>(view_);
260 const auto uniqueName = QString::fromUtf8(uniqueName_);
261 auto options = static_cast<QFlags<KDDockWidgets::DockWidgetOption>>(options_);
262 auto layoutSaverOptions = static_cast<QFlags<KDDockWidgets::LayoutSaverOption>>(layoutSaverOptions_);
263 auto ptr = new KDDockWidgetsBindings_wrappersNS::KDDWBindingsCore::DockWidget_wrapper(view, uniqueName, options, layoutSaverOptions);
264 return reinterpret_cast<void *>(ptr);
265}
266// addDockWidgetAsTab(KDDockWidgets::Core::DockWidget * other, KDDockWidgets::InitialOption initialOption)
267void c_KDDockWidgets__Core__DockWidget__addDockWidgetAsTab_DockWidget_InitialOption(void *thisObj, void *other_, void *initialOption_)
268{
269 auto other = reinterpret_cast<KDDockWidgets::Core::DockWidget *>(other_);
270 assert(initialOption_);
271 auto &initialOption = *reinterpret_cast<KDDockWidgets::InitialOption *>(initialOption_);
272 fromPtr(thisObj)->addDockWidgetAsTab(other, initialOption);
273}
274// addDockWidgetToContainingWindow(KDDockWidgets::Core::DockWidget * other, KDDockWidgets::Location location, KDDockWidgets::Core::DockWidget * relativeTo, KDDockWidgets::InitialOption initialOption)
275void c_KDDockWidgets__Core__DockWidget__addDockWidgetToContainingWindow_DockWidget_Location_DockWidget_InitialOption(void *thisObj, void *other_, int location, void *relativeTo_, void *initialOption_)
276{
277 auto other = reinterpret_cast<KDDockWidgets::Core::DockWidget *>(other_);
278 auto relativeTo = reinterpret_cast<KDDockWidgets::Core::DockWidget *>(relativeTo_);
279 assert(initialOption_);
280 auto &initialOption = *reinterpret_cast<KDDockWidgets::InitialOption *>(initialOption_);
281 fromPtr(thisObj)->addDockWidgetToContainingWindow(other, static_cast<KDDockWidgets::Location>(location), relativeTo, initialOption);
282}
283// byName(const QString & uniqueName)
285{
286 const auto uniqueName = QString::fromUtf8(uniqueName_);
288 free(( char * )uniqueName_);
289 return result;
290}
291// currentTabIndex() const
293{
294 const auto &result = fromPtr(thisObj)->currentTabIndex();
295 return result;
296}
297// floatingWindow() const
299{
300 const auto &result = fromPtr(thisObj)->floatingWindow();
301 return result;
302}
303// forceClose()
305{
306 fromPtr(thisObj)->forceClose();
307}
308// groupGeometry() const
310{
311 const auto &result = new Dartagnan::ValueWrapper<KDDockWidgets::Rect> { fromPtr(thisObj)->groupGeometry() };
312 return result;
313}
314// hasPreviousDockedLocation() const
316{
317 const auto &result = fromPtr(thisObj)->hasPreviousDockedLocation();
318 return result;
319}
320// init()
322{
323 fromPtr(thisObj)->init();
324}
325// isCurrentTab() const
327{
328 const auto &result = fromPtr(thisObj)->isCurrentTab();
329 return result;
330}
331// isFloating() const
333{
334 const auto &result = fromPtr(thisObj)->isFloating();
335 return result;
336}
337// isFocused() const
339{
340 const auto &result = fromPtr(thisObj)->isFocused();
341 return result;
342}
343// isInMainWindow() const
345{
346 const auto &result = fromPtr(thisObj)->isInMainWindow();
347 return result;
348}
349// isInSideBar() const
351{
352 const auto &result = fromPtr(thisObj)->isInSideBar();
353 return result;
354}
355// isMainWindow() const
357{
358 const auto &result = fromPtr(thisObj)->isMainWindow();
359 return result;
360}
361// isOpen() const
363{
364 const auto &result = fromPtr(thisObj)->isOpen();
365 return result;
366}
367// isOverlayed() const
369{
370 const auto &result = fromPtr(thisObj)->isOverlayed();
371 return result;
372}
373// isPersistentCentralDockWidget() const
375{
376 const auto &result = fromPtr(thisObj)->isPersistentCentralDockWidget();
377 return result;
378}
379// isTabbed() const
381{
382 const auto &result = fromPtr(thisObj)->isTabbed();
383 return result;
384}
385// lastOverlayedSize() const
387{
388 const auto &result = new Dartagnan::ValueWrapper<KDDockWidgets::Size> { fromPtr(thisObj)->lastOverlayedSize() };
389 return result;
390}
391// layoutSaverOptions() const
393{
394 const auto &result = fromPtr(thisObj)->layoutSaverOptions();
395 return result;
396}
397// mainWindow() const
399{
400 const auto &result = fromPtr(thisObj)->mainWindow();
401 return result;
402}
403// moveToSideBar()
405{
406 fromPtr(thisObj)->moveToSideBar();
407}
408// onResize(KDDockWidgets::Size newSize)
409void c_KDDockWidgets__Core__DockWidget__onResize_Size(void *thisObj, void *newSize_)
410{
411 assert(newSize_);
412 auto &newSize = *reinterpret_cast<KDDockWidgets::Size *>(newSize_);
413 fromPtr(thisObj)->onResize(newSize);
414}
415// open()
417{
418 fromPtr(thisObj)->open();
419}
420// options() const
422{
423 const auto &result = fromPtr(thisObj)->options();
424 return result;
425}
426// raise()
428{
429 fromPtr(thisObj)->raise();
430}
431// resizeInLayout(int left, int top, int right, int bottom)
432void c_KDDockWidgets__Core__DockWidget__resizeInLayout_int_int_int_int(void *thisObj, int left, int top, int right, int bottom)
433{
434 fromPtr(thisObj)->resizeInLayout(left, top, right, bottom);
435}
436// setAffinityName(const QString & name)
438{
439 const auto name = QString::fromUtf8(name_);
440 fromPtr(thisObj)->setAffinityName(name);
441 free(( char * )name_);
442}
443// setAsCurrentTab()
448// setFloating(bool floats)
450{
451 const auto &result = fromPtr(thisObj)->setFloating(floats);
452 return result;
453}
454// setFloatingGeometry(KDDockWidgets::Rect geo)
456{
457 assert(geo_);
458 auto &geo = *reinterpret_cast<KDDockWidgets::Rect *>(geo_);
459 fromPtr(thisObj)->setFloatingGeometry(geo);
460}
461// setMDIPosition(KDDockWidgets::Point pos)
463{
464 assert(pos_);
465 auto &pos = *reinterpret_cast<KDDockWidgets::Point *>(pos_);
466 fromPtr(thisObj)->setMDIPosition(pos);
467}
468// setMDISize(KDDockWidgets::Size size)
470{
471 assert(size_);
472 auto &size = *reinterpret_cast<KDDockWidgets::Size *>(size_);
473 fromPtr(thisObj)->setMDISize(size);
474}
475// setMDIZ(int z)
477{
478 fromPtr(thisObj)->setMDIZ(z);
479}
480// setOptions(QFlags<KDDockWidgets::DockWidgetOption> arg__1)
482{
483 auto arg__1 = static_cast<QFlags<KDDockWidgets::DockWidgetOption>>(arg__1_);
484 fromPtr(thisObj)->setOptions(arg__1);
485}
486// setParentView_impl(KDDockWidgets::Core::View * parent)
488{
489 auto parent = reinterpret_cast<KDDockWidgets::Core::View *>(parent_);
491}
492// setTitle(const QString & title)
493void c_KDDockWidgets__Core__DockWidget__setTitle_QString(void *thisObj, const char *title_)
494{
495 const auto title = QString::fromUtf8(title_);
496 fromPtr(thisObj)->setTitle(title);
497 free(( char * )title_);
498}
499// setUserType(int userType)
501{
502 fromPtr(thisObj)->setUserType(userType);
503}
504// show()
506{
507 fromPtr(thisObj)->show();
508}
509// sizeInLayout() const
511{
512 const auto &result = new Dartagnan::ValueWrapper<KDDockWidgets::Size> { fromPtr(thisObj)->sizeInLayout() };
513 return result;
514}
515// skipsRestore() const
517{
518 const auto &result = fromPtr(thisObj)->skipsRestore();
519 return result;
520}
521// startDragging(bool singleTab)
523{
524 const auto &result = fromPtr(thisObj)->startDragging(singleTab);
525 return result;
526}
527// tabIndex() const
529{
530 const auto &result = fromPtr(thisObj)->tabIndex();
531 return result;
532}
533// title() const
535{
536 const auto &result = new Dartagnan::ValueWrapper<QString> { fromPtr(thisObj)->title() };
537 return result;
538}
539// titleBar() const
541{
542 const auto &result = fromPtr(thisObj)->titleBar();
543 return result;
544}
545// uniqueName() const
547{
548 const auto &result = new Dartagnan::ValueWrapper<QString> { fromPtr(thisObj)->uniqueName() };
549 return result;
550}
551// userType() const
553{
554 const auto &result = fromPtr(thisObj)->userType();
555 return result;
556}
558{
559 delete fromPtr(thisObj);
560}
561void c_KDDockWidgets__Core__DockWidget__registerVirtualMethodCallback(void *ptr, void *callback, int methodId)
562{
563 auto wrapper = fromWrapperPtr(ptr);
564 switch (methodId) {
565 case 331:
566 wrapper->m_setParentView_implCallback = reinterpret_cast<KDDockWidgetsBindings_wrappersNS::KDDWBindingsCore::DockWidget_wrapper::Callback_setParentView_impl>(callback);
567 break;
568 }
569}
570}
void c_KDDockWidgets__Core__DockWidget_Finalizer(void *cppObj)
void c_KDDockWidgets__Core__DockWidget__setMDIPosition_Point(void *thisObj, void *pos_)
void c_KDDockWidgets__Core__DockWidget__setParentView_impl_View(void *thisObj, void *parent_)
void c_KDDockWidgets__Core__DockWidget__setAsCurrentTab(void *thisObj)
int c_KDDockWidgets__Core__DockWidget__options(void *thisObj)
void c_KDDockWidgets__Core__DockWidget__raise(void *thisObj)
bool c_KDDockWidgets__Core__DockWidget__startDragging_bool(void *thisObj, bool singleTab)
void c_KDDockWidgets__Core__DockWidget__init(void *thisObj)
bool c_KDDockWidgets__Core__DockWidget__isPersistentCentralDockWidget(void *thisObj)
void c_KDDockWidgets__Core__DockWidget__setMDIZ_int(void *thisObj, int z)
void c_KDDockWidgets__Core__DockWidget__moveToSideBar(void *thisObj)
void * c_KDDockWidgets__Core__DockWidget__sizeInLayout(void *thisObj)
void * c_KDDockWidgets__Core__DockWidget__floatingWindow(void *thisObj)
void c_KDDockWidgets__Core__DockWidget__setMDISize_Size(void *thisObj, void *size_)
bool c_KDDockWidgets__Core__DockWidget__skipsRestore(void *thisObj)
void * c_KDDockWidgets__Core__DockWidget__mainWindow(void *thisObj)
void * c_KDDockWidgets__Core__DockWidget__titleBar(void *thisObj)
bool c_KDDockWidgets__Core__DockWidget__isFloating(void *thisObj)
void c_KDDockWidgets__Core__DockWidget__setFloatingGeometry_Rect(void *thisObj, void *geo_)
void c_KDDockWidgets__Core__DockWidget__registerVirtualMethodCallback(void *ptr, void *callback, int methodId)
void c_KDDockWidgets__Core__DockWidget__resizeInLayout_int_int_int_int(void *thisObj, int left, int top, int right, int bottom)
void c_KDDockWidgets__Core__DockWidget__setOptions_DockWidgetOptions(void *thisObj, int arg__1_)
int c_KDDockWidgets__Core__DockWidget__userType(void *thisObj)
int c_KDDockWidgets__Core__DockWidget__tabIndex(void *thisObj)
void * c_KDDockWidgets__Core__DockWidget__lastOverlayedSize(void *thisObj)
void c_KDDockWidgets__Core__DockWidget__show(void *thisObj)
int c_KDDockWidgets__Core__DockWidget__layoutSaverOptions(void *thisObj)
bool c_KDDockWidgets__Core__DockWidget__setFloating_bool(void *thisObj, bool floats)
int c_KDDockWidgets__Core__DockWidget__currentTabIndex(void *thisObj)
void c_KDDockWidgets__Core__DockWidget__addDockWidgetAsTab_DockWidget_InitialOption(void *thisObj, void *other_, void *initialOption_)
void * c_KDDockWidgets__Core__DockWidget__groupGeometry(void *thisObj)
static KDDockWidgetsBindings_wrappersNS::KDDWBindingsCore::DockWidget_wrapper * fromWrapperPtr(void *ptr)
void * c_KDDockWidgets__Core__DockWidget__uniqueName(void *thisObj)
bool c_KDDockWidgets__Core__DockWidget__isOverlayed(void *thisObj)
void * c_static_KDDockWidgets__Core__DockWidget__byName_QString(const char *uniqueName_)
bool c_KDDockWidgets__Core__DockWidget__isTabbed(void *thisObj)
void c_KDDockWidgets__Core__DockWidget__onResize_Size(void *thisObj, void *newSize_)
void c_KDDockWidgets__Core__DockWidget__addDockWidgetToContainingWindow_DockWidget_Location_DockWidget_InitialOption(void *thisObj, void *other_, int location, void *relativeTo_, void *initialOption_)
void c_KDDockWidgets__Core__DockWidget__destructor(void *thisObj)
bool c_KDDockWidgets__Core__DockWidget__isOpen(void *thisObj)
void c_KDDockWidgets__Core__DockWidget__setAffinityName_QString(void *thisObj, const char *name_)
void c_KDDockWidgets__Core__DockWidget__setUserType_int(void *thisObj, int userType)
bool c_KDDockWidgets__Core__DockWidget__isInMainWindow(void *thisObj)
static KDDockWidgets::Core::DockWidget * fromPtr(void *ptr)
bool c_KDDockWidgets__Core__DockWidget__isCurrentTab(void *thisObj)
void * c_KDDockWidgets__Core__DockWidget__constructor_View_QString_DockWidgetOptions_LayoutSaverOptions(void *view_, const char *uniqueName_, int options_, int layoutSaverOptions_)
bool c_KDDockWidgets__Core__DockWidget__isMainWindow(void *thisObj)
void c_KDDockWidgets__Core__DockWidget__setTitle_QString(void *thisObj, const char *title_)
bool c_KDDockWidgets__Core__DockWidget__hasPreviousDockedLocation(void *thisObj)
void * c_KDDockWidgets__Core__DockWidget__title(void *thisObj)
bool c_KDDockWidgets__Core__DockWidget__isFocused(void *thisObj)
void c_KDDockWidgets__Core__DockWidget__open(void *thisObj)
void c_KDDockWidgets__Core__DockWidget__forceClose(void *thisObj)
bool c_KDDockWidgets__Core__DockWidget__isInSideBar(void *thisObj)
void addDockWidgetToContainingWindow(KDDockWidgets::Core::DockWidget *other, KDDockWidgets::Location location, KDDockWidgets::Core::DockWidget *relativeTo=nullptr, KDDockWidgets::InitialOption initialOption={})
void(* Callback_setParentView_impl)(void *, KDDockWidgets::Core::View *parent)
static KDDockWidgets::Core::DockWidget * byName(const QString &uniqueName)
void addDockWidgetAsTab(KDDockWidgets::Core::DockWidget *other, KDDockWidgets::InitialOption initialOption={})
DockWidget_wrapper(KDDockWidgets::Core::View *view, const QString &uniqueName, QFlags< KDDockWidgets::DockWidgetOption > options={}, QFlags< KDDockWidgets::LayoutSaverOption > layoutSaverOptions={})
The DockWidget base-class. DockWidget and Core::DockWidget are only split in two so we can share some...
void setMDISize(Size size)
like setMDIPosition(), but for the size.
bool setFloating(bool floats)
setter to make the dock widget float or dock.
Core::TitleBar * titleBar() const
Returns this dock widget's title bar.
void setAsCurrentTab()
Makes this dock widget current in its tab group.
void setTitle(const QString &title)
setter for the dock widget's title
void show()
Deprecated, use open() instead. Visibility isn't a good concept since tabbed non-current dock widgets...
bool isCurrentTab() const
Returns true if this dock widget is the current one in the tab widget that contains it....
MainWindow * mainWindow() const
Returns the main window this dock widget is in. nullptr if it's not inside a main window Also returns...
Size lastOverlayedSize() const
returns the last size the widget has when overlayed Empty otherwise
void addDockWidgetToContainingWindow(KDDockWidgets::Core::DockWidget *other, KDDockWidgets::Location location, KDDockWidgets::Core::DockWidget *relativeTo=nullptr, KDDockWidgets::InitialOption initialOption={})
docks other widget into the window that contains this one. Equivalent to MainWindow::addDockWidget() ...
void resizeInLayout(int left, int top, int right, int bottom)
void setUserType(int userType)
Allows the user to set a type on this dock widget The type is opaque and will not be interpreted by K...
QString uniqueName() const
the dock widget's unique name.
void addDockWidgetAsTab(KDDockWidgets::Core::DockWidget *other, KDDockWidgets::InitialOption initialOption={})
docks other widget into this one. Tabs will be shown if not already.
Rect groupGeometry() const
Returns the size of the dock widget's parent group.
bool skipsRestore() const
Returns whether this widget has the LayoutSaverOption::Skip flag.
void setOptions(DockWidgetOptions)
Setter for the options. Only DockWidetOption_NotClosable is allowed to change after construction....
bool isOpen() const
Returns whether this dock widget is open. Equivalent to calling toggleAction().isChecked()
void open()
Opens this dock widget. Does nothing if already open. The dock widget will appear floating unless it ...
bool isFocused() const
Returns whether This or any child of this dock widget is focused Not to be confused with QWidget::has...
bool isOverlayed() const
Returns whether this dock widget is overlayed from the side-bar.
void setMDIZ(int z)
like setMDIPosition(), but for the Z only implemented for QtQuick
bool isTabbed() const
returns if this dock widget is tabbed into another
QString title() const
Returns the dock widget's title. This title is visible in title bars and tab bars.
bool isInSideBar() const
Returns where this dockwidget is in a sidebar Similar to sideBarLocation(), but returns a bool.
int tabIndex() const
Returns the tab index this dock widget occupies Note that dock widgets are almost always tabbed,...
int currentTabIndex() const
Returns the index of the current tab of the tab group this dock widget is in.
void moveToSideBar()
Minimizes this dock widget to the MainWindow's side-bar.
bool isFloating() const
Returns whether the dock widget is floating. Floating means it's not docked and has a window of its o...
bool startDragging(bool singleTab=false)
void setParentView_impl(View *parent) override
void setMDIPosition(Point pos)
Sets this dock widgets position to pos within the MDI layout This only applies if the main window is ...
bool isInMainWindow() const
Returns whether this dock widget is docked into a main window (as opposed to floating)
void setFloatingGeometry(Rect geo)
If this dock widget is floating, then sets its geometry to geo.
void raise()
Brings the dock widget to the front.
bool hasPreviousDockedLocation() const
Returns whether this floating dock widget knows its previous docked location Result only makes sense ...
bool isPersistentCentralDockWidget() const
Returns whether this dock widget is the main window persistent central widget This only applies when ...
bool isMainWindow() const
Returns whether widget() is a KDDockWidget::MainWindow.
FloatingWindow * floatingWindow() const
returns the FloatingWindow this widget is in, otherwise nullptr
DockWidgetOptions options() const
Returns the dock widget's options which control behaviour.
KDDockWidgets::LayoutSaverOptions layoutSaverOptions() const
returns the per-dockwidget options which will affect LayoutSaver These are the options which were pas...
void forceClose()
Like QWidget::close() but the hosted widget won't be asked if we should close.
void setAffinityName(const QString &name)
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.
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