From 36920e68ed429a5187ba9703b5d2789e77d687c1 Mon Sep 17 00:00:00 2001 From: Miodrag Milanovic Date: Sun, 21 Oct 2018 14:01:44 +0200 Subject: Display hint on mouse over --- gui/fpgaviewwidget.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'gui/fpgaviewwidget.h') diff --git a/gui/fpgaviewwidget.h b/gui/fpgaviewwidget.h index 697ace21..1fddaf2a 100644 --- a/gui/fpgaviewwidget.h +++ b/gui/fpgaviewwidget.h @@ -268,6 +268,8 @@ class FPGAViewWidget : public QOpenGLWidget, protected QOpenGLFunctions // Flags to pass back into the RendererData. PassthroughFlags flags; + // Hint text + std::string hintText; }; std::unique_ptr rendererArgs_; QMutex rendererArgsLock_; -- cgit v1.2.3 From 62a615a17d9b69f3b727d59ed13e297ace610778 Mon Sep 17 00:00:00 2001 From: Miodrag Milanovic Date: Wed, 24 Oct 2018 20:50:38 +0200 Subject: Fix tooltip position when doing screenshot --- gui/fpgaviewwidget.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'gui/fpgaviewwidget.h') diff --git a/gui/fpgaviewwidget.h b/gui/fpgaviewwidget.h index 1fddaf2a..e76e6f32 100644 --- a/gui/fpgaviewwidget.h +++ b/gui/fpgaviewwidget.h @@ -270,6 +270,8 @@ class FPGAViewWidget : public QOpenGLWidget, protected QOpenGLFunctions PassthroughFlags flags; // Hint text std::string hintText; + // cursor pos + int x,y; }; std::unique_ptr rendererArgs_; QMutex rendererArgsLock_; -- cgit v1.2.3