diff --git a/src/qml/EntryPage.qml b/src/qml/EntryPage.qml index dcddf671..2d1894b2 100644 --- a/src/qml/EntryPage.qml +++ b/src/qml/EntryPage.qml @@ -73,9 +73,11 @@ Kirigami.ScrollablePage { subtitle: entry.feed.name } - Controls.Label { + TextEdit { id: textLabel Layout.margins: Kirigami.Units.gridUnit + readOnly: true + selectByMouse: true text: page.entry.content baseUrl: page.entry.baseUrl textFormat: Text.RichText diff --git a/src/qml/FeedDetailsPage.qml b/src/qml/FeedDetailsPage.qml index d17d5e70..7c825a34 100644 --- a/src/qml/FeedDetailsPage.qml +++ b/src/qml/FeedDetailsPage.qml @@ -44,37 +44,63 @@ Kirigami.ScrollablePage { } ColumnLayout { - Kirigami.Heading { - text: feed.description; - level: 3 + TextEdit { + readOnly: true + selectByMouse: true + textFormat:TextEdit.RichText + text: feed.description + font.pointSize: Math.round(Kirigami.Theme.defaultFont.pointSize * 1.2) wrapMode: Text.WordWrap Layout.fillWidth: true } - Controls.Label { + TextEdit { + readOnly: true + selectByMouse: true + textFormat:TextEdit.RichText text: i18nc("by ", "by %1", author) visible: author !== "" wrapMode: Text.WordWrap Layout.fillWidth: true } - Controls.Label { - text: "%1".arg(feed.link) + TextEdit { + readOnly: true + selectByMouse: true + textFormat:TextEdit.RichText + text: i18n("Podcast URL") + ": %1".arg(feed.url) + wrapMode: Text.WordWrap + Layout.fillWidth: true + } + TextEdit { + readOnly: true + selectByMouse: true + textFormat:TextEdit.RichText + text: i18n("Weblink") + ": %1".arg(feed.link) onLinkActivated: Qt.openUrlExternally(link) wrapMode: Text.WordWrap Layout.fillWidth: true } - Controls.Label { + TextEdit { + readOnly: true + selectByMouse: true + textFormat:TextEdit.RichText text: isSubscribed ? i18n("Subscribed since: %1", feed.subscribed.toLocaleString(Qt.locale(), Locale.ShortFormat)) : "" visible: isSubscribed wrapMode: Text.WordWrap Layout.fillWidth: true } - Controls.Label { + TextEdit { + readOnly: true + selectByMouse: true + textFormat:TextEdit.RichText text: isSubscribed ? i18n("Last Updated: %1", feed.lastUpdated.toLocaleString(Qt.locale(), Locale.ShortFormat)) : "" visible: isSubscribed wrapMode: Text.WordWrap Layout.fillWidth: true } - Controls.Label { + TextEdit { + readOnly: true + selectByMouse: true + textFormat:TextEdit.RichText text: i18np("1 Episode", "%1 Episodes", feed.entryCount) + ", " + i18np("1 Unplayed", "%1 Unplayed", feed.unreadEntryCount) visible: isSubscribed wrapMode: Text.WordWrap