diff options
| author | Brian Potchik <brian@vector35.com> | 2025-07-09 13:13:47 -0400 |
|---|---|---|
| committer | Brian Potchik <brian@vector35.com> | 2025-07-09 13:13:47 -0400 |
| commit | 9c09c16a50f3ce29ce3976d67291322aa26f8955 (patch) | |
| tree | b6ed24afcc2e595357790e1ee2cb075914b652f2 /ui/featuremap.h | |
| parent | beda6059f236f08d7179b7346655d19aaa47dd26 (diff) | |
Quiesce the FeatureMap widget when hidden or disabled.
Diffstat (limited to 'ui/featuremap.h')
| -rw-r--r-- | ui/featuremap.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/ui/featuremap.h b/ui/featuremap.h index fb84165b..0447ff39 100644 --- a/ui/featuremap.h +++ b/ui/featuremap.h @@ -68,10 +68,15 @@ class BINARYNINJAUIAPI FeatureMap : public QWidget void updateCoordinates(); void updateMappedRegions(); + void connectDataStore(); + void disconnectDataStore(); + public: FeatureMap(SplitPaneWidget* owner, BinaryViewRef data, bool vertical = true); virtual ~FeatureMap(); + void enableBackgroundProcessing(bool enable); + void backgroundRefresh(); std::pair<uint64_t, bool> getLinearOffsetForAddress(uint64_t addr); @@ -93,6 +98,8 @@ protected: virtual void mousePressEvent(QMouseEvent* event) override; virtual void resizeEvent(QResizeEvent* event) override; virtual void paintEvent(QPaintEvent* event) override; + virtual void showEvent(QShowEvent* event) override; + virtual void hideEvent(QHideEvent* event) override; void scrollTo(int x, int y, bool addHistoryEntry = false); private Q_SLOTS: |
