src/gui/widgets/qlabel_p.h
changeset 3 41300fa6a67c
parent 0 1918ee327afb
child 4 3b1da2848fc7
equal deleted inserted replaced
2:56cd8111b7f7 3:41300fa6a67c
   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