Warning, /graphics/kooka/app/kookasettings.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   <kcfgfile></kcfgfile>
0007   <include>kookaprint.h</include>
0008   <include>kiconloader.h</include>
0009 
0010 
0011   <group name="General">
0012 
0013     <entry name="PreferencesTab" type="Int">
0014       <default>0</default>
0015     </entry>
0016 
0017   </group>
0018 
0019 
0020   <group name="MainWindow">
0021 
0022     <entry name="LayoutTabIndex" key="TabIndex" type="Int">
0023       <default>0</default>
0024     </entry>
0025 
0026     <entry name="LayoutScan1" key="ScanLayout1" type="String">
0027     </entry>
0028     <entry name="LayoutScan2" key="ScanLayout2" type="String">
0029     </entry>
0030     <entry name="LayoutGallery1" key="GalleryLayout1" type="String">
0031     </entry>
0032     <entry name="LayoutGallery2" key="GalleryLayout2" type="String">
0033     </entry>
0034     <entry name="LayoutOcr1" key="OcrLayout1" type="String">
0035     </entry>
0036     <entry name="LayoutOcr2" key="OcrLayout2" type="String">
0037     </entry>
0038 
0039     <!--  Dummy entry just to be able to find this group, see                   -->
0040     <!--  ScanGallery::saveHeaderState() and ScanGallery::restoreHeaderState()  -->
0041     <entry name="ColumnStates" type="String">
0042     </entry>
0043 
0044   </group>
0045 
0046 
0047   <group name="Startup">
0048 
0049     <entry name="StartupReadImage" key="ReadImageOnStart" type="Bool">
0050       <label>Load the last selected image into the viewer</label>
0051       <tooltip>&lt;div&gt;Check this if you want Kooka to load the last selected image into the viewer on startup.&lt;br/&gt;&lt;br/&gt;If your images are large, that might slow down Kooka's startup.&lt;/div&gt;</tooltip>
0052       <default>false</default>
0053     </entry>
0054 
0055     <entry name="StartupSelectedImage" key="SelectedImageOnStartup" type="Path">
0056     </entry>
0057 
0058   </group>
0059 
0060 
0061   <!--  This group is permanent user settings, managed by the preferences dialogue.     -->
0062   <group name="Files">
0063 
0064     <entry name="SaverAskForFormat" key="AskForSaveFormat" type="Bool">
0065       <label>Always use the Save Assistant</label>
0066       <tooltip>&lt;div&gt;Check this if you want to always use the image save assistant, even if there is a default format for the image type.&lt;/div&gt;</tooltip>
0067       <default>false</default>
0068     </entry>
0069 
0070     <entry name="SaverAskForFilename" key="AskForFilename" type="Bool">
0071       <label>Ask for filename when saving</label>
0072       <tooltip>&lt;div&gt;Check this if you want to enter a file name when scanning an image.&lt;/div&gt;</tooltip>
0073       <default>false</default>
0074     </entry>
0075 
0076     <entry name="SaverAskBeforeScan" key="AskBeforeScan" type="Bool">
0077       <label>Before the scan starts</label>
0078       <tooltip>&lt;div&gt;Check this if you want to enter the file name before scanning starts.&lt;/div&gt;</tooltip>
0079       <default>true</default>
0080     </entry>
0081 
0082     <entry name="SaverAskAfterScan" type="Bool">
0083       <label>After the scan is finished</label>
0084       <tooltip>&lt;div&gt;Check this if you want to enter the file name after scanning has finished.&lt;/div&gt;</tooltip>
0085       <default>false</default>
0086     </entry>
0087 
0088     <entry name="SaverOnlyRecommendedTypes" key="OnlyRecommended" type="Bool">
0089       <label>Only show recommended formats for this image type</label>
0090       <tooltip>&lt;div&gt;Check this to only show recommended file formats for the scan type. Uncheck it to show all compatible formats.&lt;/div&gt;</tooltip>
0091       <default>false</default>
0092     </entry>
0093 
0094   </group>
0095 
0096 
0097   <!--  This group is implied user settings set by "Always use this format"     -->
0098   <!--  for an image type.  The options are reset (by deleting this group in    -->
0099   <!--  its entirety) by FormatDialog::forgetRemembered().                      -->
0100   <group name="Files2">
0101 
0102     <entry name="SaverAlwaysUseFormat" type="Bool">
0103       <label>Always use this save format for this image type</label>
0104       <tooltip>&lt;div&gt;Check this to remember the selected file format for the scanned image type and not ask for it again.&lt;/div&gt;</tooltip>
0105       <default>false</default>
0106     </entry>
0107 
0108     <entry name="FormatLowColour" key="ColorSaveFormat" type="String">
0109     </entry>
0110 
0111     <entry name="FormatGreyscale" key="GraySaveFormat" type="String">
0112     </entry>
0113 
0114     <entry name="FormatBlackWhite" key="BWSaveFormat" type="String">
0115     </entry>
0116 
0117     <entry name="FormatHighColour" key="HiColorSaveFormat" type="String">
0118     </entry>
0119 
0120     <entry name="FormatUnknown" key="UnknownFormat" type="String">
0121     </entry>
0122 
0123   </group>
0124 
0125 
0126   <!--  This setting is used by KIO::PreviewJob, see ThumbView::ThumbView()  -->
0127   <group name="PreviewSettings">
0128     <entry name="PreviewMaximumSize" key="MaximumSize" type="UInt">
0129       <default code="true">(20*1024*1024LL)</default>
0130     </entry>
0131   </group>
0132 
0133 
0134   <group name="Gallery">
0135 
0136     <entry name="GalleryAllowRename" key="AllowRename" type="Bool">
0137       <label>Allow click-to-rename</label>
0138       <tooltip>&lt;div&gt;Check this if you want to be able to rename gallery items by clicking on them (otherwise, use the "Rename" menu option).&lt;/div&gt;</tooltip>
0139       <default>false</default>
0140     </entry>
0141 
0142     <entry name="GalleryLayout" key="Layout" type="Enum">
0143       <label>Show recent folders:</label>
0144       <tooltip>&lt;div&gt;Select whether and where a list of recently accessed gallery folders will be shown.&lt;/div&gt;</tooltip>
0145       <choices name="GalleryLayouts" prefix="Recent">
0146         <choice name="None"></choice>
0147         <choice name="AtTop"></choice>
0148         <choice name="AtBottom"></choice>
0149       </choices>
0150       <default>KookaSettings::RecentAtTop</default>
0151     </entry>
0152 
0153     <!--  Internal setting, no GUI (although the user can edit if required) -->
0154     <entry name="GalleryName" key="Location" type="String">
0155       <default>KookaGallery</default>
0156     </entry>
0157 
0158   </group>
0159 
0160 
0161   <group name="thumbnailView">
0162 
0163     <entry name="ThumbnailCustomBackground" key="customBackground" type="Bool">
0164       <label>Use a custom background image</label>
0165       <tooltip>&lt;div&gt;Set a custom background image for the thumbnail view.&lt;/div&gt;</tooltip>
0166       <default>false</default>
0167     </entry>
0168 
0169     <entry name="ThumbnailBackgroundPath" key="BackGroundTile" type="Path">
0170       <label>Image:</label>
0171       <tooltip>&lt;div&gt;The background image to use for the thumbnail view.&lt;/div&gt;</tooltip>
0172       <!-- <default code="true">ThumbView::standardBackground()</default> -->
0173       <default></default>
0174     </entry>
0175 
0176     <entry name="ThumbnailPreviewSize" key="previewSize" type="Int">
0177       <label>Preview size:</label>
0178       <tooltip>&lt;div&gt;Select the default preview size for the thumbnail view.&lt;/div&gt;</tooltip>
0179       <default>KIconLoader::SizeHuge</default>
0180     </entry>
0181 
0182   </group>
0183 
0184 
0185   <group name="ocrDialog">
0186 
0187     <entry name="OcrEngineName" key="ocrEngine3" type="String">
0188       <default></default>
0189     </entry>
0190 
0191   </group>
0192 
0193 
0194   <group name="OcrSpellSettings">
0195     <entry name="ocrSpellBackgroundCheck" key="backgroundCheck" type="bool">
0196       <default>true</default>
0197     </entry>
0198 
0199     <entry name="ocrSpellInteractiveCheck" key="interactiveCheck" type="bool">
0200       <default>false</default>
0201     </entry>
0202 
0203     <entry name="ocrSpellCustomSettings" key="customSettings" type="bool">
0204       <default>false</default>
0205     </entry>
0206 
0207   </group>
0208 
0209 
0210   <group name="gocr">
0211 
0212     <entry name="OcrGocrBinary" key="gocrBinary" type="Path">
0213       <default>gocr</default>
0214     </entry>
0215 
0216     <entry name="OcrGocrDustSize" key="gocrDustSize" type="Int">
0217       <label>Dust size:</label>
0218       <tooltip>&lt;div&gt;Clusters smaller than this size will be considered to be noise, and ignored.  0 means to not detect dust clusters, -1 means to automatically detect them. The default is 10.&lt;/div&gt;</tooltip>
0219       <default>10</default>
0220     </entry>
0221 
0222     <entry name="OcrGocrGrayLevel" key="gocrGrayLevel" type="Int">
0223       <label>Gray level:</label>
0224       <tooltip>&lt;div&gt;The threshold value below which gray pixels are considered to be black. 0 means to automatically detect the gray level.  The default is 160.&lt;/div&gt;</tooltip>
0225       <default>160</default>
0226     </entry>
0227 
0228     <entry name="OcrGocrSpaceWidth" key="gocrSpaceWidth" type="Int">
0229       <label>Space width:</label>
0230       <tooltip>&lt;div&gt;The minimum gap in pixels considered to be word spacing. The default is 0 which means to automatically detect spacing.&lt;/div&gt;</tooltip>
0231       <default>0</default>
0232     </entry>
0233 
0234     <entry name="OcrGocrCertainty" key="gocrCertainty" type="Int">
0235       <label>Certainty:</label>
0236       <tooltip>&lt;div&gt;The acceptance certainty threshold for recognition, characters with a lower certainty are considered to be unknown. The default is 95.&lt;/div&gt;</tooltip>
0237       <default>95</default>
0238     </entry>
0239 
0240   </group>
0241 
0242 
0243   <group name="ocrad">
0244 
0245     <entry name="OcrOcradBinary" key="ocradBinary" type="Path">
0246       <default>ocrad</default>
0247     </entry>
0248 
0249     <entry name="ocrOcradLayoutDetection" key="layoutDetection" type="Int">
0250       <label>Layout analysis mode:</label>
0251       <default>0</default>
0252     </entry>
0253 
0254     <!--  No GUI (although the user can edit if required) -->
0255     <entry name="ocrOcradExtraArguments" key="extraArguments" type="String">
0256     </entry>
0257 
0258     <entry name="ocrOcradFormat" key="format" type="String">
0259       <default>utf8</default>
0260     </entry>
0261 
0262     <entry name="ocrOcradCharset" key="charset" type="String">
0263       <label>Character set:</label>
0264     </entry>
0265 
0266     <entry name="ocrOcradFilter" key="filter" type="String">
0267       <label>Filter:</label>
0268     </entry>
0269 
0270     <entry name="ocrOcradTransform" key="transform" type="String">
0271       <label>Transform:</label>
0272     </entry>
0273 
0274     <entry name="ocrOcradInvert" key="invert" type="Bool">
0275       <label>Invert input</label>
0276       <default>false</default>
0277     </entry>
0278 
0279     <entry name="ocrOcradThresholdEnable" key="thresholdEnable" type="Bool">
0280       <label>Set threshold</label>
0281       <default>false</default>
0282     </entry>
0283 
0284     <entry name="ocrOcradThresholdValue" key="thresholdValue" type="Int">
0285       <!-- Not followed by a colon, because a KScanControl subclass adds one automatically -->
0286       <label>Threshold</label>
0287       <default>50</default>
0288     </entry>
0289 
0290     <!--  Dummy entry just to be able to find this group, see                   -->
0291     <!--  OcrOcradDialog::getValidValues()                                      -->
0292     <entry name="ocrOcradValidValues" type="StringList">
0293     </entry>
0294 
0295   </group>
0296 
0297   <group name="tesseract">
0298 
0299     <entry name="OcrTesseractBinary" key="tesseractBinary" type="Path">
0300       <default>tesseract</default>
0301     </entry>
0302 
0303     <!--  No GUI (although the user can edit if required) -->
0304     <entry name="ocrTesseractExtraArguments" key="extraArguments" type="String">
0305     </entry>
0306 
0307     <entry name="ocrTesseractLanguage" key="language" type="String">
0308       <label>Language:</label>
0309     </entry>
0310 
0311     <entry name="ocrTesseractUserWords" key="user-words" type="Url">
0312       <label>User word list:</label>
0313     </entry>
0314 
0315     <entry name="ocrTesseractUserPatterns" key="user-patterns" type="Url">
0316       <label>User patterns:</label>
0317     </entry>
0318 
0319     <entry name="ocrTesseractEngineMode" key="engineMode" type="String">
0320       <label>Engine mode:</label>
0321     </entry>
0322 
0323     <entry name="ocrTesseractSegmentationMode" key="segmentationMode" type="String">
0324       <label>Segmentation mode:</label>
0325     </entry>
0326 
0327     <!--  Dummy entry just to be able to find this group, see                   -->
0328     <!--  OcrTesseractDialog::getValidValues()                                  -->
0329     <entry name="ocrTesseractValidValues" type="StringList">
0330     </entry>
0331 
0332   </group>
0333 
0334   <group name="Printing">
0335 
0336     <entry name="printScaleOption" key="scaleOption" type="Int">
0337       <default>KookaPrint::ScaleScan</default>
0338     </entry>
0339 
0340     <entry name="printPrintSize" key="printSize" type="Size">
0341       <default code="true">QSize(100,100)</default>
0342     </entry>
0343 
0344     <entry name="printMaintainAspect" key="maintainAspect" type="Bool">
0345       <default>true</default>
0346     </entry>
0347 
0348     <entry name="printLowResDraft" key="lowResDraft" type="Bool">
0349       <default>false</default>
0350     </entry>
0351 
0352     <entry name="printCutsOption" key="cutsOption" type="Int">
0353       <default>KookaPrint::CutMarksMultiple</default>
0354     </entry>
0355 
0356     <entry name="printFileName" key="fileName" type="Path">
0357       <default>/tmp/print.pdf</default>
0358     </entry>
0359 
0360   </group>
0361 
0362   <group name="DestinationPlugin">
0363 
0364     <entry name="DestinationPlugin" key="Plugin" type="String">
0365       <default>kookadestination-gallery</default>
0366     </entry>
0367 
0368     <entry name="DestinationApplicationApp" key="ApplicationApp" type="String">
0369       <!-- The default value "*" means the first in the list (highest priority), -->
0370       <!-- blank means "Other".                                                  -->
0371       <default>*</default>
0372     </entry>
0373 
0374     <entry name="DestinationApplicationMime" key="ApplicationMime" type="String">
0375       <default>image/png</default>
0376     </entry>
0377 
0378     <entry name="DestinationShareDest" key="ShareDest" type="String">
0379     </entry>
0380 
0381     <entry name="DestinationShareMime" key="ShareMime" type="String">
0382       <default>image/png</default>
0383     </entry>
0384 
0385     <entry name="DestinationSaveDest" key="SaveDest" type="Url">
0386     </entry>
0387 
0388     <entry name="DestinationSaveMime" key="SaveMime" type="String">
0389       <default>image/png</default>
0390     </entry>
0391 
0392     <entry name="DestinationExportDest" key="ExportDest" type="String">
0393     </entry>
0394 
0395     <entry name="DestinationExportMime" key="ExportMime" type="String">
0396       <default>image/jpeg</default>
0397     </entry>
0398 
0399   </group>
0400 
0401 </kcfg>