![]() |
Qt 6.x
The Qt SDK
|
#include "QtWidgets/qapplication.h"#include "QtWidgets/qwidget.h"#include "QtWidgets/qstyle.h"#include "QtCore/qvariant.h"#include "qdockarealayout_p.h"#include "qdockwidget.h"#include "qmainwindow.h"#include "qwidgetanimator_p.h"#include "qmainwindowlayout_p.h"#include "qmenu_p.h"#include "qdockwidget_p.h"#include <private/qlayoutengine_p.h>#include <qpainter.h>#include <qstyleoption.h>
Include dependency graph for qdockarealayout.cpp:Go to the source code of this file.
Enumerations | |
| enum | { StateFlagVisible = 1 , StateFlagFloating = 2 } |
Functions | |
| QT_BEGIN_NAMESPACE | Q_LOGGING_CATEGORY (lcQpaDockWidgets, "qt.widgets.dockwidgets") |
| QMainWindowLayout * | qt_mainwindow_layout (const QMainWindow *window) |
| QDebug | operator<< (QDebug dbg, const QDockAreaLayoutItem &item) |
| static int | realMinSize (const QDockAreaLayoutInfo &info) |
| static int | realMaxSize (const QDockAreaLayoutInfo &info) |
| static QInternal::DockPosition | dockPosHelper (const QRect &rect, const QPoint &_pos, Qt::Orientation o, bool nestingEnabled, QDockAreaLayoutInfo::TabMode tabMode) |
| static int | shrink (QLayoutStruct &ls, int delta) |
| static int | grow (QLayoutStruct &ls, int delta) |
| static int | separatorMoveHelper (QList< QLayoutStruct > &list, int index, int delta, int sep) |
| static QRect | dockedGeometry (QWidget *widget) |
| static void | paintSep (QPainter *p, QWidget *w, const QRect &r, Qt::Orientation o, bool mouse_over) |
| static Qt::DockWidgetArea | toDockWidgetArea (QInternal::DockPosition pos) |
| static int | qMax (int i1, int i2, int i3) |
Variables | |
| static const int | zero = 0 |
| anonymous enum |
| Enumerator | |
|---|---|
| StateFlagVisible | |
| StateFlagFloating | |
Definition at line 32 of file qdockarealayout.cpp.
Definition at line 1096 of file qdockarealayout.cpp.
References QRect::adjust(), QWidget::geometry, layout, QWidget::layout(), and widget.
Referenced by QDockAreaLayoutInfo::insertGap().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Definition at line 631 of file qdockarealayout.cpp.
References QInternal::BottomDock, QInternal::DockCount, QDockAreaLayoutInfo::ForceTabs, Qt::Horizontal, QInternal::LeftDock, QDockAreaLayoutInfo::NoTabs, o, pos, rect, QInternal::RightDock, and QInternal::TopDock.
Referenced by QDockAreaLayoutInfo::gapIndex().
Here is the caller graph for this function:
|
inlinestatic |
Definition at line 833 of file qdockarealayout.cpp.
References QLayoutStruct::empty, QLayoutStruct::maximumSize, qMin(), and QLayoutStruct::size.
Referenced by QV4::PropertyHash::addEntry(), QV4::IdentifierTable::addEntry(), QV4::PropertyHash::detach(), and separatorMoveHelper().
Here is the call graph for this function:
Here is the caller graph for this function:| QDebug operator<< | ( | QDebug | dbg, |
| const QDockAreaLayoutItem & | item | ||
| ) |
Definition at line 175 of file qdockarealayout.cpp.
|
static |
Definition at line 1574 of file qdockarealayout.cpp.
References Qt::Horizontal, o, opt, QStyleOption::palette, QStyle::PE_IndicatorDockWidgetResizeHandle, QStyleOption::rect, QStyleOption::state, QStyle::State_Enabled, QStyle::State_Horizontal, QStyle::State_MouseOver, and QStyle::State_None.
Referenced by QDockAreaLayoutInfo::paintSeparators(), and QDockAreaLayout::paintSeparators().
Here is the caller graph for this function:| QT_BEGIN_NAMESPACE Q_LOGGING_CATEGORY | ( | lcQpaDockWidgets | , |
| "qt.widgets.dockwidgets" | |||
| ) |
|
inlinestatic |
Definition at line 2645 of file qdockarealayout.cpp.
References qMax().
Referenced by qMax(), and shrink().
Here is the call graph for this function:
Here is the caller graph for this function:| QMainWindowLayout * qt_mainwindow_layout | ( | const QMainWindow * | window | ) |
Definition at line 67 of file qmainwindow.cpp.
References QMainWindowPrivate::mainWindowLayout().
Referenced by QDockAreaLayout::apply(), QToolBarAreaLayout::apply(), QMainWindowLayoutState::apply(), QToolBarPrivate::endDrag(), QDockWidgetPrivate::endDrag(), QToolBarPrivate::initDrag(), QToolBar::initStyleOption(), QDockAreaLayoutInfo::mainWindowLayout(), QToolBarPrivate::mouseMoveEvent(), QMainWindowLayoutState::restoreState(), QToolBarLayout::setExpanded(), and QToolBarPrivate::startDrag().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Definition at line 496 of file qdockarealayout.cpp.
References QGraphicsItem::flags(), i, info, item, QDockAreaLayoutItem::KeepSize, pick(), QWIDGETSIZE_MAX, and QFileInfo::size().
Referenced by QDockAreaLayoutInfo::fitItems().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Definition at line 471 of file qdockarealayout.cpp.
References QGraphicsItem::flags(), i, info, item, QDockAreaLayoutItem::KeepSize, pick(), and QFileInfo::size().
Referenced by QDockAreaLayoutInfo::fitItems().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Definition at line 842 of file qdockarealayout.cpp.
References QList< T >::at(), d, QLayoutStruct::empty, grow(), i, list, QLayoutStruct::maximumSize, pos, QLayoutStruct::pos, QLAYOUTSIZE_MAX, sep, shrink(), QList< T >::size(), and QLayoutStruct::size.
Referenced by QDockAreaLayout::separatorMove(), and QDockAreaLayoutInfo::separatorMove().
Here is the call graph for this function:
Here is the caller graph for this function:
|
inlinestatic |
Definition at line 824 of file qdockarealayout.cpp.
References QLayoutStruct::empty, QLayoutStruct::minimumSize, qMax(), and QLayoutStruct::size.
Referenced by separatorMoveHelper().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Definition at line 1851 of file qdockarealayout.cpp.
References QInternal::BottomDock, Qt::BottomDockWidgetArea, QInternal::LeftDock, Qt::LeftDockWidgetArea, Qt::NoDockWidgetArea, pos, QInternal::RightDock, Qt::RightDockWidgetArea, QInternal::TopDock, and Qt::TopDockWidgetArea.
Referenced by QDockAreaLayoutInfo::restoreState(), and QMainWindowLayout::unplug().
Here is the caller graph for this function:
|
static |
Definition at line 204 of file qdockarealayout.cpp.