add config page
This commit is contained in:
10
package/contents/config/config.qml
Normal file
10
package/contents/config/config.qml
Normal file
@ -0,0 +1,10 @@
|
||||
import QtQuick 2.0
|
||||
import org.kde.plasma.configuration 2.0
|
||||
|
||||
ConfigModel {
|
||||
ConfigCategory {
|
||||
name: i18n("General")
|
||||
icon: "configure"
|
||||
source: "configGeneral.qml"
|
||||
}
|
||||
}
|
15
package/contents/config/main.xml
Normal file
15
package/contents/config/main.xml
Normal file
@ -0,0 +1,15 @@
|
||||
<?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">
|
||||
<kcfgfile name=""/>
|
||||
|
||||
<group name="General">
|
||||
<entry name="pollingrate" type="Int">
|
||||
<default>10</default>
|
||||
<min>2</min>
|
||||
<max>60</max>
|
||||
</entry>
|
||||
</group>
|
||||
</kcfg>
|
Reference in New Issue
Block a user