v1.2.0: add split-flap board and nixie tube display modes with display style config
This commit is contained in:
@@ -12,12 +12,19 @@ Kirigami.FormLayout {
|
||||
id: generalPage
|
||||
|
||||
// The cfg_ prefix is what Plasma uses to read/write plasmoid.configuration
|
||||
property alias cfg_displayMode: modeCombo.currentIndex
|
||||
property alias cfg_refreshMinutes: intervalSpin.value
|
||||
|
||||
Item {
|
||||
Kirigami.FormData.isSection: true
|
||||
}
|
||||
|
||||
QQC2.ComboBox {
|
||||
id: modeCombo
|
||||
Kirigami.FormData.label: i18n("Display style:")
|
||||
model: [i18n("Plain text"), i18n("Split-flap board"), i18n("Nixie tubes")]
|
||||
}
|
||||
|
||||
QQC2.SpinBox {
|
||||
id: intervalSpin
|
||||
Kirigami.FormData.label: i18n("Refresh interval (minutes):")
|
||||
|
||||
Reference in New Issue
Block a user