Members of the KDE Community are recommended to subscribe to the kde-community mailing list at https://mail.kde.org/mailman/listinfo/kde-community to allow them to participate in important discussions and receive other important announcements

okular.kcfg 7.96 KB
Newer Older
Albert Astals Cid's avatar
Update  
Albert Astals Cid committed
1 2 3 4 5
<?xml version="1.0" encoding="UTF-8"?>
<kcfg xmlns="http://www.kde.org/standards/kcfg/1.0"
      xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
      xsi:schemaLocation="http://www.kde.org/standards/kcfg/1.0
      http://www.kde.org/standards/kcfg/1.0/kcfg.xsd" >
6
 <kcfgfile name="okularpartrc" />
7
 <include>kuser.h</include>
8 9 10 11 12 13 14 15 16
 <group name="Debugging Options" >
  <entry key="DebugDrawBoundaries" type="Bool" >
   <default>false</default>
  </entry>
  <entry key="DebugDrawAnnotationRect" type="Bool" >
   <default>false</default>
  </entry>
 </group>
 <group name="Dlg Accessibility" >
17 18 19
  <entry key="PaperColor" type="Color" >
   <default code="true" >Qt::white</default>
  </entry>
Enrico Ros's avatar
Enrico Ros committed
20 21 22
  <entry key="HighlightImages" type="Bool" >
   <default>false</default>
  </entry>
23
  <entry key="HighlightLinks" type="Bool" >
24 25
   <default>false</default>
  </entry>
26 27 28
  <entry key="ChangeColors" type="Bool" >
   <default>false</default>
  </entry>
29
  <entry key="RenderMode" type="Enum" >
30
   <default>Inverted</default>
31 32
   <choices>
    <choice name="Inverted" />
33
    <choice name="Paper" />
34 35 36 37 38
    <choice name="Recolor" />
    <choice name="BlackWhite" />
   </choices>
  </entry>
  <entry key="RecolorForeground" type="Color" >
39
   <default code="true" >0x600000</default>
40 41
  </entry>
  <entry key="RecolorBackground" type="Color" >
42 43 44 45 46 47
   <default code="true" >0xF0F0F0</default>
  </entry>
  <entry key="BWThreshold" type="UInt" >
   <default>127</default>
   <min>2</min>
   <max>253</max>
48
  </entry>
49 50 51 52
  <entry key="BWContrast" type="UInt" >
   <default>2</default>
   <min>2</min>
   <max>6</max>
53 54
  </entry>
 </group>
55
 <group name="Dlg Performance" >
56
  <entry key="MemoryLevel" type="Enum" >
57 58 59 60 61 62 63
   <default>Normal</default>
   <choices>
    <choice name="Low" />
    <choice name="Normal" />
    <choice name="Aggressive" />
   </choices>
  </entry>
64 65
  <entry key="EnableCompositing" type="Bool" >
   <default>true</default>
66
  </entry>
67 68
  <entry key="EnableThreading" type="Bool" >
   <default>true</default>
69
  </entry>
70 71 72 73 74 75 76 77 78 79 80 81 82 83
  <entry key="TextAntialias" type="Enum" >
   <default>Enabled</default>
   <choices>
    <choice name="Enabled" />
    <choice name="Disabled" />
   </choices>
  </entry>
  <entry key="GraphicsAntialias" type="Enum" >
   <default>Enabled</default>
   <choices>
    <choice name="Enabled" />
    <choice name="Disabled" />
   </choices>
  </entry>
84 85 86 87 88 89 90
  <entry key="TextHinting" type="Enum" >
   <default>Disabled</default>
   <choices>
    <choice name="Enabled" />
    <choice name="Disabled" />
   </choices>
  </entry>
91
 </group>
92
 <group name="Dlg Presentation" >
93 94 95 96 97 98 99 100 101 102 103 104 105
  <entry key="SlidesAdvance" type="Bool" >
   <default>false</default>
  </entry>
  <entry key="SlidesAdvanceTime" type="UInt" >
   <default>5</default>
   <min>1</min>
   <max>3600</max>
  </entry>
  <entry key="SlidesLoop" type="Bool" >
   <default>false</default>
  </entry>
  <entry key="SlidesBackgroundColor" type="Color" >
   <default code="true" >Qt::black</default>
106
  </entry>
107 108 109
  <entry key="SlidesTransition" type="Enum" >
   <default>Replace</default>
   <choices>
110 111 112 113
    <choice name="BlindsHorizontal" />
    <choice name="BlindsVertical" />
    <choice name="BoxIn" />
    <choice name="BoxOut" />
114
    <choice name="Dissolve" />
115 116 117 118 119 120 121 122 123 124 125 126 127
    <choice name="GlitterDown" />
    <choice name="GlitterRight" />
    <choice name="GlitterRightDown" />
    <choice name="Random" />
    <choice name="Replace" />
    <choice name="SplitHorizontalIn" />
    <choice name="SplitHorizontalOut" />
    <choice name="SplitVerticalIn" />
    <choice name="SplitVerticalOut" />
    <choice name="WipeDown" />
    <choice name="WipeRight" />
    <choice name="WipeLeft" />
    <choice name="WipeUp" />
128 129 130 131 132 133 134 135 136 137 138
   </choices>
  </entry>
  <entry key="SlidesCursor" type="Enum" >
   <default>HiddenDelay</default>
   <choices>
    <choice name="HiddenDelay" />
    <choice name="Visible" />
    <choice name="Hidden" />
   </choices>
  </entry>
  <entry key="SlidesShowProgress" type="Bool" >
