OpenCoverage

qquicktextnode_p.h

Absolute File Name:/home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/quick/items/qquicktextnode_p.h
Switch to Source codePreprocessed file
LineSourceCount
1-
2-
3-
4-
5-
6class QSGGlyphNode;-
7class QTextBlock;-
8class QColor;-
9class QTextDocument;-
10class QSGContext;-
11class QRawFont;-
12class QSGInternalRectangleNode;-
13class QSGClipNode;-
14class QSGTexture;-
15-
16class QQuickTextNodeEngine;-
17-
18class __attribute__((visibility("default"))) QQuickTextNode : public QSGTransformNode-
19{-
20public:-
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: return m_cursorNode;
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: return m_useNativeRenderer;
m_useNativeRenderer;
never executed: return m_useNativeRenderer;
}
0
50 void setUseNativeRenderer(bool on) { m_useNativeRenderer = on; }
executed 249445 times by 24 tests: end of block
Executed by:
  • tst_examples
  • tst_flickableinterop
  • tst_qquickdraghandler
  • tst_qquickflickable
  • tst_qquickfocusscope
  • tst_qquickfontloader
  • tst_qquickfontloader_static
  • tst_qquickgridview
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickmousearea
  • tst_qquickpathview
  • tst_qquickpincharea
  • tst_qquickpositioners
  • tst_qquickrepeater
  • tst_qquickspringanimation
  • tst_qquicktaphandler
  • tst_qquicktext
  • tst_qquicktextedit
  • tst_qquicktextinput
  • tst_scenegraph
  • tst_touchmouse
249445
51-
52private:-
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 codePreprocessed file

Generated by Squish Coco 4.2.0