From 392944074115f7827b8a741e9f49ba21a75ea960 Mon Sep 17 00:00:00 2001
From: Rainer Kartmann <rainer.kartmann@kit.edu>
Date: Tue, 25 Jul 2023 08:43:07 +0200
Subject: [PATCH] Add tooltip

---
 .../RobotAPI/gui-plugins/ObjectPoseGui/ObjectPoseGuiWidget.ui  | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/source/RobotAPI/gui-plugins/ObjectPoseGui/ObjectPoseGuiWidget.ui b/source/RobotAPI/gui-plugins/ObjectPoseGui/ObjectPoseGuiWidget.ui
index 11cd00444..03b15fc45 100644
--- a/source/RobotAPI/gui-plugins/ObjectPoseGui/ObjectPoseGuiWidget.ui
+++ b/source/RobotAPI/gui-plugins/ObjectPoseGui/ObjectPoseGuiWidget.ui
@@ -52,6 +52,9 @@
      </item>
      <item>
       <widget class="QCheckBox" name="detchAllCommitAttachedCheckBox">
+       <property name="toolTip">
+        <string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;If checked, the object's pose according to the attachment will be committed as a new snapshot when the object is detached.&lt;/p&gt;&lt;p&gt;If unchecked, no new snapshot will be created, and the object's pose will return to where it was before the attachment. &lt;/p&gt;&lt;p&gt;In both cases, new snapshots to the object ID will overwrite the previous/committed snapshot.&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
+       </property>
        <property name="text">
         <string>Commit Attached Pose</string>
        </property>
-- 
GitLab