Cppcheck
Public Member Functions | Protected Member Functions | Private Attributes | List of all members
LineNumberArea Class Reference

#include <codeeditor.h>

Inheritance diagram for LineNumberArea:

Public Member Functions

 LineNumberArea (CodeEditor *editor)
 
QSize sizeHint () const override
 

Protected Member Functions

void paintEvent (QPaintEvent *event) override
 

Private Attributes

CodeEditormCodeEditor
 

Detailed Description

Definition at line 146 of file codeeditor.h.

Constructor & Destructor Documentation

◆ LineNumberArea()

LineNumberArea::LineNumberArea ( CodeEditor editor)
inlineexplicit

Definition at line 148 of file codeeditor.h.

References mCodeEditor.

Member Function Documentation

◆ paintEvent()

void LineNumberArea::paintEvent ( QPaintEvent *  event)
inlineoverrideprotected

Definition at line 157 of file codeeditor.h.

References CodeEditor::lineNumberAreaPaintEvent(), and mCodeEditor.

◆ sizeHint()

QSize LineNumberArea::sizeHint ( ) const
inlineoverride

Definition at line 152 of file codeeditor.h.

References CodeEditor::lineNumberAreaWidth(), and mCodeEditor.

Member Data Documentation

◆ mCodeEditor

CodeEditor* LineNumberArea::mCodeEditor
private

Definition at line 162 of file codeeditor.h.

Referenced by LineNumberArea(), paintEvent(), and sizeHint().


The documentation for this class was generated from the following file: