#include <textlayout.h>
|
| TextLayoutBuilder (TextLayout *textLayout, QString &baseString, QVector< QTextLayout::FormatRange > &baseFormatRanges) |
|
void | replace (int index, int length, const QString replacement, QTextCharFormat format) |
|
◆ TextLayoutBuilder()
edbee::TextLayoutBuilder::TextLayoutBuilder |
( |
TextLayout * | textLayout, |
|
|
QString & | baseString, |
|
|
QVector< QTextLayout::FormatRange > & | baseFormatRanges ) |
◆ replace()
void edbee::TextLayoutBuilder::replace |
( |
int | index, |
|
|
int | length, |
|
|
const QString | replacement, |
|
|
QTextCharFormat | format ) |
- Todo
- : Should we store the original length!?!?!?
◆ baseFormatRanges_
QVector<QTextLayout::FormatRange>& edbee::TextLayoutBuilder::baseFormatRanges_ |
|
protected |
A reference to the baseFormat range (This list is modified!)
◆ baseString_
QString& edbee::TextLayoutBuilder::baseString_ |
|
protected |
A reference to the base-string. (This string is modified!)
◆ textLayoutRef_
TextLayout* edbee::TextLayoutBuilder::textLayoutRef_ |
|
protected |
A reference to the textlayout.
The documentation for this class was generated from the following files: