QSS Solver GUI  4.5.3
LineNumberArea Class Reference

#include <codeeditor.hpp>

Inheritance diagram for LineNumberArea:
Collaboration diagram for LineNumberArea:

Public Member Functions

 LineNumberArea (CodeEditor *editor)
 
QSize sizeHint () const
 

Protected Member Functions

void paintEvent (QPaintEvent *event)
 

Private Attributes

CodeEditorcodeEditor
 

Detailed Description

Definition at line 119 of file codeeditor.hpp.

Constructor & Destructor Documentation

◆ LineNumberArea()

LineNumberArea::LineNumberArea ( CodeEditor editor)
inline
Parameters
editor

Definition at line 125 of file codeeditor.hpp.

References codeEditor.

Member Function Documentation

◆ paintEvent()

void LineNumberArea::paintEvent ( QPaintEvent *  event)
inlineprotected

Definition at line 133 of file codeeditor.hpp.

References codeEditor, and CodeEditor::lineNumberAreaPaintEvent().

Here is the call graph for this function:

◆ sizeHint()

QSize LineNumberArea::sizeHint ( ) const
inline
Returns

Definition at line 130 of file codeeditor.hpp.

References codeEditor, and CodeEditor::lineNumberAreaWidth().

Here is the call graph for this function:

Member Data Documentation

◆ codeEditor

CodeEditor* LineNumberArea::codeEditor
private

Definition at line 136 of file codeeditor.hpp.

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


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