4#ifndef QTEXTHTMLPARSER_P_H
5#define QTEXTHTMLPARSER_P_H
18#include <QtGui/private/qtguiglobal_p.h>
19#include "QtGui/qbrush.h"
20#include "QtGui/qcolor.h"
21#include "QtGui/qfont.h"
22#include "QtGui/qtextdocument.h"
23#include "QtGui/qtextcursor.h"
25#include "QtCore/qlist.h"
27#include "private/qtextformat_p.h"
28#include "private/qtextdocument_p.h"
29#if QT_CONFIG(cssparser)
30#include "private/qcssparser_p.h"
33#ifndef QT_NO_TEXTHTMLPARSER
222#if QT_CONFIG(cssparser)
306 int margin(
int i,
int mar)
const;
311#if QT_CONFIG(cssparser)
314 void importStyleSheet(
const QString &href);
316 struct ExternalStyleSheet
318 inline ExternalStyleSheet() {}
320 :
url(_url), sheet(_sheet) {}
324 friend class QTypeInfo<ExternalStyleSheet>;
331#if QT_CONFIG(cssparser)
qsizetype size() const noexcept
const_reference at(qsizetype i) const noexcept
\macro QT_RESTRICTED_CAST_FROM_ASCII
const QChar at(qsizetype i) const
Returns the character at the given index position in the string.
\reentrant \inmodule QtGui
QTextFrameFormat::BorderStyle tableCellBorderStyle(int i, int edge) const
bool hasPrefix(QChar c, int lookahead=0) const
void parseExclamationTag()
bool nodeIsChildOf(int i, QTextHTMLElements id) const
QList< QTextHtmlParserNode * > nodes
QTextHtmlParserNode * resolveParent()
QBrush tableCellBorderBrush(int i, int edge) const
qreal tableCellBorder(int i, int edge) const
void applyAttributes(const QStringList &attributes)
int margin(int i, int mar) const
int topMargin(int i) const
int topPadding(int i) const
int leftMargin(int i) const
static int lookupElement(const QString &element)
const QTextHtmlParserNode & at(int i) const
int rightMargin(int i) const
int bottomPadding(int i) const
int leftPadding(int i) const
QStringList parseAttributes()
QTextHtmlParserNode & operator[](int i)
int bottomMargin(int i) const
const QTextDocument * resourceProvider
int rightPadding(int i) const
QTextHtmlParserNode * newNode(int parent)
Style
This enum describes the symbols used to decorate list items:
qDeleteAll(list.begin(), list.end())
Combined button and popup list for selecting options.
EGLOutputLayerEXT EGLint EGLAttrib value
[5]
GLint GLenum GLsizei GLsizei GLsizei depth
#define Q_DECLARE_TYPEINFO(TYPE, FLAGS)
QUrl url("example.com")
[constructor-url-reference]
enum QTextHtmlElement::DisplayMode displayMode
QString textListNumberSuffix
bool isNotSelfNesting() const
void initializeProperties(const QTextHtmlParserNode *parent, const QTextHtmlParser *parser)
void parseStyleAttribute(const QString &value, const QTextDocument *resourceProvider)
QTextListFormat::Style listStyle
QTextFrameFormat::BorderStyle borderStyle
bool hasOnlyWhitespace() const
QTextCharFormat charFormat
QBrush tableCellBorderBrush[4]
bool isNestedList(const QTextHtmlParser *parser) const
uint hasOwnLineHeightType
bool allowedInContext(int parentId) const
void applyBackgroundImage(const QString &url, const QTextDocument *resourceProvider)
int uncollapsedMargin(int mar) const
uint hasLineHeightMultiplier
@ WhiteSpaceModeUndefined
void applyForegroundImage(qint64 cacheKey, const QTextDocument *resourceProvider)
QTextFrameFormat::BorderStyle tableCellBorderStyle[4]
QTextBlockFormat blockFormat
QString textListNumberPrefix
bool mayNotHaveChildren() const
IUIAutomationTreeWalker __RPC__deref_out_opt IUIAutomationElement ** parent