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