1<?xml version="1.0" encoding="UTF-8"?> 2<kcfg xmlns="https://www.kde.org/standards/kcfg/1.0" 3 xmlns:xsi="https://www.w3.org/2001/XMLSchema-instance" 4 xsi:schemaLocation="https://www.kde.org/standards/kcfg/1.0 5 https://www.kde.org/standards/kcfg/1.0/kcfg.xsd" > 6 <include>QStandardPaths</include> 7 <kcfgfile name="cantorrc"/> 8 <group name="OctaveBackend"> 9 <entry name="Path" type="Url"> 10 <label>Path to the Octave executable</label> 11 <default code="true"> 12 [this] { 13 #ifdef Q_OS_WIN 14 return QUrl::fromLocalFile(QStandardPaths::findExecutable( QLatin1String("octave-cli.exe") )); 15 #else 16 return QUrl::fromLocalFile(QStandardPaths::findExecutable( QLatin1String("octave-cli") )); 17 #endif 18 } () 19 </default> 20 </entry> 21 <entry name="integratePlots" type="Bool"> 22 <label>Integrate Plots into the Worksheet</label> 23 <default>true</default> 24 </entry> 25 <entry name="variableManagement" type="Bool"> 26 <label>Enable Variable Management</label> 27 <default>true</default> 28 </entry> 29 <entry name="autorunScripts" type="StringList"> 30 <label>List of scripts to autorun at the beginning of session</label> 31 </entry> 32 <entry name="inlinePlotFormat" type="Enum"> 33 <choices> 34 @EPS_PLOT_FORMAT_CHOICE@ 35 <choice name="png"/> 36 <choice name="svg"/> 37 <choice name="jpeg"/> 38 </choices> 39 <default>@DEFAULT_PLOT_FORMAT@</default> 40 </entry> 41 </group> 42</kcfg> 43