From 0aa3aee921cce9e3035d0a0cc307f0d60f659e64 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Luis=20=C3=81ngel=20San=20Mart=C3=ADn?= Date: Sat, 16 Apr 2016 21:30:32 +0200 Subject: [PATCH] Added publishing information to ComicInfo.qml --- YACReaderLibrary/qml/ComicInfo.qml | 55 ++++++++++++++++++++++++++++++ 1 file changed, 55 insertions(+) diff --git a/YACReaderLibrary/qml/ComicInfo.qml b/YACReaderLibrary/qml/ComicInfo.qml index a0625212..d67855c9 100644 --- a/YACReaderLibrary/qml/ComicInfo.qml +++ b/YACReaderLibrary/qml/ComicInfo.qml @@ -392,6 +392,61 @@ Rectangle { font.bold: true text: "Publisher" + + visible: publisher.visible || format.visible || color.visible || age_rating.visible + } + + Flow { + Layout.fillWidth: true + spacing: 20 + + Text { + id: publisher + + color: "white" + font.family: "Arial" + font.pixelSize: 15 + + text: comicInfo.publisher + + visible: comicInfo.publisher + } + + Text { + id: format + + color: "white" + font.family: "Arial" + font.pixelSize: 15 + + text: comicInfo.format + + visible: comicInfo.format + } + + Text { + id: color + + color: "white" + font.family: "Arial" + font.pixelSize: 15 + + text: comicInfo.color ? "color" : "b/w" + + visible: comicInfo.color + } + + Text { + id: age_rating + + color: "white" + font.family: "Arial" + font.pixelSize: 15 + + text: comicInfo.ageRating + + visible: comicInfo.ageRating + } } Text {