Logo Search packages:      
Sourcecode: qt4-x11 version File versions  Download package

int QTextDocument::maximumBlockCount [read, write]

Specifies the limit for blocks in the document.

Since:
4.2 Specifies the maximum number of blocks the document may have. If there are more blocks in the document that specified with this property blocks are removed from the beginning of the document.
A negative or zero value specifies that the document may contain an unlimited amount of blocks.

The default value is 0.

Note that setting this property will apply the limit immediately to the document contents.

Setting this property also disables the undo redo history.

This property is undefined in documents with tables or frames.

Definition at line 122 of file qtextdocument.h.


Generated by  Doxygen 1.6.0   Back to index