kjsembed
#include <numberedtextview.h>

| Signals | |
| void | mouseHover (const QString &word) | 
| void | mouseHover (const QPoint &pos, const QString &word) | 
| Public Member Functions | |
| NumberedTextView (QWidget *parent=0) | |
| ~NumberedTextView () | |
| int | bugLine () const | 
| int | currentLine () const | 
| bool | eventFilter (QObject *obj, QEvent *event) | 
| void | setBugLine (int lineno) | 
| void | setCurrentLine (int lineno) | 
| void | setStopLine (int lineno) | 
| void | setText (const QString &text) | 
| int | stopLine () const | 
| QString | text () const | 
| QTextEdit * | textEdit () const | 
| Protected Slots | |
| void | textChanged (int pos, int added, int removed) | 
| Properties | |
| int | bugLine | 
| int | currentLine | 
| int | stopLine | 
| QString | text | 
Detailed Description
Displays a QTextEdit with line numbers.
Definition at line 76 of file numberedtextview.h.
Constructor & Destructor Documentation
| NumberedTextView::NumberedTextView | ( | QWidget * | parent = 0 | ) | 
Definition at line 155 of file numberedtextview.cpp.
| NumberedTextView::~NumberedTextView | ( | ) | 
Definition at line 185 of file numberedtextview.cpp.
Member Function Documentation
| int NumberedTextView::bugLine | ( | ) | const | 
| int NumberedTextView::currentLine | ( | ) | const | 
| bool NumberedTextView::eventFilter | ( | QObject * | obj, | 
| QEvent * | event | ||
| ) | 
Used to get tooltip events from the view for the hover signal.
Definition at line 262 of file numberedtextview.cpp.
| 
 | signal | 
Emitted when the mouse is hovered over the text edit component.
- Parameters
- 
  word The word under the mouse pointer 
| 
 | signal | 
Emitted when the mouse is hovered over the text edit component.
- Parameters
- 
  pos The position of the mouse pointer. word The word under the mouse pointer 
| void NumberedTextView::setBugLine | ( | int | lineno | ) | 
Sets the line that should have the bug line indicator.
A value of -1 indicates no line should show the indicator.
Definition at line 200 of file numberedtextview.cpp.
| void NumberedTextView::setCurrentLine | ( | int | lineno | ) | 
Sets the line that should have the current line indicator.
A value of -1 indicates no line should show the indicator.
Definition at line 189 of file numberedtextview.cpp.
| void NumberedTextView::setStopLine | ( | int | lineno | ) | 
Sets the line that should have the stop line indicator.
A value of -1 indicates no line should show the indicator.
Definition at line 195 of file numberedtextview.cpp.
| void NumberedTextView::setText | ( | const QString & | text | ) | 
Definition at line 225 of file numberedtextview.cpp.
| int NumberedTextView::stopLine | ( | ) | const | 
| QString NumberedTextView::text | ( | ) | const | 
| 
 | protectedslot | 
Used to update the highlight on the current line.
Definition at line 231 of file numberedtextview.cpp.
| 
 | inline | 
Returns the QTextEdit of the main view.
Definition at line 88 of file numberedtextview.h.
Property Documentation
| 
 | readwrite | 
Definition at line 82 of file numberedtextview.h.
| 
 | readwrite | 
Definition at line 80 of file numberedtextview.h.
| 
 | readwrite | 
Definition at line 81 of file numberedtextview.h.
| 
 | readwrite | 
Definition at line 79 of file numberedtextview.h.
The documentation for this class was generated from the following files:
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:47:53 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.
 KDE API Reference
    KDE API Reference