4#ifndef QDYNAMICMAINWINDOW_H
5#define QDYNAMICMAINWINDOW_H
7#include <QtWidgets/qtwidgetsglobal.h>
8#include <QtWidgets/qwidget.h>
9#if QT_CONFIG(tabwidget)
10#include <QtWidgets/qtabwidget.h>
30#if QT_CONFIG(dockwidget)
31 Q_PROPERTY(
bool animated READ isAnimated WRITE setAnimated)
33 Q_PROPERTY(
bool documentMode READ documentMode WRITE setDocumentMode)
35#if QT_CONFIG(tabwidget)
38 Q_PROPERTY(
bool dockNestingEnabled READ isDockNestingEnabled WRITE setDockNestingEnabled)
40 Q_PROPERTY(DockOptions dockOptions READ dockOptions WRITE setDockOptions)
42 Q_PROPERTY(
bool unifiedTitleAndToolBarOnMac READ unifiedTitleAndToolBarOnMac
43 WRITE setUnifiedTitleAndToolBarOnMac)
49 AllowNestedDocks = 0x02,
50 AllowTabbedDocks = 0x04,
51 ForceTabbedDocks = 0x08,
53 GroupedDragging = 0x20
68#if QT_CONFIG(dockwidget)
69 bool isAnimated()
const;
70 bool isDockNestingEnabled()
const;
74 bool documentMode()
const;
75 void setDocumentMode(
bool enabled);
78#if QT_CONFIG(tabwidget)
85 void setDockOptions(DockOptions options);
86 DockOptions dockOptions()
const;
95 void setMenuWidget(
QWidget *menubar);
98#if QT_CONFIG(statusbar)
103 QWidget *centralWidget()
const;
108#if QT_CONFIG(dockwidget)
113#if QT_CONFIG(toolbar)
115 void insertToolBarBreak(
QToolBar *before);
121 void removeToolBar(
QToolBar *toolbar);
122 void removeToolBarBreak(
QToolBar *before);
124 bool unifiedTitleAndToolBarOnMac()
const;
127 bool toolBarBreak(
QToolBar *toolbar)
const;
130#if QT_CONFIG(dockwidget)
153 virtual QMenu *createPopupMenu();
157#if QT_CONFIG(dockwidget)
158 void setAnimated(
bool enabled);
159 void setDockNestingEnabled(
bool enabled);
161#if QT_CONFIG(toolbar)
162 void setUnifiedTitleAndToolBarOnMac(
bool set);
168#if QT_CONFIG(dockwidget)
173#ifndef QT_NO_CONTEXTMENU
181 friend class QDockWidgetGroupWindow;
The QMainWindow class provides a main application window.
void iconSizeChanged(const QSize &iconSize)
This signal is emitted when the size of the icons used in the window is changed.
void toolButtonStyleChanged(Qt::ToolButtonStyle toolButtonStyle)
This signal is emitted when the style used for tool buttons in the window is changed.
\inmodule QtCore\reentrant
The QStatusBar class provides a horizontal bar suitable for presenting status information.
\macro QT_RESTRICTED_CAST_FROM_ASCII
Combined button and popup list for selecting options.
#define Q_DECLARE_FLAGS(Flags, Enum)
#define Q_DECLARE_OPERATORS_FOR_FLAGS(Flags)
static bool isSeparator(char c)
static int area(const QSize &s)
GLenum GLenum GLsizei const GLuint GLboolean enabled
GLuint GLsizei const GLuint const GLintptr const GLsizeiptr * sizes
#define QT_REQUIRE_CONFIG(feature)
QFuture< QSet< QChar > > set
[10]
IUIAutomationTreeWalker __RPC__deref_out_opt IUIAutomationElement ** parent