2024-03-07 11:44:01 +00:00
|
|
|
import QtQuick
|
|
|
|
import QtQuick.Controls
|
|
|
|
import QtQuick.Layouts
|
|
|
|
import org.kde.plasma.core as PlasmaCore
|
|
|
|
import org.kde.kirigami as Kirigami
|
|
|
|
import org.kde.kquickcontrols as KQControls
|
|
|
|
import org.kde.kcmutils as KCM
|
|
|
|
import org.kde.plasma.components as PlasmaComponents3
|
2024-01-20 12:16:48 +00:00
|
|
|
|
2024-01-22 02:08:31 +00:00
|
|
|
import "../lib/helper.js" as Helper
|
2024-01-19 00:54:33 +00:00
|
|
|
|
2024-03-07 11:44:01 +00:00
|
|
|
KCM.SimpleKCM {
|
2024-01-19 00:54:33 +00:00
|
|
|
id: root
|
|
|
|
|
|
|
|
property alias cfg_pollingrate: pollingrate.value
|
2024-03-07 11:44:01 +00:00
|
|
|
property alias cfg_pollingrateDefault: pollingrate.value
|
2024-01-25 15:21:39 +00:00
|
|
|
|
2024-01-19 00:54:33 +00:00
|
|
|
Kirigami.FormLayout {
|
2024-03-07 11:44:01 +00:00
|
|
|
Slider {
|
|
|
|
id: pollingrate
|
|
|
|
Layout.fillWidth: true
|
|
|
|
from: 2
|
|
|
|
to: 60
|
|
|
|
stepSize: 2
|
2024-01-25 15:21:39 +00:00
|
|
|
}
|
2024-01-19 00:54:33 +00:00
|
|
|
}
|
|
|
|
}
|