Debian Codegraph @

include/internal/QFramedTextAttribute.hpp

raw symbols SCIP
1 #cxx . . $ `<file>/include/internal/QFramedTextAttribute.hpp`/pragma once
2
3 // Qt
4 #include <QObject> // Required for inheritance
5 #include <QTextObjectInterface> // Required for inheritance
6
7 class QSyntaxStylecxx . . $ QSyntaxStyle#;
8
9 /**
10 * @brief Class, that describes
11 * attribute for making text frame.
12 */
13 class QFramedTextAttributecxx . . $ QFramedTextAttribute# : public QObjectcxx . . $ QObject#,
14 public QTextObjectInterfacecxx . . $ QTextObjectInterface#
15 {
16 Q_OBJECTcxx . . $ QFramedTextAttribute#tr(75d9f1c324b4579d).
17 Q_INTERFACEScxx . . $ `<external>/1208926524888476972/qobjectdefs.h:103:9`!(QTextObjectInterface)
18
19 public:
20
21 enum Propertycxx . . $ QFramedTextAttribute#Property#
22 {
23 FramedStringcxx . . $ QFramedTextAttribute#FramedString. = 1
24 };
25
26 /**
27 * @brief Static method for getting framed text
28 * attribute type.
29 */
30 static int typecxx . . $ QFramedTextAttribute#type(b126dc7c1de90089).();
31
32 /**
33 * @brief Constructor.
34 * @param parent Pointer to parent QObject.
35 */
36 explicit QFramedTextAttributecxx . . $ QFramedTextAttribute#QFramedTextAttribute(749de1b6ae65bddd).(QObjectcxx . . $ QObject#* parent=nullptr);
37
38 // Disable copying
39 QFramedTextAttributecxx . . $ QFramedTextAttribute#QFramedTextAttribute(1a9dbb0f8199176f).(const QFramedTextAttributecxx . . $ QFramedTextAttribute#&) = delete;
40 QFramedTextAttributecxx . . $ QFramedTextAttribute#& operatorcxx . . $ QFramedTextAttribute#`operator=`(3fa20fde80bd89e).=(const QFramedTextAttributecxx . . $ QFramedTextAttribute#&) = delete;
41
42 /**
43 * @brief Method for getting custom element (frame)
44 * size. Though frame symbol has no size, this
45 * method returns {0, 0}
46 */
47 QSizeFcxx . . $ QSizeF# intrinsicSizecxx . . $ QFramedTextAttribute#intrinsicSize(45bb4137873cd2e0).(QTextDocumentcxx . . $ QTextDocument# *doc,
48 int posInDocument,
49 const QTextFormatcxx . . $ QTextFormat# &format) override;
50
51 /**
52 * @brief Method for drawing frame.
53 */
54 void drawObjectcxx . . $ QFramedTextAttribute#drawObject(b64e36186978ada4).(QPaintercxx . . $ QPainter# *painter,
55 const QRectFcxx . . $ QRectF# &rect,
56 QTextDocumentcxx . . $ QTextDocument# *doc,
57 int posInDocument,
58 const QTextFormatcxx . . $ QTextFormat# &format) override;
59
60 /**
61 * @brief Method for creating frame in cursor
62 * selection.
63 * @param cursor Cursor.
64 */
65 void framecxx . . $ QFramedTextAttribute#frame(2dee62e7021fdd8c).(QTextCursorcxx . . $ QTextCursor# cursor);
66
67 /**
68 * @brief Method for clearing all frames
69 * with desired cursor.
70 */
71 void clearcxx . . $ QFramedTextAttribute#clear(2dee62e7021fdd8c).(QTextCursorcxx . . $ QTextCursor# cursor);
72
73 /**
74 * @brief Method for setting syntax style
75 * for rendering.
76 */
77 void setSyntaxStylecxx . . $ QFramedTextAttribute#setSyntaxStyle(1fc7b27a9b6cc29c).(QSyntaxStylecxx . . $ QSyntaxStyle#* style);
78
79 /**
80 * @brief Method for getting syntax style.
81 */
82 QSyntaxStylecxx . . $ QSyntaxStyle#* syntaxStylecxx . . $ QFramedTextAttribute#syntaxStyle(8b4bb56ba20b4a4a).() const;
83
84 private:
85
86 QSyntaxStylecxx . . $ QSyntaxStyle#* m_stylecxx . . $ QFramedTextAttribute#m_style.;
87 };
88