You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
37 lines
717 B
37 lines
717 B
/* |
|
SPDX-FileCopyrightText: 2012 Marco Martin <mart@kde.org> |
|
|
|
SPDX-License-Identifier: GPL-2.0-or-later |
|
*/ |
|
|
|
import QtQuick 2.15 |
|
import QtQuick.Controls 2.15 |
|
import org.kde.okular 2.0 as Okular |
|
|
|
Item { |
|
width: 500 |
|
height: 600 |
|
Okular.DocumentItem { |
|
id: docItem |
|
url: "pageitem.cpp" |
|
} |
|
Okular.PageItem { |
|
id: page |
|
anchors.fill: parent |
|
document: docItem |
|
} |
|
Row { |
|
anchors { |
|
bottom: parent.bottom |
|
right: parent.right |
|
} |
|
Button { |
|
text: "prev" |
|
onClicked: page.pageNumber-- |
|
} |
|
Button { |
|
text: "next" |
|
onClicked: page.pageNumber++ |
|
} |
|
} |
|
}
|
|
|