4#ifndef QDYNAMICDOCKWIDGET_P_H
5#define QDYNAMICDOCKWIDGET_P_H
18#include <QtWidgets/private/qtwidgetsglobal_p.h>
19#include "QtWidgets/qstyleoption.h"
20#include "private/qwidget_p.h"
21#include "QtWidgets/qboxlayout.h"
22#include "QtWidgets/qdockwidget.h"
24#if QT_CONFIG(tabwidget)
25# include "QtWidgets/qtabwidget.h"
61#if QT_CONFIG(tabwidget)
90 void endDrag(
bool abort =
false);
113 int count()
const override;
119 QSize sizeFromContent(
const QSize &content,
bool floating)
const;
124 QWidget *widgetForRole(Role
r)
const;
125 void setWidgetForRole(Role
r,
QWidget *
w);
130 int minimumTitleWidth()
const;
131 int titleHeight()
const;
133 static bool wmSupportsNativeWindowDeco();
134 bool nativeWindowDeco()
const;
135 bool nativeWindowDeco(
bool floating)
const;
137 void setVerticalTitleBar(
bool b);
162inline QLayoutItem *QDockWidgetItem::dockWidgetChildItem()
const
173 return qobject_cast<QDockWidgetLayout*>(
w->layout());
The QAction class provides an abstraction for user commands that can be added to different user inter...
The QGridLayout class lays out widgets in a grid.
The QLayoutItem class provides an abstract item that a QLayout manipulates.
virtual QLayout * layout()
If this item is a QLayout, it is returned as a QLayout; otherwise \nullptr is returned.
virtual QSize sizeHint() const =0
Implemented in subclasses to return the preferred size of this item.
The QLayout class is the base class of geometry managers.
QSize maximumSize() const override
Returns the maximum size of this layout.
virtual void addItem(QLayoutItem *)=0
Implemented in subclasses to add an item.
virtual QLayoutItem * itemAt(int index) const =0
Must be implemented in subclasses to return the layout item at index.
virtual QLayoutItem * takeAt(int index)=0
Must be implemented in subclasses to remove the layout item at index from the layout,...
QSize minimumSize() const override
Returns the minimum size of this layout.
virtual int count() const =0
Must be implemented in subclasses to return the number of items in the layout.
virtual void setGeometry(const QRect &) override
\reimp
The QMoveEvent class contains event parameters for move events.
\inmodule QtCore\reentrant
\inmodule QtCore\reentrant
The QResizeEvent class contains event parameters for resize events.
The QSpacerItem class provides blank space in a layout.
\macro QT_RESTRICTED_CAST_FROM_ASCII
Combined button and popup list for selecting options.
GLboolean GLboolean GLboolean b
GLfloat GLfloat GLfloat w
[0]
#define QT_REQUIRE_CONFIG(feature)
IUIAutomationTreeWalker __RPC__deref_out_opt IUIAutomationElement ** parent