KDDockWidgets API Documentation 2.0
Loading...
Searching...
No Matches
KDDWBindingsCore/TitleBar_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 "core/TitleBar.h"
13#include <FloatingWindow.h>
14#include <core/Group.h>
15#include <core/View.h>
16#include <core/DockWidget.h>
17#include <string_p.h>
18#include "core/MainWindow.h"
19#include <TabBar.h>
20#include <geometry_helpers_p.h>
21
23namespace KDDWBindingsCore {
25{
26public:
31 bool closeButtonEnabled() const;
33 bool floatButtonVisible() const;
36 bool hasIcon() const;
37 bool isCloseButtonEnabled() const;
38 bool isCloseButtonVisible() const;
39 bool isFloatButtonVisible() const;
40 bool isFloating() const;
41 bool isFocused() const;
42 virtual bool isMDI() const;
43 virtual bool isMDI_nocallback() const;
44 bool isOverlayed() const;
45 bool isStandalone() const;
46 virtual bool isWindow() const;
47 virtual bool isWindow_nocallback() const;
49 bool maximizeButtonVisible() const;
50 void onAutoHideClicked();
51 void onCloseClicked();
52 bool onDoubleClicked();
53 void onFloatClicked();
54 void onMaximizeClicked();
55 void onMinimizeClicked();
56 void setCloseButtonEnabled(bool arg__1);
57 void setFloatButtonVisible(bool arg__1);
60 void setTitle(const QString &title);
61 bool supportsAutoHideButton() const;
62 bool supportsFloatingButton() const;
63 bool supportsMaximizeButton() const;
64 bool supportsMinimizeButton() const;
66 QString title() const;
67 bool titleBarIsFocusable() const;
68 void toggleMaximized();
69 void updateButtons();
70 typedef bool (*Callback_isMDI)(void *);
72 typedef bool (*Callback_isWindow)(void *);
76 typedef KDDockWidgets::Core::DockWidget *(*Callback_singleDockWidget)(void *);
78};
79}
80}
81extern "C" {
82// KDDockWidgets::Core::TitleBar::TitleBar(KDDockWidgets::Core::FloatingWindow * parent)
84// KDDockWidgets::Core::TitleBar::TitleBar(KDDockWidgets::Core::Group * parent)
85DOCKS_EXPORT void *c_KDDockWidgets__Core__TitleBar__constructor_Group(void *parent_);
86// KDDockWidgets::Core::TitleBar::TitleBar(KDDockWidgets::Core::View * arg__1)
87DOCKS_EXPORT void *c_KDDockWidgets__Core__TitleBar__constructor_View(void *arg__1_);
88// KDDockWidgets::Core::TitleBar::closeButtonEnabled() const
89DOCKS_EXPORT bool c_KDDockWidgets__Core__TitleBar__closeButtonEnabled(void *thisObj);
90// KDDockWidgets::Core::TitleBar::floatButtonToolTip() const
91DOCKS_EXPORT void *c_KDDockWidgets__Core__TitleBar__floatButtonToolTip(void *thisObj);
92// KDDockWidgets::Core::TitleBar::floatButtonVisible() const
93DOCKS_EXPORT bool c_KDDockWidgets__Core__TitleBar__floatButtonVisible(void *thisObj);
94// KDDockWidgets::Core::TitleBar::floatingWindow() const
95DOCKS_EXPORT void *c_KDDockWidgets__Core__TitleBar__floatingWindow(void *thisObj);
96// KDDockWidgets::Core::TitleBar::group() const
97DOCKS_EXPORT void *c_KDDockWidgets__Core__TitleBar__group(void *thisObj);
98// KDDockWidgets::Core::TitleBar::hasIcon() const
99DOCKS_EXPORT bool c_KDDockWidgets__Core__TitleBar__hasIcon(void *thisObj);
100// KDDockWidgets::Core::TitleBar::isCloseButtonEnabled() const
101DOCKS_EXPORT bool c_KDDockWidgets__Core__TitleBar__isCloseButtonEnabled(void *thisObj);
102// KDDockWidgets::Core::TitleBar::isCloseButtonVisible() const
103DOCKS_EXPORT bool c_KDDockWidgets__Core__TitleBar__isCloseButtonVisible(void *thisObj);
104// KDDockWidgets::Core::TitleBar::isFloatButtonVisible() const
105DOCKS_EXPORT bool c_KDDockWidgets__Core__TitleBar__isFloatButtonVisible(void *thisObj);
106// KDDockWidgets::Core::TitleBar::isFloating() const
107DOCKS_EXPORT bool c_KDDockWidgets__Core__TitleBar__isFloating(void *thisObj);
108// KDDockWidgets::Core::TitleBar::isFocused() const
109DOCKS_EXPORT bool c_KDDockWidgets__Core__TitleBar__isFocused(void *thisObj);
110// KDDockWidgets::Core::TitleBar::isMDI() const
111DOCKS_EXPORT bool c_KDDockWidgets__Core__TitleBar__isMDI(void *thisObj);
112// KDDockWidgets::Core::TitleBar::isOverlayed() const
113DOCKS_EXPORT bool c_KDDockWidgets__Core__TitleBar__isOverlayed(void *thisObj);
114// KDDockWidgets::Core::TitleBar::isStandalone() const
115DOCKS_EXPORT bool c_KDDockWidgets__Core__TitleBar__isStandalone(void *thisObj);
116// KDDockWidgets::Core::TitleBar::isWindow() const
117DOCKS_EXPORT bool c_KDDockWidgets__Core__TitleBar__isWindow(void *thisObj);
118// KDDockWidgets::Core::TitleBar::mainWindow() const
119DOCKS_EXPORT void *c_KDDockWidgets__Core__TitleBar__mainWindow(void *thisObj);
120// KDDockWidgets::Core::TitleBar::maximizeButtonVisible() const
121DOCKS_EXPORT bool c_KDDockWidgets__Core__TitleBar__maximizeButtonVisible(void *thisObj);
122// KDDockWidgets::Core::TitleBar::onAutoHideClicked()
123DOCKS_EXPORT void c_KDDockWidgets__Core__TitleBar__onAutoHideClicked(void *thisObj);
124// KDDockWidgets::Core::TitleBar::onCloseClicked()
125DOCKS_EXPORT void c_KDDockWidgets__Core__TitleBar__onCloseClicked(void *thisObj);
126// KDDockWidgets::Core::TitleBar::onDoubleClicked()
127DOCKS_EXPORT bool c_KDDockWidgets__Core__TitleBar__onDoubleClicked(void *thisObj);
128// KDDockWidgets::Core::TitleBar::onFloatClicked()
129DOCKS_EXPORT void c_KDDockWidgets__Core__TitleBar__onFloatClicked(void *thisObj);
130// KDDockWidgets::Core::TitleBar::onMaximizeClicked()
131DOCKS_EXPORT void c_KDDockWidgets__Core__TitleBar__onMaximizeClicked(void *thisObj);
132// KDDockWidgets::Core::TitleBar::onMinimizeClicked()
133DOCKS_EXPORT void c_KDDockWidgets__Core__TitleBar__onMinimizeClicked(void *thisObj);
134// KDDockWidgets::Core::TitleBar::setCloseButtonEnabled(bool arg__1)
135DOCKS_EXPORT void c_KDDockWidgets__Core__TitleBar__setCloseButtonEnabled_bool(void *thisObj, bool arg__1);
136// KDDockWidgets::Core::TitleBar::setFloatButtonVisible(bool arg__1)
137DOCKS_EXPORT void c_KDDockWidgets__Core__TitleBar__setFloatButtonVisible_bool(void *thisObj, bool arg__1);
138// KDDockWidgets::Core::TitleBar::setParentView_impl(KDDockWidgets::Core::View * parent)
139DOCKS_EXPORT void c_KDDockWidgets__Core__TitleBar__setParentView_impl_View(void *thisObj, void *parent_);
140// KDDockWidgets::Core::TitleBar::setTitle(const QString & title)
141DOCKS_EXPORT void c_KDDockWidgets__Core__TitleBar__setTitle_QString(void *thisObj, const char *title_);
142// KDDockWidgets::Core::TitleBar::singleDockWidget() const
143DOCKS_EXPORT void *c_KDDockWidgets__Core__TitleBar__singleDockWidget(void *thisObj);
144// KDDockWidgets::Core::TitleBar::supportsAutoHideButton() const
145DOCKS_EXPORT bool c_KDDockWidgets__Core__TitleBar__supportsAutoHideButton(void *thisObj);
146// KDDockWidgets::Core::TitleBar::supportsFloatingButton() const
147DOCKS_EXPORT bool c_KDDockWidgets__Core__TitleBar__supportsFloatingButton(void *thisObj);
148// KDDockWidgets::Core::TitleBar::supportsMaximizeButton() const
149DOCKS_EXPORT bool c_KDDockWidgets__Core__TitleBar__supportsMaximizeButton(void *thisObj);
150// KDDockWidgets::Core::TitleBar::supportsMinimizeButton() const
151DOCKS_EXPORT bool c_KDDockWidgets__Core__TitleBar__supportsMinimizeButton(void *thisObj);
152// KDDockWidgets::Core::TitleBar::tabBar() const
153DOCKS_EXPORT void *c_KDDockWidgets__Core__TitleBar__tabBar(void *thisObj);
154// KDDockWidgets::Core::TitleBar::title() const
155DOCKS_EXPORT void *c_KDDockWidgets__Core__TitleBar__title(void *thisObj);
156// KDDockWidgets::Core::TitleBar::titleBarIsFocusable() const
157DOCKS_EXPORT bool c_KDDockWidgets__Core__TitleBar__titleBarIsFocusable(void *thisObj);
158// KDDockWidgets::Core::TitleBar::toggleMaximized()
159DOCKS_EXPORT void c_KDDockWidgets__Core__TitleBar__toggleMaximized(void *thisObj);
160// KDDockWidgets::Core::TitleBar::updateButtons()
161DOCKS_EXPORT void c_KDDockWidgets__Core__TitleBar__updateButtons(void *thisObj);
162DOCKS_EXPORT void c_KDDockWidgets__Core__TitleBar__destructor(void *thisObj);
163DOCKS_EXPORT void c_KDDockWidgets__Core__TitleBar__registerVirtualMethodCallback(void *ptr, void *callback, int methodId);
164DOCKS_EXPORT void c_KDDockWidgets__Core__TitleBar_Finalizer(void *cppObj);
165}
DOCKS_EXPORT bool c_KDDockWidgets__Core__TitleBar__isOverlayed(void *thisObj)
DOCKS_EXPORT void * c_KDDockWidgets__Core__TitleBar__constructor_View(void *arg__1_)
DOCKS_EXPORT bool c_KDDockWidgets__Core__TitleBar__supportsFloatingButton(void *thisObj)
DOCKS_EXPORT bool c_KDDockWidgets__Core__TitleBar__isCloseButtonVisible(void *thisObj)
DOCKS_EXPORT void * c_KDDockWidgets__Core__TitleBar__title(void *thisObj)
DOCKS_EXPORT bool c_KDDockWidgets__Core__TitleBar__hasIcon(void *thisObj)
DOCKS_EXPORT bool c_KDDockWidgets__Core__TitleBar__maximizeButtonVisible(void *thisObj)
DOCKS_EXPORT bool c_KDDockWidgets__Core__TitleBar__floatButtonVisible(void *thisObj)
DOCKS_EXPORT bool c_KDDockWidgets__Core__TitleBar__onDoubleClicked(void *thisObj)
DOCKS_EXPORT void * c_KDDockWidgets__Core__TitleBar__tabBar(void *thisObj)
DOCKS_EXPORT void c_KDDockWidgets__Core__TitleBar__onAutoHideClicked(void *thisObj)
DOCKS_EXPORT void c_KDDockWidgets__Core__TitleBar__onCloseClicked(void *thisObj)
DOCKS_EXPORT void * c_KDDockWidgets__Core__TitleBar__constructor_Group(void *parent_)
DOCKS_EXPORT void c_KDDockWidgets__Core__TitleBar__updateButtons(void *thisObj)
DOCKS_EXPORT void c_KDDockWidgets__Core__TitleBar__setTitle_QString(void *thisObj, const char *title_)
DOCKS_EXPORT bool c_KDDockWidgets__Core__TitleBar__closeButtonEnabled(void *thisObj)
DOCKS_EXPORT void c_KDDockWidgets__Core__TitleBar__registerVirtualMethodCallback(void *ptr, void *callback, int methodId)
DOCKS_EXPORT void c_KDDockWidgets__Core__TitleBar__onFloatClicked(void *thisObj)
DOCKS_EXPORT void c_KDDockWidgets__Core__TitleBar__setParentView_impl_View(void *thisObj, void *parent_)
DOCKS_EXPORT void c_KDDockWidgets__Core__TitleBar_Finalizer(void *cppObj)
DOCKS_EXPORT bool c_KDDockWidgets__Core__TitleBar__isCloseButtonEnabled(void *thisObj)
DOCKS_EXPORT void c_KDDockWidgets__Core__TitleBar__onMinimizeClicked(void *thisObj)
DOCKS_EXPORT void c_KDDockWidgets__Core__TitleBar__toggleMaximized(void *thisObj)
DOCKS_EXPORT bool c_KDDockWidgets__Core__TitleBar__isMDI(void *thisObj)
DOCKS_EXPORT void c_KDDockWidgets__Core__TitleBar__setCloseButtonEnabled_bool(void *thisObj, bool arg__1)
DOCKS_EXPORT void * c_KDDockWidgets__Core__TitleBar__singleDockWidget(void *thisObj)
DOCKS_EXPORT void c_KDDockWidgets__Core__TitleBar__destructor(void *thisObj)
DOCKS_EXPORT void * c_KDDockWidgets__Core__TitleBar__group(void *thisObj)
DOCKS_EXPORT bool c_KDDockWidgets__Core__TitleBar__isFloating(void *thisObj)
DOCKS_EXPORT bool c_KDDockWidgets__Core__TitleBar__isStandalone(void *thisObj)
DOCKS_EXPORT bool c_KDDockWidgets__Core__TitleBar__supportsAutoHideButton(void *thisObj)
DOCKS_EXPORT bool c_KDDockWidgets__Core__TitleBar__supportsMinimizeButton(void *thisObj)
DOCKS_EXPORT void c_KDDockWidgets__Core__TitleBar__setFloatButtonVisible_bool(void *thisObj, bool arg__1)
DOCKS_EXPORT void c_KDDockWidgets__Core__TitleBar__onMaximizeClicked(void *thisObj)
DOCKS_EXPORT void * c_KDDockWidgets__Core__TitleBar__floatButtonToolTip(void *thisObj)
DOCKS_EXPORT bool c_KDDockWidgets__Core__TitleBar__isWindow(void *thisObj)
DOCKS_EXPORT bool c_KDDockWidgets__Core__TitleBar__isFloatButtonVisible(void *thisObj)
DOCKS_EXPORT bool c_KDDockWidgets__Core__TitleBar__titleBarIsFocusable(void *thisObj)
DOCKS_EXPORT bool c_KDDockWidgets__Core__TitleBar__isFocused(void *thisObj)
DOCKS_EXPORT bool c_KDDockWidgets__Core__TitleBar__supportsMaximizeButton(void *thisObj)
DOCKS_EXPORT void * c_KDDockWidgets__Core__TitleBar__constructor_FloatingWindow(void *parent_)
DOCKS_EXPORT void * c_KDDockWidgets__Core__TitleBar__mainWindow(void *thisObj)
DOCKS_EXPORT void * c_KDDockWidgets__Core__TitleBar__floatingWindow(void *thisObj)
void(* Callback_setParentView_impl)(void *, KDDockWidgets::Core::View *parent)
The DockWidget base-class. DockWidget and Core::DockWidget are only split in two so we can share some...
The MainWindow base-class. MainWindow and MainWindowBase are only split in two so we can share some c...
The DockWidget controller that's shared between QtWidgets and QtQuick frontends.
The MainWindow base-class that's shared between QtWidgets and QtQuick stack.

© 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