mirror of
https://github.com/YACReader/yacreader
synced 2026-04-12 15:49:53 -04:00
Better naming in some of the theme properties used in qml
This commit is contained in:
@ -269,22 +269,22 @@ void FolderContentView::applyTheme(const Theme &theme)
|
|||||||
|
|
||||||
// Continue reading section colors
|
// Continue reading section colors
|
||||||
ctxt->setContextProperty("continueReadingBackgroundColor", giv.continueReadingBackgroundColor);
|
ctxt->setContextProperty("continueReadingBackgroundColor", giv.continueReadingBackgroundColor);
|
||||||
ctxt->setContextProperty("continueReadingColor", giv.continueReadingColor);
|
ctxt->setContextProperty("continueReadingTextColor", giv.continueReadingTextColor);
|
||||||
|
|
||||||
// Grid colors
|
// Grid colors
|
||||||
ctxt->setContextProperty("backgroundColor", giv.backgroundColor);
|
ctxt->setContextProperty("backgroundColor", giv.backgroundColor);
|
||||||
ctxt->setContextProperty("cellColor", giv.cellColor);
|
ctxt->setContextProperty("cellColor", giv.cellColor);
|
||||||
ctxt->setContextProperty("selectedColor", giv.selectedColor);
|
ctxt->setContextProperty("cellSelectedColor", giv.cellSelectedColor);
|
||||||
ctxt->setContextProperty("selectedBorderColor", giv.selectedBorderColor);
|
ctxt->setContextProperty("cellSelectedBorderColor", giv.cellSelectedBorderColor);
|
||||||
ctxt->setContextProperty("borderColor", giv.borderColor);
|
ctxt->setContextProperty("borderColor", giv.borderColor);
|
||||||
ctxt->setContextProperty("titleColor", giv.titleColor);
|
ctxt->setContextProperty("itemTitleColor", giv.itemTitleColor);
|
||||||
ctxt->setContextProperty("textColor", giv.textColor);
|
ctxt->setContextProperty("itemDetailsColor", giv.itemDetailsColor);
|
||||||
ctxt->setContextProperty("dropShadow", QVariant(giv.showDropShadow));
|
ctxt->setContextProperty("dropShadow", QVariant(giv.showDropShadow));
|
||||||
|
|
||||||
// Info panel colors
|
// Info panel colors
|
||||||
ctxt->setContextProperty("infoBackgroundColor", giv.infoBackgroundColor);
|
ctxt->setContextProperty("infoBackgroundColor", giv.infoBackgroundColor);
|
||||||
|
ctxt->setContextProperty("infoMetadataTextColor", giv.infoMetadataTextColor);
|
||||||
ctxt->setContextProperty("infoTextColor", giv.infoTextColor);
|
ctxt->setContextProperty("infoTextColor", giv.infoTextColor);
|
||||||
ctxt->setContextProperty("infoTitleColor", giv.infoTitleColor);
|
|
||||||
|
|
||||||
// Rating and favorite colors
|
// Rating and favorite colors
|
||||||
ctxt->setContextProperty("ratingUnselectedColor", giv.ratingUnselectedColor);
|
ctxt->setContextProperty("ratingUnselectedColor", giv.ratingUnselectedColor);
|
||||||
|
|||||||
@ -222,7 +222,7 @@ void GridComicsView::updateBackgroundConfig()
|
|||||||
const auto &giv = theme.gridAndInfoView;
|
const auto &giv = theme.gridAndInfoView;
|
||||||
ctxt->setContextProperty("backgroundColor", useBackgroundImage ? giv.backgroundBlurOverlayColor : giv.backgroundColor);
|
ctxt->setContextProperty("backgroundColor", useBackgroundImage ? giv.backgroundBlurOverlayColor : giv.backgroundColor);
|
||||||
ctxt->setContextProperty("cellColor", useBackgroundImage ? giv.cellColorWithBackground : giv.cellColor);
|
ctxt->setContextProperty("cellColor", useBackgroundImage ? giv.cellColorWithBackground : giv.cellColor);
|
||||||
ctxt->setContextProperty("selectedColor", giv.selectedColor);
|
ctxt->setContextProperty("cellSelectedColor", giv.cellSelectedColor);
|
||||||
}
|
}
|
||||||
|
|
||||||
void GridComicsView::showInfo()
|
void GridComicsView::showInfo()
|
||||||
@ -494,17 +494,17 @@ void GridComicsView::applyTheme(const Theme &theme)
|
|||||||
ctxt->setContextProperty("backgroundColor", giv.backgroundColor);
|
ctxt->setContextProperty("backgroundColor", giv.backgroundColor);
|
||||||
ctxt->setContextProperty("backgroundBlurOverlayColor", giv.backgroundBlurOverlayColor);
|
ctxt->setContextProperty("backgroundBlurOverlayColor", giv.backgroundBlurOverlayColor);
|
||||||
ctxt->setContextProperty("cellColor", giv.cellColor);
|
ctxt->setContextProperty("cellColor", giv.cellColor);
|
||||||
ctxt->setContextProperty("selectedColor", giv.selectedColor);
|
ctxt->setContextProperty("cellSelectedColor", giv.cellSelectedColor);
|
||||||
ctxt->setContextProperty("selectedBorderColor", giv.selectedBorderColor);
|
ctxt->setContextProperty("cellSelectedBorderColor", giv.cellSelectedBorderColor);
|
||||||
ctxt->setContextProperty("borderColor", giv.borderColor);
|
ctxt->setContextProperty("borderColor", giv.borderColor);
|
||||||
ctxt->setContextProperty("titleColor", giv.titleColor);
|
ctxt->setContextProperty("itemTitleColor", giv.itemTitleColor);
|
||||||
ctxt->setContextProperty("textColor", giv.textColor);
|
ctxt->setContextProperty("itemDetailsColor", giv.itemDetailsColor);
|
||||||
ctxt->setContextProperty("showDropShadow", QVariant(giv.showDropShadow));
|
ctxt->setContextProperty("showDropShadow", QVariant(giv.showDropShadow));
|
||||||
|
|
||||||
// Info panel colors
|
// Info panel colors
|
||||||
ctxt->setContextProperty("infoBackgroundColor", giv.infoBackgroundColor);
|
ctxt->setContextProperty("infoBackgroundColor", giv.infoBackgroundColor);
|
||||||
|
ctxt->setContextProperty("infoMetadataTextColor", giv.infoMetadataTextColor);
|
||||||
ctxt->setContextProperty("infoTextColor", giv.infoTextColor);
|
ctxt->setContextProperty("infoTextColor", giv.infoTextColor);
|
||||||
ctxt->setContextProperty("infoTitleColor", giv.infoTitleColor);
|
|
||||||
|
|
||||||
// Rating and favorite colors
|
// Rating and favorite colors
|
||||||
ctxt->setContextProperty("ratingUnselectedColor", giv.ratingUnselectedColor);
|
ctxt->setContextProperty("ratingUnselectedColor", giv.ratingUnselectedColor);
|
||||||
|
|||||||
@ -239,8 +239,8 @@ void InfoComicsView::applyTheme(const Theme &theme)
|
|||||||
ctxt->setContextProperty("topShadow", svgUrl(giv.topShadow));
|
ctxt->setContextProperty("topShadow", svgUrl(giv.topShadow));
|
||||||
ctxt->setContextProperty("infoShadow", svgUrl(giv.infoShadow));
|
ctxt->setContextProperty("infoShadow", svgUrl(giv.infoShadow));
|
||||||
ctxt->setContextProperty("infoIndicator", svgUrl(giv.infoIndicator));
|
ctxt->setContextProperty("infoIndicator", svgUrl(giv.infoIndicator));
|
||||||
|
ctxt->setContextProperty("infoMetadataTextColor", giv.infoMetadataTextColor);
|
||||||
ctxt->setContextProperty("infoTextColor", giv.infoTextColor);
|
ctxt->setContextProperty("infoTextColor", giv.infoTextColor);
|
||||||
ctxt->setContextProperty("infoTitleColor", giv.infoTitleColor);
|
|
||||||
|
|
||||||
// Rating and favorite colors
|
// Rating and favorite colors
|
||||||
ctxt->setContextProperty("ratingUnselectedColor", giv.ratingUnselectedColor);
|
ctxt->setContextProperty("ratingUnselectedColor", giv.ratingUnselectedColor);
|
||||||
|
|||||||
@ -13,7 +13,7 @@ Rectangle {
|
|||||||
|
|
||||||
height: info.height + 2 * topMargin
|
height: info.height + 2 * topMargin
|
||||||
|
|
||||||
property string infoColor: infoTextColor
|
property string infoColor: infoMetadataTextColor
|
||||||
property font infoFont: Qt.font({
|
property font infoFont: Qt.font({
|
||||||
|
|
||||||
family: "Arial",
|
family: "Arial",
|
||||||
@ -135,7 +135,7 @@ Rectangle {
|
|||||||
|
|
||||||
id: title
|
id: title
|
||||||
|
|
||||||
color: infoTitleColor
|
color: infoTextColor
|
||||||
font.family: "Arial"
|
font.family: "Arial"
|
||||||
font.bold: true
|
font.bold: true
|
||||||
font.pixelSize: mainContainer.compact ? 18 : 21;
|
font.pixelSize: mainContainer.compact ? 18 : 21;
|
||||||
@ -279,7 +279,7 @@ Rectangle {
|
|||||||
Layout.fillWidth: true
|
Layout.fillWidth: true
|
||||||
|
|
||||||
id: sinopsis
|
id: sinopsis
|
||||||
color: infoTitleColor
|
color: infoTextColor
|
||||||
font.family: "Arial"
|
font.family: "Arial"
|
||||||
font.pixelSize: 15
|
font.pixelSize: 15
|
||||||
wrapMode: Text.WordWrap
|
wrapMode: Text.WordWrap
|
||||||
@ -294,7 +294,7 @@ Rectangle {
|
|||||||
Layout.bottomMargin: 5
|
Layout.bottomMargin: 5
|
||||||
|
|
||||||
id: characters_title
|
id: characters_title
|
||||||
color: infoTitleColor
|
color: infoTextColor
|
||||||
font.family: "Arial"
|
font.family: "Arial"
|
||||||
font.pixelSize: 18
|
font.pixelSize: 18
|
||||||
font.bold: true
|
font.bold: true
|
||||||
@ -312,7 +312,7 @@ Rectangle {
|
|||||||
model: comicInfo ? comicInfo.getCharacters().length : null
|
model: comicInfo ? comicInfo.getCharacters().length : null
|
||||||
|
|
||||||
Text {
|
Text {
|
||||||
color: infoTitleColor
|
color: infoTextColor
|
||||||
font.family: "Arial"
|
font.family: "Arial"
|
||||||
font.pixelSize: 15
|
font.pixelSize: 15
|
||||||
|
|
||||||
@ -326,7 +326,7 @@ Rectangle {
|
|||||||
Layout.bottomMargin: 5
|
Layout.bottomMargin: 5
|
||||||
|
|
||||||
id: main_character_or_team_title
|
id: main_character_or_team_title
|
||||||
color: infoTitleColor
|
color: infoTextColor
|
||||||
font.family: "Arial"
|
font.family: "Arial"
|
||||||
font.pixelSize: 18
|
font.pixelSize: 18
|
||||||
font.bold: true
|
font.bold: true
|
||||||
@ -337,7 +337,7 @@ Rectangle {
|
|||||||
}
|
}
|
||||||
|
|
||||||
Text {
|
Text {
|
||||||
color: infoTitleColor
|
color: infoTextColor
|
||||||
font.family: "Arial"
|
font.family: "Arial"
|
||||||
font.pixelSize: 15
|
font.pixelSize: 15
|
||||||
|
|
||||||
@ -351,7 +351,7 @@ Rectangle {
|
|||||||
Layout.bottomMargin: 5
|
Layout.bottomMargin: 5
|
||||||
|
|
||||||
id: teams_title
|
id: teams_title
|
||||||
color: infoTitleColor
|
color: infoTextColor
|
||||||
font.family: "Arial"
|
font.family: "Arial"
|
||||||
font.pixelSize: 18
|
font.pixelSize: 18
|
||||||
font.bold: true
|
font.bold: true
|
||||||
@ -371,7 +371,7 @@ Rectangle {
|
|||||||
model: comicInfo ? comicInfo.getTeams().length : null
|
model: comicInfo ? comicInfo.getTeams().length : null
|
||||||
|
|
||||||
Text {
|
Text {
|
||||||
color: infoTitleColor
|
color: infoTextColor
|
||||||
font.family: "Arial"
|
font.family: "Arial"
|
||||||
font.pixelSize: 15
|
font.pixelSize: 15
|
||||||
|
|
||||||
@ -385,7 +385,7 @@ Rectangle {
|
|||||||
Layout.bottomMargin: 5
|
Layout.bottomMargin: 5
|
||||||
|
|
||||||
id: locations_title
|
id: locations_title
|
||||||
color: infoTitleColor
|
color: infoTextColor
|
||||||
font.family: "Arial"
|
font.family: "Arial"
|
||||||
font.pixelSize: 18
|
font.pixelSize: 18
|
||||||
font.bold: true
|
font.bold: true
|
||||||
@ -403,7 +403,7 @@ Rectangle {
|
|||||||
model: comicInfo ? comicInfo.getLocations().length : null
|
model: comicInfo ? comicInfo.getLocations().length : null
|
||||||
|
|
||||||
Text {
|
Text {
|
||||||
color: infoTitleColor
|
color: infoTextColor
|
||||||
font.family: "Arial"
|
font.family: "Arial"
|
||||||
font.pixelSize: 15
|
font.pixelSize: 15
|
||||||
|
|
||||||
@ -417,7 +417,7 @@ Rectangle {
|
|||||||
Layout.bottomMargin: 5
|
Layout.bottomMargin: 5
|
||||||
|
|
||||||
id: authors_title
|
id: authors_title
|
||||||
color: infoTitleColor
|
color: infoTextColor
|
||||||
font.family: "Arial"
|
font.family: "Arial"
|
||||||
font.pixelSize: 18
|
font.pixelSize: 18
|
||||||
font.bold: true
|
font.bold: true
|
||||||
@ -442,7 +442,7 @@ Rectangle {
|
|||||||
model: comicInfo ? comicInfo.getWriters().length : null
|
model: comicInfo ? comicInfo.getWriters().length : null
|
||||||
Column{
|
Column{
|
||||||
Text {
|
Text {
|
||||||
color: infoTitleColor
|
color: infoTextColor
|
||||||
font.family: "Arial"
|
font.family: "Arial"
|
||||||
font.pixelSize: 15
|
font.pixelSize: 15
|
||||||
|
|
||||||
@ -450,7 +450,7 @@ Rectangle {
|
|||||||
}
|
}
|
||||||
|
|
||||||
Text {
|
Text {
|
||||||
color: infoTextColor
|
color: infoMetadataTextColor
|
||||||
font.family: "Arial"
|
font.family: "Arial"
|
||||||
font.pixelSize: 13
|
font.pixelSize: 13
|
||||||
font.italic: true
|
font.italic: true
|
||||||
@ -464,7 +464,7 @@ Rectangle {
|
|||||||
model: comicInfo ? comicInfo.getPencillers().length : null
|
model: comicInfo ? comicInfo.getPencillers().length : null
|
||||||
Column{
|
Column{
|
||||||
Text {
|
Text {
|
||||||
color: infoTitleColor
|
color: infoTextColor
|
||||||
font.family: "Arial"
|
font.family: "Arial"
|
||||||
font.pixelSize: 15
|
font.pixelSize: 15
|
||||||
|
|
||||||
@ -472,7 +472,7 @@ Rectangle {
|
|||||||
}
|
}
|
||||||
|
|
||||||
Text {
|
Text {
|
||||||
color: infoTextColor
|
color: infoMetadataTextColor
|
||||||
font.family: "Arial"
|
font.family: "Arial"
|
||||||
font.pixelSize: 13
|
font.pixelSize: 13
|
||||||
font.italic: true
|
font.italic: true
|
||||||
@ -486,7 +486,7 @@ Rectangle {
|
|||||||
model: comicInfo ? comicInfo.getInkers().length : null
|
model: comicInfo ? comicInfo.getInkers().length : null
|
||||||
Column{
|
Column{
|
||||||
Text {
|
Text {
|
||||||
color: infoTitleColor
|
color: infoTextColor
|
||||||
font.family: "Arial"
|
font.family: "Arial"
|
||||||
font.pixelSize: 15
|
font.pixelSize: 15
|
||||||
|
|
||||||
@ -494,7 +494,7 @@ Rectangle {
|
|||||||
}
|
}
|
||||||
|
|
||||||
Text {
|
Text {
|
||||||
color: infoTextColor
|
color: infoMetadataTextColor
|
||||||
font.family: "Arial"
|
font.family: "Arial"
|
||||||
font.pixelSize: 13
|
font.pixelSize: 13
|
||||||
font.italic: true
|
font.italic: true
|
||||||
@ -508,7 +508,7 @@ Rectangle {
|
|||||||
model: comicInfo ? comicInfo.getColorists().length : null
|
model: comicInfo ? comicInfo.getColorists().length : null
|
||||||
Column{
|
Column{
|
||||||
Text {
|
Text {
|
||||||
color: infoTitleColor
|
color: infoTextColor
|
||||||
font.family: "Arial"
|
font.family: "Arial"
|
||||||
font.pixelSize: 15
|
font.pixelSize: 15
|
||||||
|
|
||||||
@ -516,7 +516,7 @@ Rectangle {
|
|||||||
}
|
}
|
||||||
|
|
||||||
Text {
|
Text {
|
||||||
color: infoTextColor
|
color: infoMetadataTextColor
|
||||||
font.family: "Arial"
|
font.family: "Arial"
|
||||||
font.pixelSize: 13
|
font.pixelSize: 13
|
||||||
font.italic: true
|
font.italic: true
|
||||||
@ -530,7 +530,7 @@ Rectangle {
|
|||||||
model: comicInfo ? comicInfo.getLetterers().length : null
|
model: comicInfo ? comicInfo.getLetterers().length : null
|
||||||
Column{
|
Column{
|
||||||
Text {
|
Text {
|
||||||
color: infoTitleColor
|
color: infoTextColor
|
||||||
font.family: "Arial"
|
font.family: "Arial"
|
||||||
font.pixelSize: 15
|
font.pixelSize: 15
|
||||||
|
|
||||||
@ -538,7 +538,7 @@ Rectangle {
|
|||||||
}
|
}
|
||||||
|
|
||||||
Text {
|
Text {
|
||||||
color: infoTextColor
|
color: infoMetadataTextColor
|
||||||
font.family: "Arial"
|
font.family: "Arial"
|
||||||
font.pixelSize: 13
|
font.pixelSize: 13
|
||||||
font.italic: true
|
font.italic: true
|
||||||
@ -552,7 +552,7 @@ Rectangle {
|
|||||||
model: comicInfo ? comicInfo.getCoverArtists().length : null
|
model: comicInfo ? comicInfo.getCoverArtists().length : null
|
||||||
Column{
|
Column{
|
||||||
Text {
|
Text {
|
||||||
color: infoTitleColor
|
color: infoTextColor
|
||||||
font.family: "Arial"
|
font.family: "Arial"
|
||||||
font.pixelSize: 15
|
font.pixelSize: 15
|
||||||
|
|
||||||
@ -560,7 +560,7 @@ Rectangle {
|
|||||||
}
|
}
|
||||||
|
|
||||||
Text {
|
Text {
|
||||||
color: infoTextColor
|
color: infoMetadataTextColor
|
||||||
font.family: "Arial"
|
font.family: "Arial"
|
||||||
font.pixelSize: 13
|
font.pixelSize: 13
|
||||||
font.italic: true
|
font.italic: true
|
||||||
@ -574,7 +574,7 @@ Rectangle {
|
|||||||
model: comicInfo ? comicInfo.getEditors().length : null
|
model: comicInfo ? comicInfo.getEditors().length : null
|
||||||
Column{
|
Column{
|
||||||
Text {
|
Text {
|
||||||
color: infoTitleColor
|
color: infoTextColor
|
||||||
font.family: "Arial"
|
font.family: "Arial"
|
||||||
font.pixelSize: 15
|
font.pixelSize: 15
|
||||||
|
|
||||||
@ -582,7 +582,7 @@ Rectangle {
|
|||||||
}
|
}
|
||||||
|
|
||||||
Text {
|
Text {
|
||||||
color: infoTextColor
|
color: infoMetadataTextColor
|
||||||
font.family: "Arial"
|
font.family: "Arial"
|
||||||
font.pixelSize: 13
|
font.pixelSize: 13
|
||||||
font.italic: true
|
font.italic: true
|
||||||
@ -596,7 +596,7 @@ Rectangle {
|
|||||||
model: comicInfo ? comicInfo.getImprint().length : null
|
model: comicInfo ? comicInfo.getImprint().length : null
|
||||||
Column{
|
Column{
|
||||||
Text {
|
Text {
|
||||||
color: infoTitleColor
|
color: infoTextColor
|
||||||
font.family: "Arial"
|
font.family: "Arial"
|
||||||
font.pixelSize: 15
|
font.pixelSize: 15
|
||||||
|
|
||||||
@ -604,7 +604,7 @@ Rectangle {
|
|||||||
}
|
}
|
||||||
|
|
||||||
Text {
|
Text {
|
||||||
color: infoTextColor
|
color: infoMetadataTextColor
|
||||||
font.family: "Arial"
|
font.family: "Arial"
|
||||||
font.pixelSize: 13
|
font.pixelSize: 13
|
||||||
font.italic: true
|
font.italic: true
|
||||||
@ -618,7 +618,7 @@ Rectangle {
|
|||||||
Layout.topMargin: 25
|
Layout.topMargin: 25
|
||||||
|
|
||||||
id: publisher_title
|
id: publisher_title
|
||||||
color: infoTitleColor
|
color: infoTextColor
|
||||||
font.family: "Arial"
|
font.family: "Arial"
|
||||||
font.pixelSize: 18
|
font.pixelSize: 18
|
||||||
font.bold: true
|
font.bold: true
|
||||||
@ -635,7 +635,7 @@ Rectangle {
|
|||||||
Text {
|
Text {
|
||||||
id: publisher
|
id: publisher
|
||||||
|
|
||||||
color: infoTitleColor
|
color: infoTextColor
|
||||||
font.family: "Arial"
|
font.family: "Arial"
|
||||||
font.pixelSize: 15
|
font.pixelSize: 15
|
||||||
|
|
||||||
@ -647,7 +647,7 @@ Rectangle {
|
|||||||
Text {
|
Text {
|
||||||
id: format
|
id: format
|
||||||
|
|
||||||
color: infoTitleColor
|
color: infoTextColor
|
||||||
font.family: "Arial"
|
font.family: "Arial"
|
||||||
font.pixelSize: 15
|
font.pixelSize: 15
|
||||||
|
|
||||||
@ -659,7 +659,7 @@ Rectangle {
|
|||||||
Text {
|
Text {
|
||||||
id: type
|
id: type
|
||||||
|
|
||||||
color: infoTitleColor
|
color: infoTextColor
|
||||||
font.family: "Arial"
|
font.family: "Arial"
|
||||||
font.pixelSize: 15
|
font.pixelSize: 15
|
||||||
|
|
||||||
@ -671,7 +671,7 @@ Rectangle {
|
|||||||
Text {
|
Text {
|
||||||
id: color
|
id: color
|
||||||
|
|
||||||
color: infoTitleColor
|
color: infoTextColor
|
||||||
font.family: "Arial"
|
font.family: "Arial"
|
||||||
font.pixelSize: 15
|
font.pixelSize: 15
|
||||||
|
|
||||||
@ -683,7 +683,7 @@ Rectangle {
|
|||||||
Text {
|
Text {
|
||||||
id: language
|
id: language
|
||||||
|
|
||||||
color: infoTitleColor
|
color: infoTextColor
|
||||||
font.family: "Arial"
|
font.family: "Arial"
|
||||||
font.pixelSize: 15
|
font.pixelSize: 15
|
||||||
|
|
||||||
@ -695,7 +695,7 @@ Rectangle {
|
|||||||
Text {
|
Text {
|
||||||
id: age_rating
|
id: age_rating
|
||||||
|
|
||||||
color: infoTitleColor
|
color: infoTextColor
|
||||||
font.family: "Arial"
|
font.family: "Arial"
|
||||||
font.pixelSize: 15
|
font.pixelSize: 15
|
||||||
|
|
||||||
|
|||||||
@ -178,7 +178,7 @@ Rectangle {
|
|||||||
wrapMode: Text.WordWrap
|
wrapMode: Text.WordWrap
|
||||||
text: name
|
text: name
|
||||||
elide: Text.ElideRight
|
elide: Text.ElideRight
|
||||||
color: titleColor
|
color: itemTitleColor
|
||||||
font.letterSpacing: fontSpacing
|
font.letterSpacing: fontSpacing
|
||||||
font.pointSize: fontSize
|
font.pointSize: fontSize
|
||||||
font.family: fontFamily
|
font.family: fontFamily
|
||||||
@ -221,7 +221,7 @@ Rectangle {
|
|||||||
Text {
|
Text {
|
||||||
id: continueReadingText
|
id: continueReadingText
|
||||||
text: qsTr("Continue Reading...")
|
text: qsTr("Continue Reading...")
|
||||||
color: continueReadingColor
|
color: continueReadingTextColor
|
||||||
anchors.left: parent.left
|
anchors.left: parent.left
|
||||||
anchors.top: parent.top
|
anchors.top: parent.top
|
||||||
anchors.topMargin: 15
|
anchors.topMargin: 15
|
||||||
@ -297,7 +297,7 @@ Rectangle {
|
|||||||
wrapMode: Text.WordWrap
|
wrapMode: Text.WordWrap
|
||||||
text: readable_title
|
text: readable_title
|
||||||
elide: Text.ElideRight
|
elide: Text.ElideRight
|
||||||
color: titleColor
|
color: itemTitleColor
|
||||||
font.letterSpacing: fontSpacing
|
font.letterSpacing: fontSpacing
|
||||||
font.pointSize: fontSize
|
font.pointSize: fontSize
|
||||||
font.family: fontFamily
|
font.family: fontFamily
|
||||||
|
|||||||
@ -108,8 +108,8 @@ SplitView {
|
|||||||
width: itemWidth
|
width: itemWidth
|
||||||
height: itemHeight
|
height: itemHeight
|
||||||
|
|
||||||
color: ((dummyValue || !dummyValue) && comicsSelectionHelper.isSelectedIndex(index))?selectedColor:cellColor;
|
color: ((dummyValue || !dummyValue) && comicsSelectionHelper.isSelectedIndex(index))?cellSelectedColor:cellColor;
|
||||||
//border.color: ((dummyValue || !dummyValue) && comicsSelectionHelper.isSelectedIndex(index))?selectedBorderColor:borderColor;
|
//border.color: ((dummyValue || !dummyValue) && comicsSelectionHelper.isSelectedIndex(index))?cellSelectedBorderColor:borderColor;
|
||||||
//border.width: ?1:0;
|
//border.width: ?1:0;
|
||||||
anchors.horizontalCenter: parent.horizontalCenter
|
anchors.horizontalCenter: parent.horizontalCenter
|
||||||
|
|
||||||
@ -143,7 +143,7 @@ SplitView {
|
|||||||
rightMargin : commonBorder ? -commonBorderWidth : -rBorderwidth
|
rightMargin : commonBorder ? -commonBorderWidth : -rBorderwidth
|
||||||
}
|
}
|
||||||
|
|
||||||
border.color: selectedBorderColor
|
border.color: cellSelectedBorderColor
|
||||||
border.width: 3
|
border.width: 3
|
||||||
|
|
||||||
opacity: (dummyValue || !dummyValue) && comicsSelectionHelper.isSelectedIndex(index) ? 1 : 0
|
opacity: (dummyValue || !dummyValue) && comicsSelectionHelper.isSelectedIndex(index) ? 1 : 0
|
||||||
@ -330,7 +330,7 @@ SplitView {
|
|||||||
wrapMode: Text.WordWrap
|
wrapMode: Text.WordWrap
|
||||||
text: title
|
text: title
|
||||||
elide: Text.ElideRight
|
elide: Text.ElideRight
|
||||||
color: titleColor
|
color: itemTitleColor
|
||||||
clip: true
|
clip: true
|
||||||
font.letterSpacing: fontSpacing
|
font.letterSpacing: fontSpacing
|
||||||
font.pointSize: fontSize
|
font.pointSize: fontSize
|
||||||
@ -341,7 +341,7 @@ SplitView {
|
|||||||
Text {
|
Text {
|
||||||
anchors {bottom: realCell.bottom; left: realCell.left; margins: 4}
|
anchors {bottom: realCell.bottom; left: realCell.left; margins: 4}
|
||||||
text: number?"<b>#</b>"+number:""
|
text: number?"<b>#</b>"+number:""
|
||||||
color: textColor
|
color: itemDetailsColor
|
||||||
font.letterSpacing: fontSpacing
|
font.letterSpacing: fontSpacing
|
||||||
font.pointSize: fontSize
|
font.pointSize: fontSize
|
||||||
font.family: fontFamily
|
font.family: fontFamily
|
||||||
@ -352,7 +352,7 @@ SplitView {
|
|||||||
id: pageImage
|
id: pageImage
|
||||||
anchors {bottom: realCell.bottom; right: realCell.right; bottomMargin: 6; rightMargin: 4; leftMargin: 4}
|
anchors {bottom: realCell.bottom; right: realCell.right; bottomMargin: 6; rightMargin: 4; leftMargin: 4}
|
||||||
source: "page.svg"
|
source: "page.svg"
|
||||||
color: textColor
|
color: itemDetailsColor
|
||||||
width: 8
|
width: 8
|
||||||
height: 10
|
height: 10
|
||||||
}
|
}
|
||||||
@ -362,7 +362,7 @@ SplitView {
|
|||||||
id: pages
|
id: pages
|
||||||
anchors {bottom: realCell.bottom; right: pageImage.left; margins: 4}
|
anchors {bottom: realCell.bottom; right: pageImage.left; margins: 4}
|
||||||
text: has_been_opened?current_page+"/"+num_pages:num_pages
|
text: has_been_opened?current_page+"/"+num_pages:num_pages
|
||||||
color: textColor
|
color: itemDetailsColor
|
||||||
font.letterSpacing: fontSpacing
|
font.letterSpacing: fontSpacing
|
||||||
font.pointSize: fontSize
|
font.pointSize: fontSize
|
||||||
font.family: fontFamily
|
font.family: fontFamily
|
||||||
@ -373,7 +373,7 @@ SplitView {
|
|||||||
id: ratingImage
|
id: ratingImage
|
||||||
anchors {bottom: realCell.bottom; right: pageImage.left; bottomMargin: 6.5; rightMargin: Math.floor(pages.width)+12}
|
anchors {bottom: realCell.bottom; right: pageImage.left; bottomMargin: 6.5; rightMargin: Math.floor(pages.width)+12}
|
||||||
source: "star.svg"
|
source: "star.svg"
|
||||||
color: textColor
|
color: itemDetailsColor
|
||||||
width: 11
|
width: 11
|
||||||
height: 11
|
height: 11
|
||||||
|
|
||||||
@ -423,7 +423,7 @@ SplitView {
|
|||||||
id: comicRating
|
id: comicRating
|
||||||
anchors {bottom: realCell.bottom; right: ratingImage.left; margins: 4}
|
anchors {bottom: realCell.bottom; right: ratingImage.left; margins: 4}
|
||||||
text: rating>0?rating:"-"
|
text: rating>0?rating:"-"
|
||||||
color: textColor
|
color: itemDetailsColor
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -511,7 +511,7 @@ SplitView {
|
|||||||
|
|
||||||
id: currentComicInfoTitleView
|
id: currentComicInfoTitleView
|
||||||
|
|
||||||
color: infoTitleColor
|
color: infoTextColor
|
||||||
font.family: "Arial"
|
font.family: "Arial"
|
||||||
font.bold: true
|
font.bold: true
|
||||||
font.pixelSize: 21
|
font.pixelSize: 21
|
||||||
@ -531,7 +531,7 @@ SplitView {
|
|||||||
family: "Arial",
|
family: "Arial",
|
||||||
pixelSize: 14
|
pixelSize: 14
|
||||||
});
|
});
|
||||||
property string infoFlowTextColor: infoTextColor
|
property string infoFlowTextColor: infoMetadataTextColor
|
||||||
|
|
||||||
Text {
|
Text {
|
||||||
id: currentComicInfoVolume
|
id: currentComicInfoVolume
|
||||||
@ -643,7 +643,7 @@ SplitView {
|
|||||||
width: synopsisScroller.width
|
width: synopsisScroller.width
|
||||||
|
|
||||||
id: currentComicInfoSinopsis
|
id: currentComicInfoSinopsis
|
||||||
color: infoTitleColor
|
color: infoTextColor
|
||||||
font.family: "Arial"
|
font.family: "Arial"
|
||||||
font.pixelSize: 14
|
font.pixelSize: 14
|
||||||
wrapMode: Text.WordWrap
|
wrapMode: Text.WordWrap
|
||||||
|
|||||||
@ -45,42 +45,42 @@
|
|||||||
"backgroundBlurOverlayColor": "#2a2a2a",
|
"backgroundBlurOverlayColor": "#2a2a2a",
|
||||||
"backgroundColor": "#2a2a2a",
|
"backgroundColor": "#2a2a2a",
|
||||||
"borderColor": "#121212",
|
"borderColor": "#121212",
|
||||||
|
"buttonColor": "#ffcc00",
|
||||||
|
"buttonShadowColor": "#aa000000",
|
||||||
|
"buttonTextColor": "#ffffff",
|
||||||
"cellColor": "#212121",
|
"cellColor": "#212121",
|
||||||
"cellColorWithBackground": "#99212121",
|
"cellColorWithBackground": "#99212121",
|
||||||
|
"cellSelectedBorderColor": "#ffcc00",
|
||||||
|
"cellSelectedColor": "#121212",
|
||||||
|
"comicCoverBorderColor": "#30ffffff",
|
||||||
"continueReadingBackgroundColor": "#88000000",
|
"continueReadingBackgroundColor": "#88000000",
|
||||||
"continueReadingColor": "#ffffff",
|
"continueReadingTextColor": "#ffffff",
|
||||||
"currentComicBackgroundColor": "#88000000",
|
"currentComicBackgroundColor": "#88000000",
|
||||||
|
"currentComicCoverShadowColor": "#ff000000",
|
||||||
"favCheckedColor": "#e84852",
|
"favCheckedColor": "#e84852",
|
||||||
"favUncheckedColor": "#1c1c1c",
|
"favUncheckedColor": "#1c1c1c",
|
||||||
|
"folderCoverBorderColor": "#20ffffff",
|
||||||
"infoBackgroundColor": "#2e2e2e",
|
"infoBackgroundColor": "#2e2e2e",
|
||||||
"infoBorderColor": "#404040",
|
"infoBorderColor": "#404040",
|
||||||
|
"infoMetadataTextColor": "#b0b0b0",
|
||||||
|
"infoScrollbarColor": "#ff424246",
|
||||||
"infoShadowColor": "#000000",
|
"infoShadowColor": "#000000",
|
||||||
"infoTextColor": "#b0b0b0",
|
"infoTextColor": "#ffffff",
|
||||||
"infoTitleColor": "#ffffff",
|
"itemDetailsColor": "#a8a8a8",
|
||||||
|
"itemTitleColor": "#ffffff",
|
||||||
|
"linkColor": "#ffcc00",
|
||||||
|
"newItemColor": "#ffffcc00",
|
||||||
|
"placeholderFolder1BorderColor": "#20ffffff",
|
||||||
|
"placeholderFolder1Color": "#20000000",
|
||||||
|
"placeholderFolder2BorderColor": "#20ffffff",
|
||||||
|
"placeholderFolder2Color": "#88000000",
|
||||||
"ratingSelectedColor": "#ffffff",
|
"ratingSelectedColor": "#ffffff",
|
||||||
"ratingUnselectedColor": "#1c1c1c",
|
"ratingUnselectedColor": "#1c1c1c",
|
||||||
"readTickCheckedColor": "#e84852",
|
"readTickCheckedColor": "#e84852",
|
||||||
"readTickUncheckedColor": "#1c1c1c",
|
"readTickUncheckedColor": "#1c1c1c",
|
||||||
"selectedBorderColor": "#ffcc00",
|
|
||||||
"selectedColor": "#121212",
|
|
||||||
"showDropShadow": true,
|
|
||||||
"textColor": "#a8a8a8",
|
|
||||||
"titleColor": "#ffffff",
|
|
||||||
"newItemColor": "#ffffcc00",
|
|
||||||
"buttonColor": "#ffcc00",
|
|
||||||
"buttonTextColor": "#ffffff",
|
|
||||||
"linkColor": "#ffcc00",
|
|
||||||
"scrollbarColor": "#88424242",
|
|
||||||
"scrollbarBorderColor": "#aa313131",
|
"scrollbarBorderColor": "#aa313131",
|
||||||
"infoScrollbarColor": "#ff424246",
|
"scrollbarColor": "#88424242",
|
||||||
"comicCoverBorderColor": "#30ffffff",
|
"showDropShadow": true
|
||||||
"folderCoverBorderColor": "#20ffffff",
|
|
||||||
"placeholderFolder1Color": "#20000000",
|
|
||||||
"placeholderFolder1BorderColor": "#20ffffff",
|
|
||||||
"placeholderFolder2Color": "#88000000",
|
|
||||||
"placeholderFolder2BorderColor": "#20ffffff",
|
|
||||||
"currentComicCoverShadowColor": "#ff000000",
|
|
||||||
"buttonShadowColor": "#aa000000"
|
|
||||||
},
|
},
|
||||||
"helpAboutDialog": {
|
"helpAboutDialog": {
|
||||||
"headingColor": "#302f2d",
|
"headingColor": "#302f2d",
|
||||||
@ -166,10 +166,10 @@
|
|||||||
"folderIconSelectedColor": "#e0e0e0",
|
"folderIconSelectedColor": "#e0e0e0",
|
||||||
"folderIconSelectedShadowColor": "#000000",
|
"folderIconSelectedShadowColor": "#000000",
|
||||||
"folderIconShadowColor": "#000000",
|
"folderIconShadowColor": "#000000",
|
||||||
"newItemColor": "#edc518",
|
|
||||||
"folderNotCompletedColor": "#edc518",
|
"folderNotCompletedColor": "#edc518",
|
||||||
"folderReadOverlayColor": "#464646",
|
"folderReadOverlayColor": "#464646",
|
||||||
"folderReadOverlaySelectedColor": "#464646",
|
"folderReadOverlaySelectedColor": "#464646",
|
||||||
|
"newItemColor": "#edc518",
|
||||||
"scrollBackgroundColor": "#404040",
|
"scrollBackgroundColor": "#404040",
|
||||||
"scrollHandleColor": "#dddddd",
|
"scrollHandleColor": "#dddddd",
|
||||||
"selectedTextColor": "#ffffff",
|
"selectedTextColor": "#ffffff",
|
||||||
|
|||||||
@ -45,42 +45,42 @@
|
|||||||
"backgroundBlurOverlayColor": "#2a2a2a",
|
"backgroundBlurOverlayColor": "#2a2a2a",
|
||||||
"backgroundColor": "#2a2a2a",
|
"backgroundColor": "#2a2a2a",
|
||||||
"borderColor": "#121212",
|
"borderColor": "#121212",
|
||||||
|
"buttonColor": "#ffcc00",
|
||||||
|
"buttonShadowColor": "#aa000000",
|
||||||
|
"buttonTextColor": "#ffffff",
|
||||||
"cellColor": "#212121",
|
"cellColor": "#212121",
|
||||||
"cellColorWithBackground": "#99212121",
|
"cellColorWithBackground": "#99212121",
|
||||||
|
"cellSelectedBorderColor": "#ffcc00",
|
||||||
|
"cellSelectedColor": "#121212",
|
||||||
|
"comicCoverBorderColor": "#30ffffff",
|
||||||
"continueReadingBackgroundColor": "#88000000",
|
"continueReadingBackgroundColor": "#88000000",
|
||||||
"continueReadingColor": "#ffffff",
|
"continueReadingTextColor": "#ffffff",
|
||||||
"currentComicBackgroundColor": "#55000000",
|
"currentComicBackgroundColor": "#55000000",
|
||||||
|
"currentComicCoverShadowColor": "#ff000000",
|
||||||
"favCheckedColor": "#e84852",
|
"favCheckedColor": "#e84852",
|
||||||
"favUncheckedColor": "#1c1c1c",
|
"favUncheckedColor": "#1c1c1c",
|
||||||
|
"folderCoverBorderColor": "#20ffffff",
|
||||||
"infoBackgroundColor": "#2e2e2e",
|
"infoBackgroundColor": "#2e2e2e",
|
||||||
"infoBorderColor": "#404040",
|
"infoBorderColor": "#404040",
|
||||||
|
"infoMetadataTextColor": "#b0b0b0",
|
||||||
|
"infoScrollbarColor": "#ff424246",
|
||||||
"infoShadowColor": "#000000",
|
"infoShadowColor": "#000000",
|
||||||
"infoTextColor": "#b0b0b0",
|
"infoTextColor": "#ffffff",
|
||||||
"infoTitleColor": "#ffffff",
|
"itemDetailsColor": "#a8a8a8",
|
||||||
|
"itemTitleColor": "#ffffff",
|
||||||
|
"linkColor": "#ffcc00",
|
||||||
|
"newItemColor": "#ffffcc00",
|
||||||
|
"placeholderFolder1BorderColor": "#20ffffff",
|
||||||
|
"placeholderFolder1Color": "#20000000",
|
||||||
|
"placeholderFolder2BorderColor": "#20ffffff",
|
||||||
|
"placeholderFolder2Color": "#88000000",
|
||||||
"ratingSelectedColor": "#ffffff",
|
"ratingSelectedColor": "#ffffff",
|
||||||
"ratingUnselectedColor": "#1c1c1c",
|
"ratingUnselectedColor": "#1c1c1c",
|
||||||
"readTickCheckedColor": "#e84852",
|
"readTickCheckedColor": "#e84852",
|
||||||
"readTickUncheckedColor": "#1c1c1c",
|
"readTickUncheckedColor": "#1c1c1c",
|
||||||
"selectedBorderColor": "#ffcc00",
|
|
||||||
"selectedColor": "#121212",
|
|
||||||
"showDropShadow": true,
|
|
||||||
"textColor": "#a8a8a8",
|
|
||||||
"titleColor": "#ffffff",
|
|
||||||
"newItemColor": "#ffffcc00",
|
|
||||||
"buttonColor": "#ffcc00",
|
|
||||||
"buttonTextColor": "#ffffff",
|
|
||||||
"linkColor": "#ffcc00",
|
|
||||||
"scrollbarColor": "#88424242",
|
|
||||||
"scrollbarBorderColor": "#aa313131",
|
"scrollbarBorderColor": "#aa313131",
|
||||||
"infoScrollbarColor": "#ff424246",
|
"scrollbarColor": "#88424242",
|
||||||
"comicCoverBorderColor": "#30ffffff",
|
"showDropShadow": true
|
||||||
"folderCoverBorderColor": "#20ffffff",
|
|
||||||
"placeholderFolder1Color": "#20000000",
|
|
||||||
"placeholderFolder1BorderColor": "#20ffffff",
|
|
||||||
"placeholderFolder2Color": "#88000000",
|
|
||||||
"placeholderFolder2BorderColor": "#20ffffff",
|
|
||||||
"currentComicCoverShadowColor": "#ff000000",
|
|
||||||
"buttonShadowColor": "#aa000000"
|
|
||||||
},
|
},
|
||||||
"helpAboutDialog": {
|
"helpAboutDialog": {
|
||||||
"headingColor": "#e0e0e0",
|
"headingColor": "#e0e0e0",
|
||||||
@ -166,10 +166,10 @@
|
|||||||
"folderIconSelectedColor": "#e0e0e0",
|
"folderIconSelectedColor": "#e0e0e0",
|
||||||
"folderIconSelectedShadowColor": "#000000",
|
"folderIconSelectedShadowColor": "#000000",
|
||||||
"folderIconShadowColor": "#000000",
|
"folderIconShadowColor": "#000000",
|
||||||
"newItemColor": "#edc518",
|
|
||||||
"folderNotCompletedColor": "#edc518",
|
"folderNotCompletedColor": "#edc518",
|
||||||
"folderReadOverlayColor": "#222222",
|
"folderReadOverlayColor": "#222222",
|
||||||
"folderReadOverlaySelectedColor": "#222222",
|
"folderReadOverlaySelectedColor": "#222222",
|
||||||
|
"newItemColor": "#edc518",
|
||||||
"scrollBackgroundColor": "#404040",
|
"scrollBackgroundColor": "#404040",
|
||||||
"scrollHandleColor": "#dddddd",
|
"scrollHandleColor": "#dddddd",
|
||||||
"selectedTextColor": "#ffffff",
|
"selectedTextColor": "#ffffff",
|
||||||
|
|||||||
@ -45,42 +45,42 @@
|
|||||||
"backgroundBlurOverlayColor": "#9e9e9e",
|
"backgroundBlurOverlayColor": "#9e9e9e",
|
||||||
"backgroundColor": "#f6f6f6",
|
"backgroundColor": "#f6f6f6",
|
||||||
"borderColor": "#dbdbdb",
|
"borderColor": "#dbdbdb",
|
||||||
|
"buttonColor": "#ffcc00",
|
||||||
|
"buttonShadowColor": "#aa000000",
|
||||||
|
"buttonTextColor": "#ffffff",
|
||||||
"cellColor": "#ffffff",
|
"cellColor": "#ffffff",
|
||||||
"cellColorWithBackground": "#99ffffff",
|
"cellColorWithBackground": "#99ffffff",
|
||||||
|
"cellSelectedBorderColor": "#ffcc00",
|
||||||
|
"cellSelectedColor": "#ffffff",
|
||||||
|
"comicCoverBorderColor": "#30ffffff",
|
||||||
"continueReadingBackgroundColor": "#e8e8e8",
|
"continueReadingBackgroundColor": "#e8e8e8",
|
||||||
"continueReadingColor": "#000000",
|
"continueReadingTextColor": "#000000",
|
||||||
"currentComicBackgroundColor": "#88ffffff",
|
"currentComicBackgroundColor": "#88ffffff",
|
||||||
|
"currentComicCoverShadowColor": "#ff000000",
|
||||||
"favCheckedColor": "#e84852",
|
"favCheckedColor": "#e84852",
|
||||||
"favUncheckedColor": "#dedede",
|
"favUncheckedColor": "#dedede",
|
||||||
|
"folderCoverBorderColor": "#20ffffff",
|
||||||
"infoBackgroundColor": "#ffffff",
|
"infoBackgroundColor": "#ffffff",
|
||||||
"infoBorderColor": "#808080",
|
"infoBorderColor": "#808080",
|
||||||
|
"infoMetadataTextColor": "#404040",
|
||||||
|
"infoScrollbarColor": "#ff424246",
|
||||||
"infoShadowColor": "#444444",
|
"infoShadowColor": "#444444",
|
||||||
"infoTextColor": "#404040",
|
"infoTextColor": "#2e2e2e",
|
||||||
"infoTitleColor": "#2e2e2e",
|
"itemDetailsColor": "#636363",
|
||||||
|
"itemTitleColor": "#121212",
|
||||||
|
"linkColor": "#ffcc00",
|
||||||
|
"newItemColor": "#ffffcc00",
|
||||||
|
"placeholderFolder1BorderColor": "#20ffffff",
|
||||||
|
"placeholderFolder1Color": "#20000000",
|
||||||
|
"placeholderFolder2BorderColor": "#20ffffff",
|
||||||
|
"placeholderFolder2Color": "#88000000",
|
||||||
"ratingSelectedColor": "#2b2b2b",
|
"ratingSelectedColor": "#2b2b2b",
|
||||||
"ratingUnselectedColor": "#dedede",
|
"ratingUnselectedColor": "#dedede",
|
||||||
"readTickCheckedColor": "#e84852",
|
"readTickCheckedColor": "#e84852",
|
||||||
"readTickUncheckedColor": "#dedede",
|
"readTickUncheckedColor": "#dedede",
|
||||||
"selectedBorderColor": "#ffcc00",
|
|
||||||
"selectedColor": "#ffffff",
|
|
||||||
"showDropShadow": true,
|
|
||||||
"textColor": "#636363",
|
|
||||||
"titleColor": "#121212",
|
|
||||||
"newItemColor": "#ffffcc00",
|
|
||||||
"buttonColor": "#ffcc00",
|
|
||||||
"buttonTextColor": "#ffffff",
|
|
||||||
"linkColor": "#ffcc00",
|
|
||||||
"scrollbarColor": "#88424242",
|
|
||||||
"scrollbarBorderColor": "#aa313131",
|
"scrollbarBorderColor": "#aa313131",
|
||||||
"infoScrollbarColor": "#ff424246",
|
"scrollbarColor": "#88424242",
|
||||||
"comicCoverBorderColor": "#30ffffff",
|
"showDropShadow": true
|
||||||
"folderCoverBorderColor": "#20ffffff",
|
|
||||||
"placeholderFolder1Color": "#20000000",
|
|
||||||
"placeholderFolder1BorderColor": "#20ffffff",
|
|
||||||
"placeholderFolder2Color": "#88000000",
|
|
||||||
"placeholderFolder2BorderColor": "#20ffffff",
|
|
||||||
"currentComicCoverShadowColor": "#ff000000",
|
|
||||||
"buttonShadowColor": "#aa000000"
|
|
||||||
},
|
},
|
||||||
"helpAboutDialog": {
|
"helpAboutDialog": {
|
||||||
"headingColor": "#302f2d",
|
"headingColor": "#302f2d",
|
||||||
@ -166,10 +166,10 @@
|
|||||||
"folderIconSelectedColor": "#ffffff",
|
"folderIconSelectedColor": "#ffffff",
|
||||||
"folderIconSelectedShadowColor": "#161616",
|
"folderIconSelectedShadowColor": "#161616",
|
||||||
"folderIconShadowColor": "#ffffff",
|
"folderIconShadowColor": "#ffffff",
|
||||||
"newItemColor": "#555f7f",
|
|
||||||
"folderNotCompletedColor": "#555f7f",
|
"folderNotCompletedColor": "#555f7f",
|
||||||
"folderReadOverlayColor": "#ffffff",
|
"folderReadOverlayColor": "#ffffff",
|
||||||
"folderReadOverlaySelectedColor": "#161616",
|
"folderReadOverlaySelectedColor": "#161616",
|
||||||
|
"newItemColor": "#555f7f",
|
||||||
"scrollBackgroundColor": "#e0e0e0",
|
"scrollBackgroundColor": "#e0e0e0",
|
||||||
"scrollHandleColor": "#888888",
|
"scrollHandleColor": "#888888",
|
||||||
"selectedTextColor": "#ffffff",
|
"selectedTextColor": "#ffffff",
|
||||||
|
|||||||
@ -215,11 +215,11 @@ struct GridAndInfoViewTheme {
|
|||||||
QColor backgroundColor;
|
QColor backgroundColor;
|
||||||
QColor cellColor;
|
QColor cellColor;
|
||||||
QColor cellColorWithBackground;
|
QColor cellColorWithBackground;
|
||||||
QColor selectedColor;
|
QColor cellSelectedColor;
|
||||||
QColor selectedBorderColor;
|
QColor cellSelectedBorderColor;
|
||||||
QColor borderColor;
|
QColor borderColor;
|
||||||
QColor titleColor;
|
QColor itemTitleColor;
|
||||||
QColor textColor;
|
QColor itemDetailsColor;
|
||||||
bool showDropShadow;
|
bool showDropShadow;
|
||||||
|
|
||||||
// Info panel colors
|
// Info panel colors
|
||||||
@ -227,8 +227,8 @@ struct GridAndInfoViewTheme {
|
|||||||
QString topShadow; // Recolored SVG path
|
QString topShadow; // Recolored SVG path
|
||||||
QString infoShadow; // Recolored SVG path
|
QString infoShadow; // Recolored SVG path
|
||||||
QString infoIndicator; // Recolored SVG path
|
QString infoIndicator; // Recolored SVG path
|
||||||
|
QColor infoMetadataTextColor;
|
||||||
QColor infoTextColor;
|
QColor infoTextColor;
|
||||||
QColor infoTitleColor;
|
|
||||||
|
|
||||||
// Rating and favorite colors
|
// Rating and favorite colors
|
||||||
QColor ratingUnselectedColor;
|
QColor ratingUnselectedColor;
|
||||||
@ -243,7 +243,7 @@ struct GridAndInfoViewTheme {
|
|||||||
|
|
||||||
// Continue reading section (FolderContentView)
|
// Continue reading section (FolderContentView)
|
||||||
QColor continueReadingBackgroundColor;
|
QColor continueReadingBackgroundColor;
|
||||||
QColor continueReadingColor;
|
QColor continueReadingTextColor;
|
||||||
|
|
||||||
// Blur overlay background (FlowView always, GridView when background image enabled)
|
// Blur overlay background (FlowView always, GridView when background image enabled)
|
||||||
QColor backgroundBlurOverlayColor;
|
QColor backgroundBlurOverlayColor;
|
||||||
|
|||||||
@ -143,19 +143,19 @@ struct GridAndInfoViewParams {
|
|||||||
QColor backgroundColor;
|
QColor backgroundColor;
|
||||||
QColor cellColor;
|
QColor cellColor;
|
||||||
QColor cellColorWithBackground;
|
QColor cellColorWithBackground;
|
||||||
QColor selectedColor;
|
QColor cellSelectedColor;
|
||||||
QColor selectedBorderColor;
|
QColor cellSelectedBorderColor;
|
||||||
QColor borderColor;
|
QColor borderColor;
|
||||||
QColor titleColor;
|
QColor itemTitleColor;
|
||||||
QColor textColor;
|
QColor itemDetailsColor;
|
||||||
bool showDropShadow;
|
bool showDropShadow;
|
||||||
|
|
||||||
// Info panel colors
|
// Info panel colors
|
||||||
QColor infoBackgroundColor;
|
QColor infoBackgroundColor;
|
||||||
QColor infoBorderColor;
|
QColor infoBorderColor;
|
||||||
QColor infoShadowColor;
|
QColor infoShadowColor;
|
||||||
|
QColor infoMetadataTextColor;
|
||||||
QColor infoTextColor;
|
QColor infoTextColor;
|
||||||
QColor infoTitleColor;
|
|
||||||
|
|
||||||
// Rating and favorite colors
|
// Rating and favorite colors
|
||||||
QColor ratingUnselectedColor;
|
QColor ratingUnselectedColor;
|
||||||
@ -170,7 +170,7 @@ struct GridAndInfoViewParams {
|
|||||||
|
|
||||||
// Continue reading section (FolderContentView)
|
// Continue reading section (FolderContentView)
|
||||||
QColor continueReadingBackgroundColor;
|
QColor continueReadingBackgroundColor;
|
||||||
QColor continueReadingColor;
|
QColor continueReadingTextColor;
|
||||||
|
|
||||||
// Blur overlay background (FlowView always, GridView when background image enabled)
|
// Blur overlay background (FlowView always, GridView when background image enabled)
|
||||||
QColor backgroundBlurOverlayColor;
|
QColor backgroundBlurOverlayColor;
|
||||||
@ -520,18 +520,18 @@ Theme makeTheme(const ThemeParams ¶ms)
|
|||||||
theme.gridAndInfoView.backgroundColor = giv.backgroundColor;
|
theme.gridAndInfoView.backgroundColor = giv.backgroundColor;
|
||||||
theme.gridAndInfoView.cellColor = giv.cellColor;
|
theme.gridAndInfoView.cellColor = giv.cellColor;
|
||||||
theme.gridAndInfoView.cellColorWithBackground = giv.cellColorWithBackground;
|
theme.gridAndInfoView.cellColorWithBackground = giv.cellColorWithBackground;
|
||||||
theme.gridAndInfoView.selectedColor = giv.selectedColor;
|
theme.gridAndInfoView.cellSelectedColor = giv.cellSelectedColor;
|
||||||
theme.gridAndInfoView.selectedBorderColor = giv.selectedBorderColor;
|
theme.gridAndInfoView.cellSelectedBorderColor = giv.cellSelectedBorderColor;
|
||||||
theme.gridAndInfoView.borderColor = giv.borderColor;
|
theme.gridAndInfoView.borderColor = giv.borderColor;
|
||||||
theme.gridAndInfoView.titleColor = giv.titleColor;
|
theme.gridAndInfoView.itemTitleColor = giv.itemTitleColor;
|
||||||
theme.gridAndInfoView.textColor = giv.textColor;
|
theme.gridAndInfoView.itemDetailsColor = giv.itemDetailsColor;
|
||||||
theme.gridAndInfoView.showDropShadow = giv.showDropShadow;
|
theme.gridAndInfoView.showDropShadow = giv.showDropShadow;
|
||||||
theme.gridAndInfoView.infoBackgroundColor = giv.infoBackgroundColor;
|
theme.gridAndInfoView.infoBackgroundColor = giv.infoBackgroundColor;
|
||||||
theme.gridAndInfoView.topShadow = recoloredSvgToThemeFile(":/qml/info-top-shadow.svg", giv.infoBackgroundColor, giv.infoBorderColor, giv.infoShadowColor, params.meta.id);
|
theme.gridAndInfoView.topShadow = recoloredSvgToThemeFile(":/qml/info-top-shadow.svg", giv.infoBackgroundColor, giv.infoBorderColor, giv.infoShadowColor, params.meta.id);
|
||||||
theme.gridAndInfoView.infoShadow = recoloredSvgToThemeFile(":/qml/info-shadow.svg", giv.infoBackgroundColor, giv.infoBorderColor, giv.infoShadowColor, params.meta.id);
|
theme.gridAndInfoView.infoShadow = recoloredSvgToThemeFile(":/qml/info-shadow.svg", giv.infoBackgroundColor, giv.infoBorderColor, giv.infoShadowColor, params.meta.id);
|
||||||
theme.gridAndInfoView.infoIndicator = recoloredSvgToThemeFile(":/qml/info-indicator.svg", giv.infoBackgroundColor, giv.infoBorderColor, giv.infoShadowColor, params.meta.id);
|
theme.gridAndInfoView.infoIndicator = recoloredSvgToThemeFile(":/qml/info-indicator.svg", giv.infoBackgroundColor, giv.infoBorderColor, giv.infoShadowColor, params.meta.id);
|
||||||
|
theme.gridAndInfoView.infoMetadataTextColor = giv.infoMetadataTextColor;
|
||||||
theme.gridAndInfoView.infoTextColor = giv.infoTextColor;
|
theme.gridAndInfoView.infoTextColor = giv.infoTextColor;
|
||||||
theme.gridAndInfoView.infoTitleColor = giv.infoTitleColor;
|
|
||||||
theme.gridAndInfoView.ratingUnselectedColor = giv.ratingUnselectedColor;
|
theme.gridAndInfoView.ratingUnselectedColor = giv.ratingUnselectedColor;
|
||||||
theme.gridAndInfoView.ratingSelectedColor = giv.ratingSelectedColor;
|
theme.gridAndInfoView.ratingSelectedColor = giv.ratingSelectedColor;
|
||||||
theme.gridAndInfoView.favUncheckedColor = giv.favUncheckedColor;
|
theme.gridAndInfoView.favUncheckedColor = giv.favUncheckedColor;
|
||||||
@ -540,7 +540,7 @@ Theme makeTheme(const ThemeParams ¶ms)
|
|||||||
theme.gridAndInfoView.readTickCheckedColor = giv.readTickCheckedColor;
|
theme.gridAndInfoView.readTickCheckedColor = giv.readTickCheckedColor;
|
||||||
theme.gridAndInfoView.currentComicBackgroundColor = giv.currentComicBackgroundColor;
|
theme.gridAndInfoView.currentComicBackgroundColor = giv.currentComicBackgroundColor;
|
||||||
theme.gridAndInfoView.continueReadingBackgroundColor = giv.continueReadingBackgroundColor;
|
theme.gridAndInfoView.continueReadingBackgroundColor = giv.continueReadingBackgroundColor;
|
||||||
theme.gridAndInfoView.continueReadingColor = giv.continueReadingColor;
|
theme.gridAndInfoView.continueReadingTextColor = giv.continueReadingTextColor;
|
||||||
theme.gridAndInfoView.backgroundBlurOverlayColor = giv.backgroundBlurOverlayColor;
|
theme.gridAndInfoView.backgroundBlurOverlayColor = giv.backgroundBlurOverlayColor;
|
||||||
theme.gridAndInfoView.newItemColor = giv.newItemColor;
|
theme.gridAndInfoView.newItemColor = giv.newItemColor;
|
||||||
theme.gridAndInfoView.buttonColor = giv.buttonColor;
|
theme.gridAndInfoView.buttonColor = giv.buttonColor;
|
||||||
@ -1114,18 +1114,18 @@ Theme makeTheme(const QJsonObject &json)
|
|||||||
giv.backgroundColor = colorFromJson(o, "backgroundColor", giv.backgroundColor);
|
giv.backgroundColor = colorFromJson(o, "backgroundColor", giv.backgroundColor);
|
||||||
giv.cellColor = colorFromJson(o, "cellColor", giv.cellColor);
|
giv.cellColor = colorFromJson(o, "cellColor", giv.cellColor);
|
||||||
giv.cellColorWithBackground = colorFromJson(o, "cellColorWithBackground", giv.cellColorWithBackground);
|
giv.cellColorWithBackground = colorFromJson(o, "cellColorWithBackground", giv.cellColorWithBackground);
|
||||||
giv.selectedColor = colorFromJson(o, "selectedColor", giv.selectedColor);
|
giv.cellSelectedColor = colorFromJson(o, "cellSelectedColor", giv.cellSelectedColor);
|
||||||
giv.selectedBorderColor = colorFromJson(o, "selectedBorderColor", giv.selectedBorderColor);
|
giv.cellSelectedBorderColor = colorFromJson(o, "cellSelectedBorderColor", giv.cellSelectedBorderColor);
|
||||||
giv.borderColor = colorFromJson(o, "borderColor", giv.borderColor);
|
giv.borderColor = colorFromJson(o, "borderColor", giv.borderColor);
|
||||||
giv.titleColor = colorFromJson(o, "titleColor", giv.titleColor);
|
giv.itemTitleColor = colorFromJson(o, "itemTitleColor", giv.itemTitleColor);
|
||||||
giv.textColor = colorFromJson(o, "textColor", giv.textColor);
|
giv.itemDetailsColor = colorFromJson(o, "itemDetailsColor", giv.itemDetailsColor);
|
||||||
if (o.contains("showDropShadow"))
|
if (o.contains("showDropShadow"))
|
||||||
giv.showDropShadow = o["showDropShadow"].toBool(giv.showDropShadow);
|
giv.showDropShadow = o["showDropShadow"].toBool(giv.showDropShadow);
|
||||||
giv.infoBackgroundColor = colorFromJson(o, "infoBackgroundColor", giv.infoBackgroundColor);
|
giv.infoBackgroundColor = colorFromJson(o, "infoBackgroundColor", giv.infoBackgroundColor);
|
||||||
giv.infoBorderColor = colorFromJson(o, "infoBorderColor", giv.infoBorderColor);
|
giv.infoBorderColor = colorFromJson(o, "infoBorderColor", giv.infoBorderColor);
|
||||||
giv.infoShadowColor = colorFromJson(o, "infoShadowColor", giv.infoShadowColor);
|
giv.infoShadowColor = colorFromJson(o, "infoShadowColor", giv.infoShadowColor);
|
||||||
|
giv.infoMetadataTextColor = colorFromJson(o, "infoMetadataTextColor", giv.infoMetadataTextColor);
|
||||||
giv.infoTextColor = colorFromJson(o, "infoTextColor", giv.infoTextColor);
|
giv.infoTextColor = colorFromJson(o, "infoTextColor", giv.infoTextColor);
|
||||||
giv.infoTitleColor = colorFromJson(o, "infoTitleColor", giv.infoTitleColor);
|
|
||||||
giv.ratingUnselectedColor = colorFromJson(o, "ratingUnselectedColor", giv.ratingUnselectedColor);
|
giv.ratingUnselectedColor = colorFromJson(o, "ratingUnselectedColor", giv.ratingUnselectedColor);
|
||||||
giv.ratingSelectedColor = colorFromJson(o, "ratingSelectedColor", giv.ratingSelectedColor);
|
giv.ratingSelectedColor = colorFromJson(o, "ratingSelectedColor", giv.ratingSelectedColor);
|
||||||
giv.favUncheckedColor = colorFromJson(o, "favUncheckedColor", giv.favUncheckedColor);
|
giv.favUncheckedColor = colorFromJson(o, "favUncheckedColor", giv.favUncheckedColor);
|
||||||
@ -1134,7 +1134,7 @@ Theme makeTheme(const QJsonObject &json)
|
|||||||
giv.readTickCheckedColor = colorFromJson(o, "readTickCheckedColor", giv.readTickCheckedColor);
|
giv.readTickCheckedColor = colorFromJson(o, "readTickCheckedColor", giv.readTickCheckedColor);
|
||||||
giv.currentComicBackgroundColor = colorFromJson(o, "currentComicBackgroundColor", giv.currentComicBackgroundColor);
|
giv.currentComicBackgroundColor = colorFromJson(o, "currentComicBackgroundColor", giv.currentComicBackgroundColor);
|
||||||
giv.continueReadingBackgroundColor = colorFromJson(o, "continueReadingBackgroundColor", giv.continueReadingBackgroundColor);
|
giv.continueReadingBackgroundColor = colorFromJson(o, "continueReadingBackgroundColor", giv.continueReadingBackgroundColor);
|
||||||
giv.continueReadingColor = colorFromJson(o, "continueReadingColor", giv.continueReadingColor);
|
giv.continueReadingTextColor = colorFromJson(o, "continueReadingTextColor", giv.continueReadingTextColor);
|
||||||
giv.backgroundBlurOverlayColor = colorFromJson(o, "backgroundBlurOverlayColor", giv.backgroundBlurOverlayColor);
|
giv.backgroundBlurOverlayColor = colorFromJson(o, "backgroundBlurOverlayColor", giv.backgroundBlurOverlayColor);
|
||||||
giv.newItemColor = colorFromJson(o, "newItemColor", giv.newItemColor);
|
giv.newItemColor = colorFromJson(o, "newItemColor", giv.newItemColor);
|
||||||
giv.buttonColor = colorFromJson(o, "buttonColor", giv.buttonColor);
|
giv.buttonColor = colorFromJson(o, "buttonColor", giv.buttonColor);
|
||||||
|
|||||||
Reference in New Issue
Block a user