Qt 4.8
|
#include "qdockwidget.h"
#include <qaction.h>
#include <qapplication.h>
#include <qdesktopwidget.h>
#include <qdrawutil.h>
#include <qevent.h>
#include <qfontmetrics.h>
#include <qmainwindow.h>
#include <qrubberband.h>
#include <qstylepainter.h>
#include <qtoolbutton.h>
#include <qdebug.h>
#include <private/qwidgetresizehandler_p.h>
#include "qdockwidget_p.h"
#include "qmainwindowlayout_p.h"
#include <private/qapplication_p.h>
#include <private/qt_mac_p.h>
#include <qmacstyle_mac.h>
#include "qdockwidget.moc"
#include "moc_qdockwidget.cpp"
Go to the source code of this file.
Classes | |
class | QDockWidgetTitleButton |
Functions | |
static bool | hasFeature (const QDockWidgetPrivate *priv, QDockWidget::DockWidgetFeature feature) |
static bool | hasFeature (const QDockWidget *dockwidget, QDockWidget::DockWidgetFeature feature) |
static int | perp (bool vertical, const QSize &size) |
static int | pick (bool vertical, const QSize &size) |
QMainWindowLayout * | qt_mainwindow_layout (const QMainWindow *window) |
QString | qt_setWindowTitle_helperHelper (const QString &, const QWidget *) |
Returns a modified window title with the [*] place holder replaced according to the rules described in QWidget::setWindowTitle. More... | |
|
inlinestatic |
Definition at line 74 of file qdockwidget.cpp.
Referenced by QSqlResult::detachFromResultSet(), QPaintEngine::drawEllipse(), QDockWidgetPrivate::endDrag(), QSqlResult::execBatch(), QDockWidget::initStyleOption(), QDockWidgetLayout::minimumTitleWidth(), QDockWidgetPrivate::mouseDoubleClickEvent(), QDockWidgetPrivate::mousePressEvent(), QSqlResult::nextResult(), QSqlResult::savePrepare(), QDockWidgetPrivate::setWindowState(), QDockWidgetPrivate::updateButtons(), and QXmlReader::~QXmlReader().
|
inlinestatic |
Definition at line 77 of file qdockwidget.cpp.
|
inlinestatic |
Definition at line 400 of file qdockwidget.cpp.
Referenced by QToolBarLayout::checkUsePopupMenu(), QToolBarLayout::expandedSize(), QDockAreaLayout::gapRect(), QDockAreaLayoutItem::hasFixedSize(), QDockAreaLayoutInfo::hasFixedSize(), QDockAreaLayoutInfo::itemRect(), QToolBarLayout::layoutActions(), QDockAreaLayoutInfo::maximumSize(), QDockAreaLayoutInfo::minimumSize(), QToolBarAreaLayoutLine::minimumSize(), QToolBarAreaLayoutInfo::minimumSize(), QDockAreaLayoutInfo::plug(), QRasterizer::rasterizeLine(), QToolBarLayout::setGeometry(), QDockAreaLayoutInfo::sizeHint(), QToolBarAreaLayoutLine::sizeHint(), QToolBarAreaLayoutInfo::sizeHint(), QTessellator::tessellateRect(), QDockWidgetLayout::titleHeight(), and QToolBarLayout::updateGeomArray().
|
inlinestatic |
Definition at line 395 of file qdockwidget.cpp.
Referenced by QSplitterPrivate::addContribution(), QSplitterPrivate::doMove(), QSplitterPrivate::doResize(), QToolBarLayout::expandedSize(), QDockAreaLayoutInfo::findSeparator(), QSplitterPrivate::findWidgetJustBeforeOrJustAfter(), QDockAreaLayoutInfo::fitItems(), QToolBarAreaLayoutLine::fitLayout(), QDockAreaLayoutInfo::gapIndex(), QToolBarAreaLayoutInfo::gapIndex(), QSplitterLayoutStruct::getHandleSize(), getInt(), QSplitterPrivate::getRange(), QSplitterLayoutStruct::getWidgetSize(), QDockAreaLayoutInfo::insertGap(), QToolBarAreaLayoutInfo::insertGap(), QToolBarLayout::layoutActions(), QDockAreaLayoutInfo::maximumSize(), QDockAreaLayoutInfo::minimumSize(), QToolBarAreaLayoutLine::minimumSize(), QToolBarAreaLayoutInfo::minimumSize(), QDockWidgetLayout::minimumTitleWidth(), QToolBarAreaLayoutInfo::moveToolBar(), realMaxSize(), realMinSize(), QSplitterPrivate::recalc(), QDockAreaLayoutInfo::saveState(), QDockAreaLayoutInfo::separatorMove(), QDockAreaLayout::separatorMove(), QSplitterPrivate::setGeo(), QToolBarLayout::setGeometry(), QSplitterPrivate::setSizes_helper(), QDockAreaLayoutInfo::sizeHint(), QToolBarAreaLayoutLine::sizeHint(), QToolBarAreaLayoutInfo::sizeHint(), QSplitterPrivate::storeSizes(), QToolBarAreaLayout::unplug(), and QToolBarLayout::updateGeomArray().
QMainWindowLayout* qt_mainwindow_layout | ( | const QMainWindow * | window | ) |
Definition at line 111 of file qmainwindow.cpp.
Referenced by QDockWidget::changeEvent(), QDockWidgetPrivate::endDrag(), QDockWidget::event(), QDockWidgetPrivate::initDrag(), QDockWidgetPrivate::isAnimating(), QDockWidgetPrivate::mouseMoveEvent(), QDockWidgetPrivate::moveEvent(), QDockWidgetPrivate::nonClientAreaMouseEvent(), QDockWidgetPrivate::setWindowState(), and QDockWidgetPrivate::startDrag().
Returns a modified window title with the [*] place holder replaced according to the rules described in QWidget::setWindowTitle.
This function assumes that "[*]" can be quoted by another "[*]", so it will replace two place holders by one and a single last one by either "*" or nothing depending on the modified flag.
Definition at line 6240 of file qwidget.cpp.
Referenced by QDockWidget::changeEvent(), and QDockWidgetPrivate::init().