summaryrefslogtreecommitdiff
path: root/ui/control_editor.py
diff options
context:
space:
mode:
Diffstat (limited to 'ui/control_editor.py')
-rw-r--r--ui/control_editor.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/ui/control_editor.py b/ui/control_editor.py
index d167517..624e4c1 100644
--- a/ui/control_editor.py
+++ b/ui/control_editor.py
@@ -274,6 +274,7 @@ class ControlEditorDialog(QDialog):
self._script_status = QLabel("")
self._script_status.setObjectName("traceSource")
check_btn = QPushButton("Check Syntax")
+ check_btn.setToolTip("Compile the script above and report any syntax error, without running it")
check_btn.clicked.connect(self._check_script)
btn_row = QHBoxLayout()
btn_row.addWidget(self._script_status, 1)
@@ -287,8 +288,10 @@ class ControlEditorDialog(QDialog):
div.setObjectName("devWindowDivider"); root.addWidget(div)
btn_row = QHBoxLayout(); btn_row.addStretch()
- cancel = QPushButton("Cancel"); cancel.clicked.connect(self.reject)
+ cancel = QPushButton("Cancel"); cancel.setToolTip("Discard changes and close")
+ cancel.clicked.connect(self.reject)
ok = QPushButton("Create Control")
+ ok.setToolTip("Save this control widget to the Control Panel")
ok.setObjectName("applyButton"); ok.setDefault(True)
ok.clicked.connect(self._on_ok)
btn_row.addWidget(cancel); btn_row.addWidget(ok)