KDDockWidgets API Documentation 2.1
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 setCloseButtonVisible(bool arg__1);
58 void setFloatButtonVisible(bool arg__1);
61 void setTitle(const QString &title);
62 bool supportsAutoHideButton() const;
63 bool supportsFloatingButton() const;
64 bool supportsMaximizeButton() const;
65 bool supportsMinimizeButton() const;
67 QString title() const;
68 bool titleBarIsFocusable() const;
69 void toggleMaximized();
70 void updateButtons();
71 typedef bool (*Callback_isMDI)(void *);
73 typedef bool (*Callback_isWindow)(void *);
77 typedef KDDockWidgets::Core::DockWidget *(*Callback_singleDockWidget)(void *);
79};
80}
81}
82extern "C" {
83// KDDockWidgets::Core::TitleBar::TitleBar(KDDockWidgets::Core::FloatingWindow * parent)
85// KDDockWidgets::Core::TitleBar::TitleBar(KDDockWidgets::Core::Group * parent)
86DOCKS_EXPORT void *c_KDDockWidgets__Core__TitleBar__constructor_Group(void *parent_);
87// KDDockWidgets::Core::TitleBar::TitleBar(KDDockWidgets::Core::View * arg__1)
88DOCKS_EXPORT void *c_KDDockWidgets__Core__TitleBar__constructor_View(void *arg__1_);
89// KDDockWidgets::Core::TitleBar::closeButtonEnabled() const
90DOCKS_EXPORT bool c_KDDockWidgets__Core__TitleBar__closeButtonEnabled(void *thisObj);
91// KDDockWidgets::Core::TitleBar::floatButtonToolTip() const
92DOCKS_EXPORT void *c_KDDockWidgets__Core__TitleBar__floatButtonToolTip(void *thisObj);
93// KDDockWidgets::Core::TitleBar::floatButtonVisible() const
94DOCKS_EXPORT bool c_KDDockWidgets__Core__TitleBar__floatButtonVisible(void *thisObj);
95// KDDockWidgets::Core::TitleBar::floatingWindow() const
96DOCKS_EXPORT void *c_KDDockWidgets__Core__TitleBar__floatingWindow(void *thisObj);
97// KDDockWidgets::Core::TitleBar::group() const
98DOCKS_EXPORT void *c_KDDockWidgets__Core__TitleBar__group(void *thisObj);
99// KDDockWidgets::Core::TitleBar::hasIcon() const
100DOCKS_EXPORT bool c_KDDockWidgets__Core__TitleBar__hasIcon(void *thisObj);
101// KDDockWidgets::Core::TitleBar::isCloseButtonEnabled() const
102DOCKS_EXPORT bool c_KDDockWidgets__Core__TitleBar__isCloseButtonEnabled(void *thisObj);
103// KDDockWidgets::Core::TitleBar::isCloseButtonVisible() const
104DOCKS_EXPORT bool c_KDDockWidgets__Core__TitleBar__isCloseButtonVisible(void *thisObj);
105// KDDockWidgets::Core::TitleBar::isFloatButtonVisible() const
106DOCKS_EXPORT bool c_KDDockWidgets__Core__TitleBar__isFloatButtonVisible(void *thisObj);
107// KDDockWidgets::Core::TitleBar::isFloating() const
108DOCKS_EXPORT bool c_KDDockWidgets__Core__TitleBar__isFloating(void *thisObj);
109// KDDockWidgets::Core::TitleBar::isFocused() const
110DOCKS_EXPORT bool c_KDDockWidgets__Core__TitleBar__isFocused(void *thisObj);
111// KDDockWidgets::Core::TitleBar::isMDI() const
112DOCKS_EXPORT bool c_KDDockWidgets__Core__TitleBar__isMDI(void *thisObj);
113// KDDockWidgets::Core::TitleBar::isOverlayed() const
114DOCKS_EXPORT bool c_KDDockWidgets__Core__TitleBar__isOverlayed(void *thisObj);
115// KDDockWidgets::Core::TitleBar::isStandalone() const
116DOCKS_EXPORT bool c_KDDockWidgets__Core__TitleBar__isStandalone(void *thisObj);
117// KDDockWidgets::Core::TitleBar::isWindow() const
118DOCKS_EXPORT bool c_KDDockWidgets__Core__TitleBar__isWindow(void *thisObj);
119// KDDockWidgets::Core::TitleBar::mainWindow() const
120DOCKS_EXPORT void *c_KDDockWidgets__Core__TitleBar__mainWindow(void *thisObj);
121// KDDockWidgets::Core::TitleBar::maximizeButtonVisible() const
122DOCKS_EXPORT bool c_KDDockWidgets__Core__TitleBar__maximizeButtonVisible(void *thisObj);
123// KDDockWidgets::Core::TitleBar::onAutoHideClicked()
124DOCKS_EXPORT void c_KDDockWidgets__Core__TitleBar__onAutoHideClicked(void *thisObj);
125// KDDockWidgets::Core::TitleBar::onCloseClicked()
126DOCKS_EXPORT void c_KDDockWidgets__Core__TitleBar__onCloseClicked(void *thisObj);
127// KDDockWidgets::Core::TitleBar::onDoubleClicked()
128DOCKS_EXPORT bool c_KDDockWidgets__Core__TitleBar__onDoubleClicked(void *thisObj);
129// KDDockWidgets::Core::TitleBar::onFloatClicked()
130DOCKS_EXPORT void c_KDDockWidgets__Core__TitleBar__onFloatClicked(void *thisObj);
131// KDDockWidgets::Core::TitleBar::onMaximizeClicked()
132DOCKS_EXPORT void c_KDDockWidgets__Core__TitleBar__onMaximizeClicked(void *thisObj);
133// KDDockWidgets::Core::TitleBar::onMinimizeClicked()
134DOCKS_EXPORT void c_KDDockWidgets__Core__TitleBar__onMinimizeClicked(void *thisObj);
135// KDDockWidgets::Core::TitleBar::setCloseButtonEnabled(bool arg__1)
136DOCKS_EXPORT void c_KDDockWidgets__Core__TitleBar__setCloseButtonEnabled_bool(void *thisObj, bool arg__1);
137// KDDockWidgets::Core::TitleBar::setCloseButtonVisible(bool arg__1)
138DOCKS_EXPORT void c_KDDockWidgets__Core__TitleBar__setCloseButtonVisible_bool(void *thisObj, bool arg__1);
139// KDDockWidgets::Core::TitleBar::setFloatButtonVisible(bool arg__1)
140DOCKS_EXPORT void c_KDDockWidgets__Core__TitleBar__setFloatButtonVisible_bool(void *thisObj, bool arg__1);
141// KDDockWidgets::Core::TitleBar::setParentView_impl(KDDockWidgets::Core::View * parent)
142DOCKS_EXPORT void c_KDDockWidgets__Core__TitleBar__setParentView_impl_View(void *thisObj, void *parent_);
143// KDDockWidgets::Core::TitleBar::setTitle(const QString & title)
144DOCKS_EXPORT void c_KDDockWidgets__Core__TitleBar__setTitle_QString(void *thisObj, const char *title_);
145// KDDockWidgets::Core::TitleBar::singleDockWidget() const
146DOCKS_EXPORT void *c_KDDockWidgets__Core__TitleBar__singleDockWidget(void *thisObj);
147// KDDockWidgets::Core::TitleBar::supportsAutoHideButton() const
148DOCKS_EXPORT bool c_KDDockWidgets__Core__TitleBar__supportsAutoHideButton(void *thisObj);
149// KDDockWidgets::Core::TitleBar::supportsFloatingButton() const
150DOCKS_EXPORT bool c_KDDockWidgets__Core__TitleBar__supportsFloatingButton(void *thisObj);
151// KDDockWidgets::Core::TitleBar::supportsMaximizeButton() const
152DOCKS_EXPORT bool c_KDDockWidgets__Core__TitleBar__supportsMaximizeButton(void *thisObj);
153// KDDockWidgets::Core::TitleBar::supportsMinimizeButton() const
154DOCKS_EXPORT bool c_KDDockWidgets__Core__TitleBar__supportsMinimizeButton(void *thisObj);
155// KDDockWidgets::Core::TitleBar::tabBar() const
156DOCKS_EXPORT void *c_KDDockWidgets__Core__TitleBar__tabBar(void *thisObj);
157// KDDockWidgets::Core::TitleBar::title() const
158DOCKS_EXPORT void *c_KDDockWidgets__Core__TitleBar__title(void *thisObj);
159// KDDockWidgets::Core::TitleBar::titleBarIsFocusable() const
160DOCKS_EXPORT bool c_KDDockWidgets__Core__TitleBar__titleBarIsFocusable(void *thisObj);
161// KDDockWidgets::Core::TitleBar::toggleMaximized()
162DOCKS_EXPORT void c_KDDockWidgets__Core__TitleBar__toggleMaximized(void *thisObj);
163// KDDockWidgets::Core::TitleBar::updateButtons()
164DOCKS_EXPORT void c_KDDockWidgets__Core__TitleBar__updateButtons(void *thisObj);
165DOCKS_EXPORT void c_KDDockWidgets__Core__TitleBar__destructor(void *thisObj);
166DOCKS_EXPORT void c_KDDockWidgets__Core__TitleBar__registerVirtualMethodCallback(void *ptr, void *callback, int methodId);
167DOCKS_EXPORT void c_KDDockWidgets__Core__TitleBar_Finalizer(void *cppObj);
168}
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__setCloseButtonVisible_bool(void *thisObj, bool arg__1)
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