equal
deleted
inserted
replaced
111 mutable uint isRichText : 1; |
111 mutable uint isRichText : 1; |
112 mutable uint isTextLabel : 1; |
112 mutable uint isTextLabel : 1; |
113 mutable uint hasShortcut : 1; |
113 mutable uint hasShortcut : 1; |
114 Qt::TextFormat textformat; |
114 Qt::TextFormat textformat; |
115 mutable QTextControl *control; |
115 mutable QTextControl *control; |
116 QTextCursor shortcutCursor; |
116 mutable QTextCursor shortcutCursor; |
117 Qt::TextInteractionFlags textInteractionFlags; |
117 Qt::TextInteractionFlags textInteractionFlags; |
118 |
118 |
119 inline bool needTextControl() const { |
119 inline bool needTextControl() const { |
120 return isTextLabel |
120 return isTextLabel |
121 && (isRichText |
121 && (isRichText |