Implemented creating of new light types or lights

This commit is contained in:
feedc0de committed 2023-02-15 01:38:04 +01:00
1 parent 7c580d53b4
commit 9a5e2d3cd7
6 files changed
+90 -2

No files matched your search

+3 -1
View File
@@ -20,11 +20,13 @@ ColumnLayout {
model: deviceTypesModel
onAddClicked: (index) => console.log('added', index);
onAddClicked: (index) => deviceTypesModel.insertRow(index < 0 ? 0 : index + 1);
onRemoveClicked: (index) => deviceTypesModel.removeRow(index)
}
ColumnLayout {
enabled: listView.currentIndex !== -1
GridLayout {
Layout.preferredWidth: 300
Layout.maximumWidth: 300