From 4e3ef2ce073efe0cf1c7b744e720202afe7e294e Mon Sep 17 00:00:00 2001 From: Alexander Khosrowshahi Date: Thu, 28 Aug 2025 16:03:23 -0400 Subject: Add TableViewBase.h and base class QTableView uses in stringsview, memory map, searches, and tag types --- ui/memorymap.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'ui/memorymap.h') diff --git a/ui/memorymap.h b/ui/memorymap.h index 44bd0195..34753b40 100644 --- a/ui/memorymap.h +++ b/ui/memorymap.h @@ -17,6 +17,7 @@ #include "uitypes.h" #include "fontsettings.h" #include "viewframe.h" +#include "tableviewbase.h" /*! @@ -172,14 +173,13 @@ class BINARYNINJAUIAPI SegmentWidget : public QWidget Q_OBJECT BinaryViewRef m_data; - QTableView* m_table; + TableViewBase* m_table; SegmentModel* m_model; QSortFilterProxyModel* m_proxyModel; std::mutex m_updateMutex; //void updateInfo(); void showContextMenu(const QPoint& point); - QMenu* createHeaderContextMenu(const QPoint& p); void restoreDefaults(); void addMemoryRegion(SegmentRef segment); @@ -251,7 +251,7 @@ class BINARYNINJAUIAPI SectionWidget : public QWidget Q_OBJECT BinaryViewRef m_data; - QTableView* m_table; + TableViewBase* m_table; SectionModel* m_model; QSortFilterProxyModel* m_proxyModel; std::mutex m_updateMutex; -- cgit v1.3.1