Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
|
#include "qtextdocumentlayout_p.h"
#include "qtextdocument_p.h"
#include "qtextimagehandler_p.h"
#include "qtexttable.h"
#include "qtextlist.h"
#include "qtextengine_p.h"
#include "private/qguiapplication_p.h"
#include "qabstracttextdocumentlayout_p.h"
#include "qcssparser_p.h"
#include <qpainter.h>
#include <qmath.h>
#include <qrect.h>
#include <qpalette.h>
#include <qdebug.h>
#include <qvarlengtharray.h>
#include <limits.h>
#include <qbasictimer.h>
#include "private/qfunctions_p.h"
#include <qloggingcategory.h>
#include <QtCore/qpointer.h>
#include <algorithm>
#include "moc_qtextdocumentlayout_p.cpp"
Go to the source code of this file.
Classes | |
class | QTextFrameData |
struct | QTextLayoutStruct |
struct | EdgeData |
class | QTextTableData |
struct | QCheckPoint |
class | QTextDocumentLayoutPrivate |
struct | BorderPaginator |
|
inlinestatic |
Definition at line 1261 of file qtextdocumentlayout.cpp.
References QCss::BottomEdge, QTextTableCell::column(), QTextTableCell::columnSpan(), QCss::LeftEdge, QCss::RightEdge, QTextTableCell::row(), QTextTableCell::rowSpan(), and QCss::TopEdge.
Referenced by axisEdgeData(), QTextDocumentLayoutPrivate::drawTableCellBorder(), and prioritizedEdgeAnchorOffset().
|
inlinestatic |
Definition at line 1235 of file qtextdocumentlayout.cpp.
References QCss::BottomEdge, QCss::LeftEdge, QCss::NumEdges, QCss::RightEdge, and QCss::TopEdge.
Referenced by axisEdgeData(), and isSameAxis().
|
static |
Definition at line 977 of file qtextdocumentlayout.cpp.
References QTextTableCell::firstPosition(), QTextFormat::FullWidthSelection, i, QTextCursor::KeepAnchor, and QTextTableCell::lastPosition().
Referenced by QTextDocumentLayoutPrivate::drawFrame().
|
inlinestatic |
Definition at line 1371 of file qtextdocumentlayout.cpp.
References adjacentCell(), adjacentEdge(), QTextTableData::borderCollapse, QCss::BottomEdge, cellEdgeData(), QTextTableCell::isValid(), QCss::LeftEdge, Q_ASSERT, qMax(), QCss::RightEdge, sharesAxis(), and QCss::TopEdge.
Referenced by QTextTableData::cellBorderWidth(), cellClipTest(), checkJoinedEdge(), drawCellBorder(), and QTextDocumentLayoutPrivate::layoutCell().
|
inlinestatic |
Definition at line 1203 of file qtextdocumentlayout.cpp.
References QCss::BottomEdge, QCss::LeftEdge, QCss::RightEdge, QTextFormat::TableCellBottomBorder, QTextFormat::TableCellLeftBorder, QTextFormat::TableCellRightBorder, QTextFormat::TableCellTopBorder, QCss::TopEdge, and QTextFormat::UserProperty.
Referenced by cellEdgeData().
|
inlinestatic |
Definition at line 1219 of file qtextdocumentlayout.cpp.
References QCss::BottomEdge, QCss::LeftEdge, QCss::RightEdge, QTextFormat::TableCellBottomBorderStyle, QTextFormat::TableCellLeftBorderStyle, QTextFormat::TableCellRightBorderStyle, QTextFormat::TableCellTopBorderStyle, QCss::TopEdge, and QTextFormat::UserProperty.
Referenced by cellEdgeData().
|
static |
Definition at line 1011 of file qtextdocumentlayout.cpp.
References QRectF::adjust(), axisEdgeData(), QTextFrameData::border, QTextTableData::borderCollapse, QCss::BottomEdge, QRectF::intersects(), QCss::LeftEdge, Q_UNUSED, QCss::RightEdge, QCss::TopEdge, and QFixed::toReal().
Referenced by QTextDocumentLayoutPrivate::drawFrame().
|
inlinestatic |
Definition at line 1333 of file qtextdocumentlayout.cpp.
References borderPropertyForEdge(), borderStylePropertyForEdge(), QCss::BottomEdge, EdgeData::ClassExplicit, EdgeData::ClassGrid, EdgeData::ClassNone, EdgeData::ClassTableBorder, QTextTableCell::column(), QTextTableCell::columnSpan(), QTextTableData::drawGrid, QTextTableCell::format(), QTextTableCell::isValid(), QCss::LeftEdge, QTextFormat::property(), QCss::RightEdge, QTextTableCell::row(), QTextTableCell::rowSpan(), QVariant::toDouble(), QCss::TopEdge, and QTextFormat::toTableCellFormat().
Referenced by axisEdgeData(), and findWidestOutermostBorder().
|
inlinestatic |
Definition at line 1423 of file qtextdocumentlayout.cpp.
References axisEdgeData(), EdgeData::edge, isSameAxis(), isVerticalAxis(), and EdgeData::width.
Referenced by prioritizedEdgeAnchorOffset().
|
inlinestatic |
Definition at line 1446 of file qtextdocumentlayout.cpp.
Referenced by drawCellBorder(), and prioritizedEdgeAnchorOffset().
|
static |
Definition at line 293 of file qtextdocumentlayout.cpp.
Referenced by data().
|
inlinestatic |
Definition at line 304 of file qtextdocumentlayout.cpp.
References createData().
|
inlinestatic |
Definition at line 1562 of file qtextdocumentlayout.cpp.
References axisEdgeData(), Qt::black, QTextTableData::borderCollapse, QTextFrameFormat::BorderStyle_None, QCss::BottomEdge, EdgeData::cell, EdgeData::ClassExplicit, collapseOffset(), QTextTableCell::column(), QTextTableData::drawGrid, EdgeData::edge, EdgeData::edgeClass, fmt, QTextTableCell::format(), QCss::LeftEdge, Qt::NoBrush, p1, p2, painter, prioritizedEdgeAnchorOffset(), qCeil(), qDrawEdge(), qFloor(), QCss::RightEdge, QCss::TopEdge, QTextFormat::toTableCellFormat(), and EdgeData::width.
Referenced by QTextDocumentLayoutPrivate::drawTableCellBorder().
|
static |
Definition at line 458 of file qtextdocumentlayout.cpp.
References Qt::ConicalGradientPattern, Qt::LinearGradientPattern, QGradient::LogicalMode, rect, QTransform::scale(), and QTransform::translate().
Referenced by QTextDocumentLayoutPrivate::drawBlock(), QTextDocumentLayoutPrivate::drawFrameDecoration(), QTextDocumentLayoutPrivate::drawTableCell(), QPlainTextEdit::paintEvent(), and QGraphicsWidget::paintWindowFrame().
|
inlinestatic |
Definition at line 2355 of file qtextdocumentlayout.cpp.
References cellEdgeData().
Referenced by QTextDocumentLayoutPrivate::layoutTable().
|
static |
Definition at line 2258 of file qtextdocumentlayout.cpp.
References flowPosition().
Referenced by QTextDocumentLayoutPrivate::layoutFlow().
|
static |
Definition at line 2241 of file qtextdocumentlayout.cpp.
References QFixed::fromReal(), it, layout, and QTextBlock::layout().
Referenced by firstChildPos(), and QTextDocumentLayoutPrivate::layoutTable().
|
inlinestatic |
Definition at line 3395 of file qtextdocumentlayout.cpp.
References QTextBlockFormat::FixedHeight, QFixed::fromReal(), line, QTextBlockFormat::lineHeight(), QTextBlockFormat::lineHeightType(), QTextBlockFormat::MinimumHeight, qCeil(), and qMax().
Referenced by QTextDocumentLayoutPrivate::layoutBlock().
|
inlinestatic |
Definition at line 363 of file qtextdocumentlayout.cpp.
References QTextBlock::isValid(), QTextBlock::length(), and QTextBlock::position().
Referenced by QTextDocumentLayoutPrivate::drawFlow(), and QTextDocumentLayoutPrivate::layoutFlow().
|
inlinestatic |
Definition at line 342 of file qtextdocumentlayout.cpp.
References QTextFormat::BackgroundBrush, QTextFormat::BlockTrailingHorizontalRulerWidth, QTextBlock::isValid(), QTextBlock::length(), and QTextBlock::position().
Referenced by QTextDocumentLayoutPrivate::drawBlock(), QTextDocumentLayoutPrivate::drawFlow(), QTextDocumentLayoutPrivate::hitTest(), isEmptyBlockBeforeTable(), and QTextDocumentLayoutPrivate::layoutFlow().
|
inlinestatic |
Definition at line 354 of file qtextdocumentlayout.cpp.
References QTextBlock::blockFormat(), isEmptyBlockBeforeTable(), it, and next.
|
static |
Definition at line 312 of file qtextdocumentlayout.cpp.
Referenced by QTextDocumentLayoutPrivate::drawFlow(), QTextDocumentLayoutPrivate::hitTest(), and QTextDocumentLayoutPrivate::layoutFrame().
|
inlinestatic |
Definition at line 372 of file qtextdocumentlayout.cpp.
References QString::at(), QTextBlock::isValid(), QTextBlock::length(), QTextBlock::position(), and QTextBlock::text().
Referenced by QTextDocumentLayoutPrivate::layoutFlow().
|
inlinestatic |
Definition at line 1251 of file qtextdocumentlayout.cpp.
References adjacentEdge().
Referenced by checkJoinedEdge().
|
inlinestatic |
Definition at line 1256 of file qtextdocumentlayout.cpp.
Referenced by checkJoinedEdge(), prioritizedEdgeAnchorOffset(), and sharesAxis().
|
static |
Definition at line 3739 of file qtextdocumentlayout.cpp.
References QTextFrame::childFrames(), QTextFrame::firstPosition(), i, QTextFrame::lastPosition(), markFrames(), and qMax().
Referenced by markFrames().
|
static |
Definition at line 453 of file qtextdocumentlayout.cpp.
References pos.
|
static |
Definition at line 448 of file qtextdocumentlayout.cpp.
|
inlinestatic |
Definition at line 1488 of file qtextdocumentlayout.cpp.
References adjacentCell(), QTextTableData::borderCollapse, checkJoinedEdge(), collapseOffset(), EdgeData::edge, isVerticalAxis(), sharesAxis(), and QCss::TopEdge.
Referenced by drawCellBorder().
Q_DECLARE_TYPEINFO | ( | QCheckPoint | , |
Q_PRIMITIVE_TYPE | ) |
|
inlinestatic |
Definition at line 1307 of file qtextdocumentlayout.cpp.
References QCss::BottomEdge, QTextTableCell::column(), QTextTableCell::columnSpan(), isVerticalAxis(), QCss::LeftEdge, Q_ASSERT, QCss::RightEdge, QTextTableCell::row(), QTextTableCell::rowSpan(), and QCss::TopEdge.
Referenced by axisEdgeData(), and prioritizedEdgeAnchorOffset().