Apnea Board Forum - CPAP | Sleep Apnea
Any way to scootch the tooltip up or down off the curve? - Printable Version

+- Apnea Board Forum - CPAP | Sleep Apnea (https://www.apneaboard.com/forums)
+-- Forum: Public Area (https://www.apneaboard.com/forums/Forum-Public-Area)
+--- Forum: Software Support Forum (https://www.apneaboard.com/forums/Forum-Software-Support-Forum)
+--- Thread: Any way to scootch the tooltip up or down off the curve? (/Thread-Any-way-to-scootch-the-tooltip-up-or-down-off-the-curve)



Any way to scootch the tooltip up or down off the curve? - cathyf - 05-06-2021

When I mouse over an event and the region highlights and the box pops up with the event description, the box goes right over top the graph. Is there a way to change the preferences so that it goes up or down? Obscuring the x-axis is probably the better spot to obscure, since all of the x-axes are identical you can just look at another graph.
[attachment=32054]


RE: Any way to scootch the tooltip up or down off the curve? - KJINTF - 05-07-2021

I have experienced the very same issue many times. I tried adjusting the time duration of the tip as a work around without much success.
Looking forward to seeing a change


RE: Any way to scootch the tooltip up or down off the curve? - pholynyk - 05-07-2021

From the QT documentation:
Code:
void QToolTip::showText(const QPoint &pos, const QString &text, QWidget *w, const QRect &rect)

Shows text as a tool tip, with the global position pos as the point of interest. The tool tip will be
shown with a platform specific offset from this point of interest.

There doesn't seem to be a way to customise the offset, ad I'm not sure exactly what we can do with the pos and rect parameters.

So no promises.


RE: Any way to scootch the tooltip up or down off the curve? - cathyf - 05-07-2021

(05-07-2021, 04:59 PM)pholynyk Wrote: From the QT documentation:
Code:
void QToolTip::showText(const QPoint &pos, const QString &text, QWidget *w, const QRect &rect)

Shows text as a tool tip, with the global position pos as the point of interest. The tool tip will be
shown with a platform specific offset from this point of interest.

There doesn't seem to be a way to customise the offset, ad I'm not sure exactly what we can do with the pos and rect parameters.

So no promises.

hmmmm... so pos is probably the center of the event flag.  I notice that when I overlay event flags on other channels, highlighting brings up 2 vertical bars -- one coming down from top and one going up from the bottom, and the tool tip seems to be attached to the one on the bottom.
[attachment=32065]

Maybe doing the same thing with the Flow Rate event flags might do the trick?