punktdateien/kde/plasma/plasmoids/com.github.prayag2.modernclock/contents/ui/NumberField.qml

20 lines
346 B
QML
Raw Normal View History

2024-03-07 21:25:33 +01:00
import QtQuick 2.15
import QtQuick.Layouts 1.0
import QtQuick.Controls 2.0
RowLayout {
id: numberField
property alias label: numberField_label.text;
property alias value: numberField_spinbox.value
Label {
id: numberField_label
}
SpinBox {
id: numberField_spinbox
from: 1
to: 999
}
}