Warning, /graphics/okular/mobile/app/package/contents/ui/Bookmarks.qml is written in an unsupported language. File is not indexed.

0001 /*
0002     SPDX-FileCopyrightText: 2012 Marco Martin <mart@kde.org>
0003 
0004     SPDX-License-Identifier: GPL-2.0-or-later
0005 */
0006 
0007 import QtQuick 2.15
0008 import org.kde.kirigami 2.17 as Kirigami
0009 
0010 
0011 ThumbnailsBase {
0012     id: root
0013     header: Kirigami.AbstractApplicationHeader {
0014         topPadding: Kirigami.Units.largeSpacing
0015         bottomPadding: Kirigami.Units.largeSpacing
0016         rightPadding: Kirigami.Units.largeSpacing
0017         leftPadding: Kirigami.Units.largeSpacing
0018         Kirigami.Heading {
0019             level: 2
0020             text: i18n("Bookmarks")
0021             width: parent.width
0022         }
0023     }
0024     model: documentItem.bookmarkedPages
0025     onPageClicked: {
0026         pageArea.delegate.pageItem.goToBookmark(pageArea.delegate.pageItem.bookmarks[0])
0027     }
0028 }