From df297dd89877a45e676f3231f800284633002741 Mon Sep 17 00:00:00 2001 From: Tobias Fella Date: Mon, 20 Apr 2020 01:47:06 +0200 Subject: [PATCH] add FeedDetailsPage --- src/qml/EntryListPage.qml | 2 +- src/qml/FeedDetailsPage.qml | 30 ++++++++++++++++++++++++++++++ src/resources.qrc | 1 + 3 files changed, 32 insertions(+), 1 deletion(-) create mode 100644 src/qml/FeedDetailsPage.qml diff --git a/src/qml/EntryListPage.qml b/src/qml/EntryListPage.qml index 8ed2481d..a735c89d 100755 --- a/src/qml/EntryListPage.qml +++ b/src/qml/EntryListPage.qml @@ -37,7 +37,7 @@ Kirigami.ScrollablePage { Kirigami.Action { text: i18n("Details") visible: !all - onTriggered: ;//pageStack.push("qrc:/qml/FeedDetailsPage.qml", {"modelData": atomModel}) + onTriggered: pageStack.push("qrc:/FeedDetailsPage.qml") } ] diff --git a/src/qml/FeedDetailsPage.qml b/src/qml/FeedDetailsPage.qml new file mode 100644 index 00000000..27a0cb9d --- /dev/null +++ b/src/qml/FeedDetailsPage.qml @@ -0,0 +1,30 @@ +/** + * Copyright 2020 Tobias Fella + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU General Public License as + * published by the Free Software Foundation; either version 2 of + * the License or (at your option) version 3 or any later version + * accepted by the membership of KDE e.V. (or its successor approved + * by the membership of KDE e.V.), which shall act as a proxy + * defined in Section 14 of version 3 of the license. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + +import QtQuick 2.14 +import QtQuick.Controls 2.14 as Controls +import QtQuick.Layouts 1.14 + +import org.kde.kirigami 2.8 as Kirigami + + +Kirigami.Page { + +} diff --git a/src/resources.qrc b/src/resources.qrc index a2796bcc..bc20f5d4 100755 --- a/src/resources.qrc +++ b/src/resources.qrc @@ -5,5 +5,6 @@ qml/FeedListPage.qml qml/EntryPage.qml qml/SettingsPage.qml + qml/FeedDetailsPage.qml