diff options
| author | Brian Potchik <brian@vector35.com> | 2021-02-27 14:31:48 -0500 |
|---|---|---|
| committer | Brian Potchik <brian@vector35.com> | 2021-02-27 14:31:48 -0500 |
| commit | 0344e6a8071d19cc66e5686ae572457a45873e4a (patch) | |
| tree | b41dba8dd594061232e5525e52b246fd34a4454d | |
| parent | c2873c4126e3fa7e2cd439a0925ecde5e5e3dbd8 (diff) | |
Add option to anchor a preview window to a position.
| -rw-r--r-- | ui/uicontext.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/uicontext.h b/ui/uicontext.h index df016462..ffc5b325 100644 --- a/ui/uicontext.h +++ b/ui/uicontext.h @@ -96,7 +96,7 @@ public: static QSize getScaledWindowSize(int x, int y); static void updateStatus(bool updateInfo = true); static void notifyThemeChanged(); - static void showPreview(QWidget* parent, PreviewWidget* preview, QPoint localPos); + static void showPreview(QWidget* parent, PreviewWidget* preview, QPoint localPos, bool anchorAtPoint = false); static void closePreview(); static bool sendPreviewWheelEvent(QWheelEvent* event); static void closeOtherActiveModalWidget(QWidget* current); |
