summary refs log tree commit diff
path: root/resources/qml/Root.qml
diff options
context:
space:
mode:
authorNicolas Werner <nicolas.werner@hotmail.de>2022-05-27 16:31:54 +0200
committerNicolas Werner <nicolas.werner@hotmail.de>2022-05-27 17:01:58 +0200
commit6c6d43691d98aa02513350b52fe736fff6d6071d (patch)
tree6155225e4005f22c2a613a77912227b05fb48ff7 /resources/qml/Root.qml
parentTranslated using Weblate (Russian) (diff)
downloadnheko-6c6d43691d98aa02513350b52fe736fff6d6071d.tar.xz
Add basic powerlevel editor
Diffstat (limited to 'resources/qml/Root.qml')
-rw-r--r--resources/qml/Root.qml16
1 files changed, 16 insertions, 0 deletions
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