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.
Bases:
qpageview.selector.SelectorViewMixin
,qpageview.util.LongMousePressMixin
,qpageview.view.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.
Reimplemented to also set the corresponding view mode.
Reads the current font height and reserves enough space in the layout.
Connects to a View, or disconnects the current view if view is None.
Called when the layout of the connected view is updated.
Called when the page number in the connected view changes.
Does not scroll but updates the current page mark in our View.
Reimplemented to print page numbers and a selection box.
Reimplemented to page instead of scroll.
Reimplemented to page instead of scroll.
Reimplemented to auto-change the orientation if desired.
Reimplemented to set the correct font height for the page numbers.