Commit c8db5970 authored by Marco Martin's avatar Marco Martin
Browse files

tiny progressbar at bottom of the screen

parent 883a55f9
......@@ -156,6 +156,7 @@ MobileComponents.SplitDrawer {
PlasmaComponents.ScrollBar {
flickableItem: pageArea.delegate.flickable
orientation: Qt.Horizontal
visible: pageArea.delegate.width > pageArea.width
anchors {
left: pageArea.left
right: pageArea.right
......
......@@ -84,6 +84,16 @@ ApplicationWindow {
bookmarkButton.checked = mainStack.currentPage.bookmarked
}
}
PlasmaComponents.ProgressBar {
id: bar
anchors {
left: parent.left
right: parent.right
bottom: parent.top
}
height: units.smallSpacing
value: documentItem.pageCount != 0 ? (documentItem.currentPage / documentItem.pageCount) : 0
}
}
Okular.DocumentItem {
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment