#include <codetextedit.h>
◆ CodeTextEdit()
  
  | 
        
          | CodeTextEdit::CodeTextEdit | ( | QWidget * | parent = nullptr | ) |  |  | explicit | 
 
 
◆ highlightCurrentLine
  
  | 
        
          | void CodeTextEdit::highlightCurrentLine | ( |  | ) |  |  | privateslot | 
 
 
◆ lineNumberAreaPaintEvent()
      
        
          | void CodeTextEdit::lineNumberAreaPaintEvent | ( | QPaintEvent * | event | ) |  | 
      
 
 
◆ lineNumberAreaWidth()
      
        
          | int CodeTextEdit::lineNumberAreaWidth | ( |  | ) |  | 
      
 
Calculates the needed width of the line number area. 
- Returns
- width of line number area 
 
 
◆ resizeEvent()
  
  | 
        
          | void CodeTextEdit::resizeEvent | ( | QResizeEvent * | event | ) |  |  | protected | 
 
 
◆ updateLineNumberArea
  
  | 
        
          | void CodeTextEdit::updateLineNumberArea | ( | const QRect & | rect, |  
          |  |  | int | dy ) |  | privateslot | 
 
 
◆ updateLineNumberAreaWidth
  
  | 
        
          | void CodeTextEdit::updateLineNumberAreaWidth | ( | int | newBlockCount | ) |  |  | privateslot | 
 
Slot for 'blockCountChanged'. Sets new viewport margins according to the width of the line number area. 
- Parameters
- 
  
  
 
 
◆ m_highlighter
◆ m_lineNumberArea
  
  | 
        
          | QWidget* CodeTextEdit::m_lineNumberArea |  | private | 
 
 
The documentation for this class was generated from the following files: