51 lines
1.0 KiB
QML
51 lines
1.0 KiB
QML
import QtQuick
|
|
import QtQuick.Controls
|
|
import QtQuick.Controls.Material
|
|
import QtQuick.Layouts
|
|
|
|
import lightcontrol
|
|
|
|
ColumnLayout {
|
|
property bool needsRegler: true
|
|
|
|
Label {
|
|
text: qsTr("Register Groups Settings")
|
|
}
|
|
RowLayout {
|
|
//Layout.fillWidth: true
|
|
Layout.fillHeight: true
|
|
|
|
EditableListView {
|
|
id: listView
|
|
|
|
Layout.preferredWidth: 300
|
|
Layout.maximumWidth: 300
|
|
Layout.fillHeight: true
|
|
|
|
model: RegisterGroupsModel {
|
|
controller: __controller
|
|
}
|
|
}
|
|
|
|
ColumnLayout {
|
|
enabled: listView.currentIndex !== -1
|
|
|
|
GridLayout {
|
|
Layout.preferredWidth: 600
|
|
Layout.maximumWidth: 600
|
|
|
|
columns: 2
|
|
|
|
Label { text: qsTr("Id:") }
|
|
SpinBox {
|
|
enabled: false
|
|
Layout.fillWidth: true
|
|
}
|
|
}
|
|
Item {
|
|
Layout.fillHeight: true
|
|
}
|
|
}
|
|
}
|
|
}
|