66 QString toPlainText()
const;
121 sipRes = sipCpp->size();
140 if ( a0 < 0 || a0 >= sipCpp->size() )
142 PyErr_SetString( PyExc_KeyError, QByteArray::number( a0 ) );
158 SIP_SSIZE_T idx = sipConvertFromSequenceIndex( a0, sipCpp->size() );
168 QVector< QgsTextFragment >::const_iterator begin()
const;
169 QVector< QgsTextFragment >::const_iterator end()
const;
175 QVector< QgsTextFragment > mFragments;
Represents a block of text consisting of one or more QgsTextFragment objects.
const QgsTextBlockFormat & blockFormat() const
Returns the block formatting for the fragment.
QgsTextBlock()=default
Constructor for an empty text block.
Stores a fragment of text along with formatting overrides to be used when rendering the fragment.