20 lines
346 B
QML
20 lines
346 B
QML
|
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
|
||
|
}
|
||
|
}
|
||
|
|