diff options
| author | Brian Potchik <brian@vector35.com> | 2025-07-24 16:42:04 -0400 |
|---|---|---|
| committer | Brian Potchik <brian@vector35.com> | 2025-07-24 16:42:04 -0400 |
| commit | e93c8ce9b26762b33c5a0f0c860e527ec9c6bfcd (patch) | |
| tree | bfbac51b7e6ff997ddc08d6c1ec1bfbe549c1654 /ui/featuremap.h | |
| parent | 3169983a558d5cbc3632cbc549e2f379c3b0b7cb (diff) | |
Add tooltip to feature map for data type.
Diffstat (limited to 'ui/featuremap.h')
| -rw-r--r-- | ui/featuremap.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/ui/featuremap.h b/ui/featuremap.h index d970df83..fa35d51c 100644 --- a/ui/featuremap.h +++ b/ui/featuremap.h @@ -66,6 +66,9 @@ class BINARYNINJAUIAPI FeatureMap : public QWidget Menu m_menu; ContextMenuManager* m_contextMenuManager; + QString generateTooltipText(uint8_t colorIndex); + uint8_t getColorAtPosition(int x, int y); + void updateCoordinates(); void updateMappedRegions(); @@ -94,6 +97,7 @@ class BINARYNINJAUIAPI FeatureMap : public QWidget static int defaultWidth() { return 64; } protected: + virtual bool event(QEvent* event) override; virtual void contextMenuEvent(QContextMenuEvent* event) override; virtual void mouseMoveEvent(QMouseEvent* event) override; virtual void mousePressEvent(QMouseEvent* event) override; |
