KDDockWidgets API Documentation 2.0
Loading...
Searching...
No Matches
Size_c.h
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 "kddockwidgets_export.h"
12#include <geometry_helpers_p.h>
13
15class Size_wrapper : public ::KDDockWidgets::Size
16{
17public:
20 Size_wrapper(int width, int height);
21 KDDockWidgets::Size boundedTo(KDDockWidgets::Size sz) const;
22 KDDockWidgets::Size expandedTo(KDDockWidgets::Size sz) const;
23 int height() const;
24 bool isEmpty() const;
25 bool isNull() const;
26 bool isValid() const;
27 void setHeight(int h);
28 void setWidth(int w);
29 int width() const;
30};
31}
32extern "C" {
33// KDDockWidgets::Size::Size()
34DOCKS_EXPORT void *c_KDDockWidgets__Size__constructor();
35// KDDockWidgets::Size::Size(int width, int height)
36DOCKS_EXPORT void *c_KDDockWidgets__Size__constructor_int_int(int width, int height);
37// KDDockWidgets::Size::boundedTo(KDDockWidgets::Size sz) const
38DOCKS_EXPORT void *c_KDDockWidgets__Size__boundedTo_Size(void *thisObj, void *sz_);
39// KDDockWidgets::Size::expandedTo(KDDockWidgets::Size sz) const
40DOCKS_EXPORT void *c_KDDockWidgets__Size__expandedTo_Size(void *thisObj, void *sz_);
41// KDDockWidgets::Size::height() const
42DOCKS_EXPORT int c_KDDockWidgets__Size__height(void *thisObj);
43// KDDockWidgets::Size::isEmpty() const
44DOCKS_EXPORT bool c_KDDockWidgets__Size__isEmpty(void *thisObj);
45// KDDockWidgets::Size::isNull() const
46DOCKS_EXPORT bool c_KDDockWidgets__Size__isNull(void *thisObj);
47// KDDockWidgets::Size::isValid() const
48DOCKS_EXPORT bool c_KDDockWidgets__Size__isValid(void *thisObj);
49// KDDockWidgets::Size::setHeight(int h)
50DOCKS_EXPORT void c_KDDockWidgets__Size__setHeight_int(void *thisObj, int h);
51// KDDockWidgets::Size::setWidth(int w)
52DOCKS_EXPORT void c_KDDockWidgets__Size__setWidth_int(void *thisObj, int w);
53// KDDockWidgets::Size::width() const
54DOCKS_EXPORT int c_KDDockWidgets__Size__width(void *thisObj);
55DOCKS_EXPORT void c_KDDockWidgets__Size__destructor(void *thisObj);
56DOCKS_EXPORT void c_KDDockWidgets__Size_Finalizer(void *cppObj);
57}
DOCKS_EXPORT void * c_KDDockWidgets__Size__constructor_int_int(int width, int height)
Definition Size_c.cpp:99
DOCKS_EXPORT void * c_KDDockWidgets__Size__boundedTo_Size(void *thisObj, void *sz_)
Definition Size_c.cpp:105
DOCKS_EXPORT void * c_KDDockWidgets__Size__constructor()
Definition Size_c.cpp:94
DOCKS_EXPORT void c_KDDockWidgets__Size__destructor(void *thisObj)
Definition Size_c.cpp:160
DOCKS_EXPORT bool c_KDDockWidgets__Size__isValid(void *thisObj)
Definition Size_c.cpp:139
DOCKS_EXPORT bool c_KDDockWidgets__Size__isNull(void *thisObj)
Definition Size_c.cpp:133
DOCKS_EXPORT void c_KDDockWidgets__Size__setHeight_int(void *thisObj, int h)
Definition Size_c.cpp:145
DOCKS_EXPORT void c_KDDockWidgets__Size__setWidth_int(void *thisObj, int w)
Definition Size_c.cpp:150
DOCKS_EXPORT void * c_KDDockWidgets__Size__expandedTo_Size(void *thisObj, void *sz_)
Definition Size_c.cpp:113
DOCKS_EXPORT bool c_KDDockWidgets__Size__isEmpty(void *thisObj)
Definition Size_c.cpp:127
DOCKS_EXPORT void c_KDDockWidgets__Size_Finalizer(void *cppObj)
Definition Size_c.cpp:90
DOCKS_EXPORT int c_KDDockWidgets__Size__width(void *thisObj)
Definition Size_c.cpp:155
DOCKS_EXPORT int c_KDDockWidgets__Size__height(void *thisObj)
Definition Size_c.cpp:121
KDDockWidgets::Size expandedTo(KDDockWidgets::Size sz) const
Definition Size_c.cpp:44
KDDockWidgets::Size boundedTo(KDDockWidgets::Size sz) const
Definition Size_c.cpp:40

© 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