139 140 141 142
   <default>true</default>
  </entry>
  <entry key="SlidesShowSummary" type="Bool" >
   <default>false</default>
143 144 145
  </entry>
  <entry key="SlidesPencilColor" type="Color" >
   <default code="true" >Qt::red</default>
146
  </entry>
147 148 149
  <entry key="SlidesTransitionsEnabled" type="Bool" >
   <default>true</default>
  </entry>
150
  <entry key="SlidesScreen" type="Int" >
151 152
   <default>-2</default>
   <min>-2</min>
153 154
   <max>20</max>
  </entry>
155
 </group>
156 157 158
 <group name="General" >
  <entry key="ObeyDRM" type="Bool" >
   <default>true</default>
159 160 161
  </entry>	  	
  <entry key="ChooseGenerators" type="Bool" >
   <default>false</default>
162 163 164
  </entry>
  <entry key="ShowOSD" type="Bool" >
   <default>true</default>
165
  </entry>
166 167 168
  <entry key="DisplayDocumentTitle" type="Bool" >
   <default>true</default>
  </entry>
169
  <entry key="UseKTTSD" type="Bool" />
170 171 172
  <entry key="WatchFile" type="Bool" >
   <default>true</default>
  </entry>
173 174 175
  <entry key="ExternalEditor" type="Enum" >
   <default>Kate</default>
   <choices>
176
    <choice name="Custom" />
177
    <choice name="Kate" />
Pino Toscano's avatar
Pino Toscano committed
178
    <choice name="Kile" />
179
    <choice name="Scite" />
180
    <choice name="Emacsclient" />
181
    <choice name="Lyxclient" />
182 183 184 185 186
   </choices>
  </entry>
  <entry key="ExternalEditorCommand" type="String">
    <default>kate --use --line %l --column %c</default>
  </entry>
187
 </group>
188 189 190 191 192
 <group name="Main View" >
  <entry key="ShowLeftPanel" type="Bool" >
   <default>true</default>
  </entry>
  <entry key="SplitterSizes" type="IntList" />
193 194 195
  <entry key="ShowBottomBar" type="Bool" >
   <default>true</default>
  </entry>
196
 </group>
197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212
 <group name="Nav Panel" >
  <entry key="CurrentPageOnly" type="Bool" >
   <default>false</default>
  </entry>
  <entry key="GroupByAuthor" type="Bool" >
   <default>true</default>
  </entry>
  <entry key="GroupByPage" type="Bool" >
   <default>true</default>
  </entry>
  <entry key="FilterBookmarks" type="Bool" >
   <default>false</default>
  </entry>
  <entry key="SyncThumbnailsViewport" type="Bool" >
   <default>true</default>
  </entry>
213
  <entry key="TocPageColumn" type="Bool" >
214
   <default>true</default>
215
  </entry>
216 217 218
  <entry key="SidebarShowText" type="Bool" >
   <default>true</default>
  </entry>
219 220 221
  <entry key="SidebarIconSize" type="UInt" >
   <default>48</default>
  </entry>
222
 </group>
223 224 225 226 227 228 229 230
 <group name="PageView" >
  <entry key="EditToolBarPlacement" type="Int" >
   <default>0</default>
  </entry>
  <entry key="ShowScrollBars" type="Bool" >
   <default>true</default>
  </entry>
  <entry key="ViewColumns" type="UInt" >
231
   <default>3</default>
232 233 234
   <min>1</min>
   <max>8</max>
  </entry>
235
  <entry key="TrimMargins" type="Bool" >
236 237
   <default>false</default>
  </entry>
238 239 240
  <entry key="ViewContinuous" type="Bool" >
   <default>true</default>
  </entry>
241 242 243 244 245 246 247 248
  <entry key="ViewMode" type="Enum" >
   <default>Single</default>
   <choices>
    <choice name="Single" />
    <choice name="Facing" />
    <choice name="FacingFirstCentered" />
    <choice name="Summary" />
   </choices>
249
  </entry>
250 251 252
  <entry key="ZoomMode" type="UInt" >
    <default>2</default>
    <max>2</max>
253
  </entry>
254 255 256 257
  <entry key="ZoomFactor" type="Double" >
    <default>1.0</default>
    <min>0.1</min>
    <max>4.0</max>
258
  </entry>
259
 </group>
260
 <group name="Identity" >
261 262 263
  <entry key="IdentityAuthor" type="String">
    <code>
      KUser currentUser;
264
      QString userString = currentUser.property( KUser::FullName ).toString();
265 266 267 268 269 270 271
      if ( userString.isEmpty() )
      {
        userString = currentUser.loginName();
      }
    </code>
    <default code="true">userString</default>
  </entry>
272
 </group>
273 274 275 276 277 278 279 280
 <group name="Search" >
  <entry key="SearchCaseSensitive" type="Bool">
   <default>false</default>
  </entry>
  <entry key="SearchFromCurrentPage" type="Bool">
   <default>false</default>
  </entry>
 </group>
281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296
 <group name="Contents" >
  <entry key="ContentsSearchCaseSensitive" type="Bool">
   <default>false</default>
  </entry>
  <entry key="ContentsSearchRegularExpression" type="Bool">
   <default>false</default>
  </entry>
 </group>
 <group name="Reviews" >
  <entry key="ReviewsSearchCaseSensitive" type="Bool">
   <default>false</default>
  </entry>
  <entry key="ReviewsSearchRegularExpression" type="Bool">
   <default>false</default>
  </entry>
 </group>
297
</kcfg>