Warning, /graphics/arianna/src/config.kcfg is written in an unsupported language. File is not indexed.
0001 <?xml version="1.0" encoding="UTF-8"?> 0002 <kcfg xmlns="http://www.kde.org/standards/kcfg/1.0" 0003 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 0004 xsi:schemaLocation="http://www.kde.org/standards/kcfg/1.0 0005 http://www.kde.org/standards/kcfg/1.0/kcfg.xsd" > 0006 0007 <!-- 0008 SPDX-FileCopyrightText: Carl Schwan <carl@carlschwan.eu> 0009 SPDX-License-Identifier: CC0-1.0 0010 --> 0011 <kcfgfile name="arianna" /> 0012 <include>QStandardPaths</include> 0013 <group name="General"> 0014 <entry name="bookLocations" type="StringList"> 0015 <label>Location where to search for books</label> 0016 <code> 0017 QStringList defaultLocations; 0018 defaultLocations = QStandardPaths::standardLocations(QStandardPaths::DocumentsLocation); 0019 defaultLocations << QStandardPaths::standardLocations(QStandardPaths::DownloadLocation); 0020 defaultLocations << QStringLiteral("%1/books").arg(QStandardPaths::standardLocations(QStandardPaths::GenericDataLocation).constFirst()); 0021 </code> 0022 <default code="true">defaultLocations</default> 0023 </entry> 0024 </group> 0025 <group name="Appearance"> 0026 <entry name="defaultFont" type="Font"> 0027 <label>Default font</label> 0028 <code> 0029 QFont generalFont = QFont(QStringLiteral("serif"), 12); 0030 generalFont.setStyleName(QStringLiteral("Regular")); 0031 </code> 0032 <default code="true">generalFont</default> 0033 </entry> 0034 <entry name="usePublisherFont" type="bool"> 0035 <label>Use publisher font</label> 0036 <default>false</default> 0037 </entry> 0038 <entry name="invert" type="bool"> 0039 <label>Invert colors</label> 0040 <default>false</default> 0041 </entry> 0042 <entry name="justify" type="bool"> 0043 <label>Justify text</label> 0044 <default>true</default> 0045 </entry> 0046 <entry name="hyphenate" type="bool"> 0047 <label>Hyphenate text</label> 0048 <default>false</default> 0049 </entry> 0050 <entry name="spacing" type="double"> 0051 <label>Line-height</label> 0052 <default>1.5</default> 0053 </entry> 0054 <entry name="brightness" type="double"> 0055 <label>Brightness</label> 0056 <default>1</default> 0057 </entry> 0058 <entry name="maxWidth" type="int"> 0059 <label>Max width</label> 0060 <default>1400</default> 0061 </entry> 0062 <entry name="margin" type="int"> 0063 <label>Margin</label> 0064 <default>40</default> 0065 </entry> 0066 <entry name="showProgress" type="bool"> 0067 <label>Show progress</label> 0068 <default>true</default> 0069 </entry> 0070 </group> 0071 </kcfg> 0072