Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
qtextobject_p.h
Go to the documentation of this file.
1// Copyright (C) 2016 The Qt Company Ltd.
2// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
3
4#ifndef QTEXTOBJECT_P_H
5#define QTEXTOBJECT_P_H
6
7//
8// W A R N I N G
9// -------------
10//
11// This file is not part of the Qt API. It exists for the convenience
12// of other Qt classes. This header file may change from version to
13// version without notice, or even be removed.
14//
15// We mean it.
16//
17
18#include <QtGui/private/qtguiglobal_p.h>
19#include "QtGui/qtextobject.h"
20#include "private/qobject_p.h"
21#include "QtGui/qtextdocument.h"
22
24
25class QTextDocumentPrivate;
26
28{
29 Q_DECLARE_PUBLIC(QTextObject)
30public:
37};
38
40{
41 Q_DECLARE_PUBLIC(QTextBlockGroup)
42public:
49 void markBlocksDirty();
50};
51
52class QTextFrameLayoutData;
53
55{
56 friend class QTextDocumentPrivate;
57 Q_DECLARE_PUBLIC(QTextFrame)
58public:
63 virtual void fragmentAdded(QChar type, uint fragment);
64 virtual void fragmentRemoved(QChar type, uint fragment);
65 void remove_me();
66
69
70 QTextFrame *parentFrame;
72 QTextFrameLayoutData *layoutData;
73};
74
75QT_END_NAMESPACE
76
77#endif // QTEXTOBJECT_P_H
void invalidate() const
virtual void fragmentRemoved(QChar type, uint fragment)
QTextFrame * parentFrame
QTextFrameLayoutData * layoutData
QList< QTextFrame * > childFrames
bool tryMerge(const QTextUndoCommand &other)
#define QTextBeginningOfFrame
#define QTextEndOfFrame
#define PMDEBUG
static bool isValidBlockSeparator(QChar ch)
static bool isAncestorFrame(QTextFrame *possibleAncestor, QTextFrame *child)
static bool noBlockInString(QStringView str)
#define QT_INIT_TEXTUNDOCOMMAND(c, a1, a2, a3, a4, a5, a6, a7, a8)
static QTextFrame * findChildFrame(QTextFrame *f, int pos)
signed int length