From b519acc0e0f0de38f4d6160b44ebefc9e8489440 Mon Sep 17 00:00:00 2001 From: David Hammer <dhammer@mailbox.org> Date: Thu, 14 Apr 2022 13:24:59 +0200 Subject: [PATCH] Scene support for geometry file type --- src/calng/scenes.py | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/src/calng/scenes.py b/src/calng/scenes.py index 0b2931bb..6fa09266 100644 --- a/src/calng/scenes.py +++ b/src/calng/scenes.py @@ -814,6 +814,21 @@ class GeometryFromFileSettings(VerticalLayout): height=BASE_INC, ) ) + self.children.append( + LabelModel( + text="File type:", + width=4 * BASE_INC, + height=BASE_INC, + ) + ) + self.children.append( + ComboBoxModel( + keys=[f"{device_id}.geometryFile.fileType"], + klass="EditableComboBox", + width=8 * BASE_INC, + height=BASE_INC, + ) + ) self.children.append( HorizontalLayout( LabelModel(text="Offset", width=3 * BASE_INC, height=BASE_INC), -- GitLab