umbrello/umbrello
codetextedit.cpp
Go to the documentation of this file.
void fillRect(const QRectF &rectangle, const QBrush &brush)
QTextBlock next() const
QRect contentsRect() const
QRectF blockBoundingGeometry(const QTextBlock &block) const
QWidget * viewport() const
qreal top() const
int height() const
int y() const
void cursorPositionChanged()
void update()
QTextCursor textCursor() const
void setGeometry(int x, int y, int w, int h)
width
const QRect & rect() const
QTextBlock firstVisibleBlock() const
QString number(int n, int base)
void append(const T &value)
void updateRequest(const QRect &rect, int dy)
int top() const
QTextDocument * document() const
void setPen(const QColor &color)
int left() const
Definition: codetexthighlighter.h:34
bool isValid() const
void lineNumberAreaPaintEvent(QPaintEvent *event)
Definition: codetextedit.cpp:131
void drawText(const QPointF &position, const QString &text)
bool contains(const QPoint &point, bool proper) const
void blockCountChanged(int newBlockCount)
QRect rect() const
QRectF blockBoundingRect(const QTextBlock &block) const
void setViewportMargins(int left, int top, int right, int bottom)
int blockCount() const
int width(const QString &text, int len) const
QColor lighter(int factor) const
bool isReadOnly() const
QFontMetrics fontMetrics() const
virtual void resizeEvent(QResizeEvent *e)
QRectF translated(qreal dx, qreal dy) const
Definition: codetextedit.h:63
int height() const
int blockNumber() const
void setExtraSelections(const QList< QTextEdit::ExtraSelection > &selections)
QList< QTextEdit::ExtraSelection > extraSelections() const
qreal height() const
int lineNumberAreaWidth()
Calculates the needed width of the line number area.
Definition: codetextedit.cpp:53
void scroll(int dx, int dy)
QPointF contentOffset() const
bool connect(const QObject *sender, const char *signal, const QObject *receiver, const char *method, Qt::ConnectionType type)
bool isVisible() const
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:40:25 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:40:25 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.