okular
Go to the documentation of this file.
21 import org.kde.plasma.components 0.1 as PlasmaComponents
22 import org.kde.plasma.core 0.1 as PlasmaCore
23 import org.kde.qtextracomponents 0.1
27 property variant sourceModel
28 property int rowIndex: index
31 property bool matches: searchField.searchQuery.length < 3 || display.toLowerCase().indexOf(searchField.searchQuery.toLowerCase()) !== -1
38 opacity: matches ? 1 : 0
47 pageArea.delegate.pageNumber = page-1
48 documentItem.currentPage = page-1
50 resourceBrowser.open =
false
56 width: theme.smallIconSize
58 anchors.verticalCenter: parent.verticalCenter
60 PlasmaComponents.Label {
63 verticalAlignment: Text.AlignBottom
64 anchors.left: icon.right
68 color: theme.textColor
74 right: pageNumber.left
77 PlasmaComponents.Label {
79 text: pageLabel ? pageLabel : page
80 anchors.right: parent.right
81 verticalAlignment: Text.AlignBottom
82 anchors.rightMargin: 40
88 width: parent.width - 20
89 property variant model: childrenModel
92 model: VisualDataModel {
94 model: documentItem.tableOfContents
99 if (treeDelegate.parent && treeDelegate.parent.model) {
100 sourceModel = treeDelegate.parent.model
103 childrenModel.rootIndex = sourceModel.modelIndex(index)
105 if (model.hasModelChildren) {
106 childrenModel.delegate = Qt.createComponent(
"TreeDelegate.qml")
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:19:25 by
doxygen 1.8.7 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.