From 9f02d3c17098a2bf00edfd51c92a675ea57d65e8 Mon Sep 17 00:00:00 2001 From: m_thread Date: Sun, 9 Feb 2014 14:08:07 +0100 Subject: [PATCH] OP-1191 Added some tooltips and fixed tooltip font color in css to make it work in Fusion style on Linux. --- .../share/openpilotgcs/stylesheets/default_linux.qss | 4 ++++ ground/openpilotgcs/src/plugins/config/stabilization.ui | 9 +++++++++ 2 files changed, 13 insertions(+) diff --git a/ground/openpilotgcs/share/openpilotgcs/stylesheets/default_linux.qss b/ground/openpilotgcs/share/openpilotgcs/stylesheets/default_linux.qss index edc9dc8cd..863ad4f2f 100644 --- a/ground/openpilotgcs/share/openpilotgcs/stylesheets/default_linux.qss +++ b/ground/openpilotgcs/share/openpilotgcs/stylesheets/default_linux.qss @@ -1 +1,5 @@ /* Linux styles */ + +QToolTip { + color: black; + } diff --git a/ground/openpilotgcs/src/plugins/config/stabilization.ui b/ground/openpilotgcs/src/plugins/config/stabilization.ui index f33da0062..f89f15087 100644 --- a/ground/openpilotgcs/src/plugins/config/stabilization.ui +++ b/ground/openpilotgcs/src/plugins/config/stabilization.ui @@ -25391,6 +25391,9 @@ border-radius: 5; + + <html><head/><body><p>How fast the vehicle should climb or descent to compensate a certain altitude difference. higher values could result in more accurate altitude hold but also more violent control actions, lower values are safer and ensure smoother flight. The default value should be fine for the majority of crafts.</p></body></html> + 100 @@ -25417,6 +25420,9 @@ border-radius: 5; + + <html><head/><body><p>How much the vehicle should throttle up or down to compensate or achieve a certain vertical speed. Higher values lead to more aggressive throttle changes and could lead to oscillations. This is the most likely candidate to change depending on the crafts engine thrust. Heavy craft with weak engines might require higher values.</p></body></html> + 100 @@ -25443,6 +25449,9 @@ border-radius: 5; + + <html><head/><body><p>How fast the vehicle should adjust its neutral throttle estimation. Altitude assumes that when engaged the throttle is in the range required to hover. If the throttle is a lot higher or lower, it needs to adjust this &quot;throttle trim&quot; Higher values make it do this adjustment faster, but this could lead to ugly oscillations. Leave at default unless you know what you are doing.</p></body></html> + 1000