The iterator class provides an iterator for reading the contents of a PySide.QtGui.QTextFrame .
A frame consists of an arbitrary sequence of PySide.QtGui.QTextBlock s and child PySide.QtGui.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.
| 参数: | o – PySide.QtGui.QTextFrame::iterator |
|---|
Constructs an invalid iterator.
Copy constructor. Constructs a copy of the other iterator.
| 返回类型: | PyObject |
|---|
| 返回类型: | PyObject |
|---|
| 返回类型: | PySide.QtCore.bool |
|---|
Returns true if the current item is the last item in the text frame.
| 返回类型: | PySide.QtGui.QTextBlock |
|---|
Returns the current block the iterator points to. If the iterator points to a child frame, the returned block is invalid.
另请参阅
| 返回类型: | PySide.QtGui.QTextFrame |
|---|
Returns the current frame pointed to by the iterator, or 0 if the iterator currently points to a block.
另请参阅
| 参数: | o – PySide.QtGui.QTextFrame::iterator |
|---|---|
| 返回类型: | PySide.QtCore.bool |
Retuns true if the iterator is different from the other iterator; otherwise returns false.
| 参数: | arg__1 – PySide.QtCore.int |
|---|---|
| 返回类型: | PySide.QtGui.QTextFrame::iterator |
The postfix ++ operator ( i++ ) advances the iterator to the next item in the text frame, and returns an iterator to the old item.
| 参数: | arg__1 – PySide.QtCore.int |
|---|---|
| 返回类型: | PySide.QtGui.QTextFrame::iterator |
The postfix – operator ( i-- ) makes the preceding item in the current frame, and returns an iterator to the old item.
| 参数: | o – PySide.QtGui.QTextFrame::iterator |
|---|---|
| 返回类型: | PySide.QtCore.bool |
Retuns true if the iterator is the same as the other iterator; otherwise returns false.
| 返回类型: | PySide.QtGui.QTextFrame |
|---|
Returns the parent frame of the current frame.