PapersView.SearchResult¶
- Subclasses:
None
Methods¶
- Inherited:
- Structs:
class |
|
|
|
|
|
|
|
|
|
|
|
Virtual Methods¶
- Inherited:
Properties¶
None
Signals¶
- Inherited:
Fields¶
- Inherited:
Name |
Type |
Access |
Description |
|---|---|---|---|
parent_instance |
r |
Class Details¶
- class PapersView.SearchResult(**kwargs)¶
- Bases:
- Abstract:
No
- Structure:
- classmethod new(markup, label, page, index, global_index, rect)¶
- Parameters:
- Return type:
- append_rectangle(rect)¶
- Parameters:
rect (
PapersDocument.FindRectangle) – thePapersDocument.FindRectangleto append
Appends a rectangle to the search result. This should not be used outside the creation of the search result.
- get_global_index()¶
- Returns:
the index of this result relative the complete result model.
- Return type:
New in version 48.0.
- get_rectangle_list()¶
- Returns:
the list of rectangles for this result.
- Return type: