Warning, /utilities/kronometer/src/gui/kronometer.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 <include>KColorScheme</include> 0008 <include>QFontDatabase</include> 0009 <include>"timeformat.h"</include> 0010 0011 <kcfgfile name="kronometerrc"/> 0012 0013 <group name="General"> 0014 <entry name="showHours" type="Bool"> 0015 <default>false</default> 0016 </entry> 0017 <entry name="showMinutes" type="Bool"> 0018 <default>true</default> 0019 </entry> 0020 <entry name="showSecondFractions" type="Bool"> 0021 <default>true</default> 0022 </entry> 0023 <entry name="fractionsType" type="Enum"> 0024 <choices name="TimeFormat::SecondFraction"> 0025 <choice name="UpToTenths"/> 0026 <choice name="UpToHundredths"/> 0027 <choice name="UpToMilliseconds"/> 0028 <choice name="NoFractions"/> 0029 </choices> 0030 <default>TimeFormat::UpToHundredths</default> 0031 </entry> 0032 <entry name="isLapsRecordingEnabled" type="Bool"> 0033 <default>true</default> 0034 </entry> 0035 <entry name="showLapHours" type="Bool"> 0036 <default>false</default> 0037 </entry> 0038 <entry name="showLapMinutes" type="Bool"> 0039 <default>true</default> 0040 </entry> 0041 <entry name="showLapSecondFractions" type="Bool"> 0042 <default>true</default> 0043 </entry> 0044 <entry name="lapFractionsType" type="Enum"> 0045 <choices name="TimeFormat::SecondFraction"> 0046 <choice name="UpToTenths"/> 0047 <choice name="UpToHundredths"/> 0048 <choice name="UpToMilliseconds"/> 0049 <choice name="NoFractions"/> 0050 </choices> 0051 <default>TimeFormat::UpToHundredths</default> 0052 </entry> 0053 <entry name="showLapAbsoluteTimes" type="Bool"> 0054 <default>false</default> 0055 </entry> 0056 <entry name="showLapNotes" type="Bool"> 0057 <default>true</default> 0058 </entry> 0059 <entry name="menuBarNeverShown" type="Bool"> 0060 <default>true</default> 0061 </entry> 0062 </group> 0063 0064 <group name="Font"> 0065 <entry name="hourFont" type="Font"> 0066 <code> 0067 QFont defaultFont(QFontDatabase::systemFont(QFontDatabase::GeneralFont).family(), 54); 0068 </code> 0069 <default code="true">defaultFont</default> 0070 </entry> 0071 <entry name="minFont" type="Font"> 0072 <default code="true">defaultFont</default> 0073 </entry> 0074 <entry name="secFont" type="Font"> 0075 <default code="true">defaultFont</default> 0076 </entry> 0077 <entry name="fracFont" type="Font"> 0078 <default code="true">defaultFont</default> 0079 </entry> 0080 </group> 0081 0082 <group name="Color"> 0083 <entry name="backgroundColor" type="Color"> 0084 <code> 0085 KColorScheme schemeView(QPalette::Active, KColorScheme::View); 0086 QColor defaultColor = schemeView.background().color(); 0087 </code> 0088 <default code="true">defaultColor</default> 0089 </entry> 0090 <entry name="textColor" type="Color"> 0091 <code> 0092 defaultColor = schemeView.foreground().color(); 0093 </code> 0094 <default code="true">defaultColor</default> 0095 </entry> 0096 </group> 0097 0098 </kcfg>