kjsembed
numberedtextview.cpp
Go to the documentation of this file.
119 bugRect = QRect( 1, qRound( position.y() ) - contentsY, bugMarker.width(), bugMarker.height() );
125 stopRect = QRect( 1, qRound( position.y() ) - contentsY, stopMarker.width(), stopMarker.height() );
131 currentRect = QRect( 1, qRound( position.y() ) - contentsY, currentMarker.width(), currentMarker.height() );
168 connect( view->document(), SIGNAL(contentsChange(int,int,int)), this, SLOT(textChanged(int,int,int)) );
QLayout * layout() const
bool eventFilter(QObject *obj, QEvent *event)
Definition: numberedtextview.cpp:262
Type type() const
palette
int ascent() const
int width() const
QCursor cursor() const
QTextBlock next() const
void setFixedWidth(int w)
QTextCursor cursorForPosition(const QPoint &pos) const
void setStopLine(int lineno)
Sets the line that should have the stop line indicator.
Definition: numberedtextview.cpp:195
QString selectedText() const
void setBugLine(int lineno)
Sets the line that should have the bug line indicator.
Definition: numberedtextview.cpp:200
const QPoint & pos() const
QWidget * viewport() const
NumberedTextView(QWidget *parent=0)
Definition: numberedtextview.cpp:155
void setFrameStyle(int style)
QString toPlainText() const
void setLineWidth(int)
void showText(const QPoint &pos, const QString &text, QWidget *w)
void update()
KJS::JSObject * event(KJS::ExecState *exec, const QEvent *ev)
Definition: jseventutils.cpp:31
bool movePosition(MoveOperation operation, MoveMode mode, int n)
int stopLine() const
int width() const
QTextBlock begin() const
void setFontFamily(const QString &fontFamily)
void addWidget(QWidget *widget, int stretch, QFlags< Qt::AlignmentFlag > alignment)
QString number(int n, int base)
qreal y() const
void mouseHover(const QString &word)
Emitted when the mouse is hovered over the text edit component.
void installEventFilter(QObject *filterObj)
const QPoint & globalPos() const
void drawPixmap(const QRectF &target, const QPixmap &pixmap, const QRectF &source)
int currentLine() const
QPointF topLeft() const
void setBackground(const QBrush &brush)
bool isValid() const
void setBlockFormat(const QTextBlockFormat &format)
QAbstractTextDocumentLayout * documentLayout() const
void drawText(const QPointF &position, const QString &text)
virtual bool eventFilter(QObject *watched, QEvent *event)
bool contains(const QPoint &point, bool proper) const
Definition: numberedtextview.h:36
QScrollBar * verticalScrollBar() const
void setMargin(int margin)
QTextBlock block() const
QTextDocument * document() const
int height() const
int width(const QString &text, int len) const
void setLineWrapMode(LineWrapMode mode)
QFontMetrics fontMetrics() const
void setCurrentLine(int lineno)
Sets the line that should have the current line indicator.
Definition: numberedtextview.cpp:189
QTextBlockFormat blockFormat() const
virtual QRectF blockBoundingRect(const QTextBlock &block) const =0
QString text() const
qreal height() const
int bugLine() const
void textChanged(int pos, int added, int removed)
Definition: numberedtextview.cpp:231
bool connect(const QObject *sender, const char *signal, const QObject *receiver, const char *method, Qt::ConnectionType type)
virtual bool event(QEvent *event)
virtual bool event(QEvent *e)
void setSpacing(int spacing)
height
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:22:53 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:22:53 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.