From 4b75aa9267830cebe3724fab66fcaef7945a5c20 Mon Sep 17 00:00:00 2001 From: Dominik Demuth Date: Sun, 29 Sep 2024 15:50:50 +0200 Subject: [PATCH] add disclaimer --- src/gui_qt/editors/script_editor.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/gui_qt/editors/script_editor.py b/src/gui_qt/editors/script_editor.py index 57d26d7..ae3d175 100644 --- a/src/gui_qt/editors/script_editor.py +++ b/src/gui_qt/editors/script_editor.py @@ -15,6 +15,10 @@ class QEditor(QUsermodelEditor): self.add_run_button() def add_run_button(self): + self.disclaimer = QtWidgets.QLabel("This is work in progress and less than perfect :(") + self.disclaimer.setStyleSheet('QLabel {color: rgb(255, 0, 0); font-weight: bold; font-size: 2.5em;};') + self.centralwidget.layout().insertWidget(0, self.disclaimer) + self.run_button = QtWidgets.QPushButton("Run") self.centralwidget.layout().addWidget(self.run_button)