From 6c6d43691d98aa02513350b52fe736fff6d6071d Mon Sep 17 00:00:00 2001 From: Nicolas Werner Date: Fri, 27 May 2022 16:31:54 +0200 Subject: Add basic powerlevel editor --- resources/qml/Root.qml | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) (limited to 'resources/qml/Root.qml') diff --git a/resources/qml/Root.qml b/resources/qml/Root.qml index 00600508..86ddc649 100644 --- a/resources/qml/Root.qml +++ b/resources/qml/Root.qml @@ -51,6 +51,22 @@ Pane { } + function showPLEditor(settings) { + var dialog = plEditor.createObject(timelineRoot, { + "roomSettings": settings + }); + dialog.show(); + destroyOnClose(dialog); + } + + Component { + id: plEditor + + PowerLevelEditor { + } + } + + Component { id: roomSettingsComponent -- cgit 1.5.1