65 QString toPlainText()
const;
102 sipRes = sipCpp->size();
121 if ( a0 < 0 || a0 >= sipCpp->size() )
123 PyErr_SetString( PyExc_KeyError, QByteArray::number( a0 ) );
139 SIP_SSIZE_T idx = sipConvertFromSequenceIndex( a0, sipCpp->size() );
149 QVector< QgsTextFragment >::const_iterator begin()
const;
150 QVector< QgsTextFragment >::const_iterator end()
const;
156 QVector< QgsTextFragment > mFragments;
Represents a block of text consisting of one or more QgsTextFragment objects.
QgsTextBlock()=default
Constructor for an empty text block.
Stores a fragment of text along with formatting overrides to be used when rendering the fragment.