Line | Source | Count |
1 | | - |
2 | | - |
3 | | - |
4 | class QQuickStyledTextImgTag; | - |
5 | class QQuickStyledTextPrivate; | - |
6 | class QString; | - |
7 | class QQmlContext; | - |
8 | | - |
9 | class __attribute__((visibility("default"))) QQuickStyledTextImgTag | - |
10 | { | - |
11 | public: | - |
12 | QQuickStyledTextImgTag() { } | - |
13 | | - |
14 | ~QQuickStyledTextImgTag() { delete pix; }executed 84 times by 2 tests: end of block Executed by:- tst_examples
- tst_qquicktext
| 84 |
15 | | - |
16 | enum Align { | - |
17 | Bottom, | - |
18 | Middle, | - |
19 | Top | - |
20 | }; | - |
21 | | - |
22 | QUrl url; | - |
23 | QPointF pos; | - |
24 | QSize size; | - |
25 | int position = 0; | - |
26 | qreal offset = 0.0; | - |
27 | Align align = QQuickStyledTextImgTag::Bottom; | - |
28 | QQuickPixmap *pix = nullptr; | - |
29 | }; | - |
30 | | - |
31 | class __attribute__((visibility("default"))) QQuickStyledText | - |
32 | { | - |
33 | public: | - |
34 | static void parse(const QString &string, QTextLayout &layout, | - |
35 | QList<QQuickStyledTextImgTag*> &imgTags, | - |
36 | const QUrl &baseUrl, | - |
37 | QQmlContext *context, | - |
38 | bool preloadImages, | - |
39 | bool *fontSizeModified); | - |
40 | | - |
41 | private: | - |
42 | QQuickStyledText(const QString &string, QTextLayout &layout, | - |
43 | QList<QQuickStyledTextImgTag*> &imgTags, | - |
44 | const QUrl &baseUrl, | - |
45 | QQmlContext *context, | - |
46 | bool preloadImages, | - |
47 | bool *fontSizeModified); | - |
48 | ~QQuickStyledText(); | - |
49 | | - |
50 | QQuickStyledTextPrivate *d; | - |
51 | }; | - |
52 | | - |
53 | | - |
| | |