removing bookmarks page for now

Because there's no time to implement the bookmarks mechanism right now.
This commit is contained in:
tanius
2020-09-12 18:33:36 +02:00
parent d18d09d43a
commit 5d2e54cf59
3 changed files with 10 additions and 10 deletions

View File

@@ -82,15 +82,12 @@ Kirigami.ApplicationWindow {
titleIcon: "qrc:///images/applogo-3_exported+optipng-256x256.png"
actions: [
// TODO: Implement a browser history mechanism, then enable this menu item.
// TODO: Implement a bookmarks mechanism, then enable this menu item.
// Kirigami.Action {
// text: qsTr("History")
// text: qsTr("Starred Articles")
// icon.name: "star-shape"
// onTriggered: pageStack.layers.push(Qt.resolvedUrl("qrc:///qml/StarsPage.qml"))
// },
Kirigami.Action {
text: qsTr("Starred Articles")
icon.name: "star-shape"
onTriggered: pageStack.layers.push(Qt.resolvedUrl("qrc:///qml/StarsPage.qml"))
},
Kirigami.Action {
text: qsTr("Settings")
icon.name: "configure"

View File

@@ -140,6 +140,10 @@ ColumnLayout {
// means it might not fill the whole canvas.
// (4) The image is aligned inside its canvas and the canvas inside its container based on the
// defined alignment properties.
//
// TODO Make the image size terminology and calculation simpler by calculating the image
// dimensions (in Layout.preferred*) ourselves in such a way that they already conform to the
// image aspect ratio.
Image {
id: bottomImage

View File

@@ -5,10 +5,9 @@ import org.kde.kirigami 2.10 as Kirigami
import QtQuick.Templates 2.4 as T
// Page for "☰ → Settings".
// Page for "☰ → Starred Articles".
// TODO: Implement a bookmarks mechanism on this page, then re-enable the corresponding menu item.
Kirigami.ScrollablePage {
id: starsPage
title: qsTr("Starred Articles")
}