The iterator class provides an iterator for reading the contents of a QTextFrame . 更多...
The iterator class provides an iterator for reading the contents of a QTextFrame .
A frame consists of an arbitrary sequence of QTextBlock s and child QTextFrame s. This class provides a way to iterate over the child objects of a frame, and read their contents. It does not provide a way to modify the contents of the frame.
Constructs an invalid iterator.
Returns true if the current item is the last item in the text frame.
Returns the current block the iterator points to. If the iterator points to a child frame, the returned block is 无效的。
另请参阅 currentFrame ().
Returns the current frame pointed to by the iterator, or 0 if the iterator currently points to a block.
另请参阅 currentBlock ().
Returns the parent frame of the current frame.
另请参阅 currentFrame () 和 QTextFrame.parentFrame ().