This structure is used to apply extra formatting information.  
 More...
|  | 
| bool | operator!= (const FormatRange &lhs, const FormatRange &rhs) | 
|  | 
| bool | operator== (const FormatRange &lhs, const FormatRange &rhs) | 
|  | 
The QTextLayout::FormatRange structure is used to apply extra formatting information for a specified area in the text layout's content.
- See also
- QTextLayout::setFormats(), QTextLayout::draw() 
  
  | 
        
          | bool operator!= | ( | const FormatRange & | lhs, |  
          |  |  | const FormatRange & | rhs |  
          |  | ) |  |  |  | friend | 
 
Returns true if lhs is not equal to rhs. 
 
 
  
  | 
        
          | bool operator== | ( | const FormatRange & | lhs, |  
          |  |  | const FormatRange & | rhs |  
          |  | ) |  |  |  | friend | 
 
Returns true if lhs is equal to rhs. 
 
 
Specifies the format to apply. 
 
 
      
        
          | int QTextLayout::FormatRange::length | 
      
 
Specifies the number of characters the format range spans. 
 
 
      
        
          | int QTextLayout::FormatRange::start | 
      
 
Specifies the beginning of the format range within the text layout's text.