55 QString toPlainText()
const;
92 sipRes = sipCpp->size();
111 if ( a0 < 0 || a0 >= sipCpp->size() )
113 PyErr_SetString( PyExc_KeyError, QByteArray::number( a0 ) );
129 SIP_SSIZE_T idx = sipConvertFromSequenceIndex( a0, sipCpp->size() );
139 QVector< QgsTextFragment >::const_iterator begin()
const;
140 QVector< QgsTextFragment >::const_iterator end()
const;
146 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.