The sidebarview module¶
SidebarView, a special View with miniatures to use as a sidebar for a View.
Automatically displays all pages in a view in small size, and makes it easier to browse large documents.
- class SidebarView(parent=None, **kwds)[source]¶
Bases:
SelectorViewMixin
,LongMousePressMixin
,View
A special View with miniatures to use as a sidebar for a View.
Automatically displays all pages in a view in small size, and makes it easier to browse large documents. Use setView() to connect a View, and it automatically shows the pages, also when the view is changed.
- MAX_ZOOM = 1.0¶
- pagingOnScrollEnabled = False¶
whether to keep track of current page while scrolling
- wheelZoomingEnabled = False¶
whether to enable mouse wheel zooming
- firstPageNumber = 1¶
- scrollupdatespersec = 100¶
how many scroll updates to draw per second (50, 50 is recommended).
- autoOrientationEnabled = True¶
- setLayoutFontHeight()[source]¶
Reads the current font height and reserves enough space in the layout.