| Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/quick/items/qquicktextnode_p.h |
| Switch to Source code | Preprocessed file |
| Line | Source | Count |
|---|---|---|
| 1 | - | |
| 2 | - | |
| 3 | - | |
| 4 | - | |
| 5 | - | |
| 6 | class QSGGlyphNode; | - |
| 7 | class QTextBlock; | - |
| 8 | class QColor; | - |
| 9 | class QTextDocument; | - |
| 10 | class QSGContext; | - |
| 11 | class QRawFont; | - |
| 12 | class QSGInternalRectangleNode; | - |
| 13 | class QSGClipNode; | - |
| 14 | class QSGTexture; | - |
| 15 | - | |
| 16 | class QQuickTextNodeEngine; | - |
| 17 | - | |
| 18 | class __attribute__((visibility("default"))) QQuickTextNode : public QSGTransformNode | - |
| 19 | { | - |
| 20 | public: | - |
| 21 | QQuickTextNode(QQuickItem *ownerElement); | - |
| 22 | ~QQuickTextNode(); | - |
| 23 | - | |
| 24 | static bool isComplexRichText(QTextDocument *); | - |
| 25 | - | |
| 26 | void deleteContent(); | - |
| 27 | void addTextLayout(const QPointF &position, QTextLayout *textLayout, const QColor &color = QColor(), | - |
| 28 | QQuickText::TextStyle style = QQuickText::Normal, const QColor &styleColor = QColor(), | - |
| 29 | const QColor &anchorColor = QColor(), | - |
| 30 | const QColor &selectionColor = QColor(), const QColor &selectedTextColor = QColor(), | - |
| 31 | int selectionStart = -1, int selectionEnd = -1, | - |
| 32 | int lineStart = 0, int lineCount = -1); | - |
| 33 | void addTextDocument(const QPointF &position, QTextDocument *textDocument, const QColor &color = QColor(), | - |
| 34 | QQuickText::TextStyle style = QQuickText::Normal, const QColor &styleColor = QColor(), | - |
| 35 | const QColor &anchorColor = QColor(), | - |
| 36 | const QColor &selectionColor = QColor(), const QColor &selectedTextColor = QColor(), | - |
| 37 | int selectionStart = -1, int selectionEnd = -1); | - |
| 38 | - | |
| 39 | void setCursor(const QRectF &rect, const QColor &color); | - |
| 40 | void clearCursor(); | - |
| 41 | QSGInternalRectangleNode *cursorNode() const { return never executed: m_cursorNode;return m_cursorNode;never executed: }return m_cursorNode; | 0 |
| 42 | - | |
| 43 | QSGGlyphNode *addGlyphs(const QPointF &position, const QGlyphRun &glyphs, const QColor &color, | - |
| 44 | QQuickText::TextStyle style = QQuickText::Normal, const QColor &styleColor = QColor(), | - |
| 45 | QSGNode *parentNode = 0); | - |
| 46 | void addImage(const QRectF &rect, const QImage &image); | - |
| 47 | void addRectangleNode(const QRectF &rect, const QColor &color); | - |
| 48 | - | |
| 49 | bool useNativeRenderer() const { return never executed: m_useNativeRenderer;return m_useNativeRenderer;never executed: }return m_useNativeRenderer; | 0 |
| 50 | void setUseNativeRenderer(bool on) { m_useNativeRenderer = on; } executed 249445 times by 24 tests: end of blockExecuted by:
| 249445 |
| 51 | - | |
| 52 | private: | - |
| 53 | QSGInternalRectangleNode *m_cursorNode; | - |
| 54 | QList<QSGTexture *> m_textures; | - |
| 55 | QQuickItem *m_ownerElement; | - |
| 56 | bool m_useNativeRenderer; | - |
| 57 | - | |
| 58 | friend class QQuickTextEdit; | - |
| 59 | friend class QQuickTextEditPrivate; | - |
| 60 | }; | - |
| 61 | - | |
| 62 | - | |
| Switch to Source code | Preprocessed file |