Qt 4.8
|
#include "QtGui/qapplication.h"
#include "QtGui/qwidget.h"
#include "QtGui/qtabbar.h"
#include "QtGui/qstyle.h"
#include "QtGui/qdesktopwidget.h"
#include "QtCore/qvariant.h"
#include "qdockarealayout_p.h"
#include "qdockwidget.h"
#include "qmainwindow.h"
#include "qwidgetanimator_p.h"
#include "qmainwindowlayout_p.h"
#include "qdockwidget_p.h"
#include <private/qlayoutengine_p.h>
#include <qpainter.h>
#include <qstyleoption.h>
Go to the source code of this file.
Enumerations | |
enum | { StateFlagVisible = 1, StateFlagFloating = 2 } |
Functions | |
static QRect | constrainedRect (QRect rect, const QRect &desktop) |
static QRect | dockedGeometry (QWidget *widget) |
static QInternal::DockPosition | dockPosHelper (const QRect &rect, const QPoint &_pos, Qt::Orientation o, bool nestingEnabled, QDockAreaLayoutInfo::TabMode tabMode) |
static int | grow (QLayoutStruct &ls, int delta) |
static void | paintSep (QPainter *p, QWidget *w, const QRect &r, Qt::Orientation o, bool mouse_over) |
static int | qMax (int i1, int i2, int i3) |
static int | qMin (int i1, int i2, int i3) |
QMainWindowLayout * | qt_mainwindow_layout (const QMainWindow *window) |
static int | realMaxSize (const QDockAreaLayoutInfo &info) |
static int | realMinSize (const QDockAreaLayoutInfo &info) |
static int | separatorMoveHelper (QVector< QLayoutStruct > &list, int index, int delta, int sep) |
static int | shrink (QLayoutStruct &ls, int delta) |
static quintptr | tabId (const QDockAreaLayoutItem &item) |
static Qt::DockWidgetArea | toDockWidgetArea (QInternal::DockPosition pos) |
Variables | |
static const int | zero = 0 |
anonymous enum |
Enumerator | |
---|---|
StateFlagVisible | |
StateFlagFloating |
Definition at line 66 of file qdockarealayout.cpp.
Definition at line 1864 of file qdockarealayout.cpp.
Referenced by QDockAreaLayout::restoreDockWidget(), and QDockAreaLayoutInfo::restoreState().
Definition at line 1135 of file qdockarealayout.cpp.
Referenced by QDockAreaLayoutInfo::insertGap().
|
static |
Definition at line 643 of file qdockarealayout.cpp.
Referenced by QDockAreaLayoutInfo::gapIndex().
|
inlinestatic |
|
static |
Definition at line 1573 of file qdockarealayout.cpp.
Referenced by QDockAreaLayoutInfo::paintSeparators(), and QDockAreaLayout::paintSeparators().
|
inlinestatic |
Definition at line 2581 of file qdockarealayout.cpp.
Referenced by constrainedRect(), QDockAreaLayoutInfo::fitItems(), QDockAreaLayout::getGrid(), QDockAreaLayoutInfo::maximumSize(), QDockAreaLayoutInfo::minimumSize(), QDockAreaLayout::minimumSize(), shrink(), QDockAreaLayoutInfo::sizeHint(), and QDockAreaLayout::sizeHint().
|
inlinestatic |
Definition at line 2580 of file qdockarealayout.cpp.
Referenced by constrainedRect(), grow(), QDockAreaLayoutInfo::maximumSize(), and QDockAreaLayoutInfo::sizeHint().
QMainWindowLayout* qt_mainwindow_layout | ( | const QMainWindow * | window | ) |
Definition at line 111 of file qmainwindow.cpp.
Referenced by QDockAreaLayout::apply(), QDockAreaLayoutInfo::mainWindowLayout(), and QDockAreaLayout::updateSeparatorWidgets().
|
static |
Definition at line 508 of file qdockarealayout.cpp.
Referenced by QDockAreaLayoutInfo::fitItems().
|
static |
Definition at line 483 of file qdockarealayout.cpp.
Referenced by QDockAreaLayoutInfo::fitItems().
|
static |
Definition at line 854 of file qdockarealayout.cpp.
Referenced by QDockAreaLayoutInfo::separatorMove(), and QDockAreaLayout::separatorMove().
|
inlinestatic |
|
static |
Definition at line 218 of file qdockarealayout.cpp.
Referenced by QDockAreaLayout::addDockWidget(), QDockAreaLayoutInfo::itemRect(), QDockAreaLayoutInfo::restoreState(), QDockAreaLayoutInfo::saveState(), and QDockAreaLayoutInfo::updateTabBar().
|
static |
Definition at line 1852 of file qdockarealayout.cpp.
Referenced by QDockAreaLayoutInfo::restoreState().
|
static |
Definition at line 226 of file qdockarealayout.cpp.
Referenced by QLocalePrivate::digitToCLocale(), QLocalePrivate::doubleToString(), QTabWidget::heightForWidth(), QCss::ValueExtractor::lengthValues(), QLocalePrivate::longLongToString(), QDateTimeParser::parseFormat(), qt_bitmapToRegion(), QAccessibleHeader::rect(), QAccessibleTable2HeaderCell::rect(), unquote(), and QLocalePrivate::unsLongLongToString().