summaryrefslogtreecommitdiff
path: root/ui/stringsview.h
diff options
context:
space:
mode:
authorJordan Wiens <github@psifertex.com>2025-11-10 12:51:31 -0500
committerGlenn Smith <glenn@vector35.com>2025-11-10 20:48:22 -0500
commit0418561000622602146864421599964744262557 (patch)
tree5e4be390ca03aa9b661bef7ea177b75275ff79a3 /ui/stringsview.h
parentdb7506ab8288cdbf0a47c40e654c7e8d1a6d0757 (diff)
Revert various table view changes
They were not tested in time and we will address their bugs after the release
Diffstat (limited to 'ui/stringsview.h')
-rw-r--r--ui/stringsview.h13
1 files changed, 1 insertions, 12 deletions
diff --git a/ui/stringsview.h b/ui/stringsview.h
index e745d28d..4be86d60 100644
--- a/ui/stringsview.h
+++ b/ui/stringsview.h
@@ -9,7 +9,6 @@
#include "render.h"
#include "filter.h"
#include "uicontext.h"
-#include "tableviewbase.h"
#define STRINGS_LIST_UPDATE_INTERVAL 250
@@ -167,7 +166,7 @@ class StringsViewSidebarWidget;
\ingroup stringsview
*/
-class BINARYNINJAUIAPI StringsView : public TableViewBase, public View, public FilterTarget
+class BINARYNINJAUIAPI StringsView : public QTableView, public View, public FilterTarget
{
Q_OBJECT
@@ -184,14 +183,6 @@ class BINARYNINJAUIAPI StringsView : public TableViewBase, public View, public F
uint64_t m_currentlySelectedDataAddress;
std::optional<BinaryNinja::DerivedString> m_derivedString;
- QPointer<QHeaderView> m_horizontalHeader;
- QPointer<QHeaderView> m_verticalHeader;
- QTimer m_headerSaveDebounce;
-
- void restoreHeaderState() const;
- void saveHeaderState() const;
- void scheduleSaveHeaderState();
-
public:
StringsView(BinaryViewRef data, StringsContainer* container);
@@ -223,7 +214,6 @@ class BINARYNINJAUIAPI StringsView : public TableViewBase, public View, public F
void toggleIncludeOnlyReferenced() const { m_list->toggleIncludeOnlyReferenced(); };
void toggleIncludeOnlyFromCurrentFunction() const { m_list->toggleIncludeOnlyFromCurrentFunction(); };
- void resetColumnLayout() const;
void resetFilterOptions();
void copyText();
@@ -236,7 +226,6 @@ class BINARYNINJAUIAPI StringsView : public TableViewBase, public View, public F
virtual void mousePressEvent(QMouseEvent* event) override;
virtual void paintEvent(QPaintEvent* event) override;
virtual bool event(QEvent* event) override;
- int defaultSectionWidth(int logicalIndex, int charWidth) const override;
private Q_SLOTS:
void goToString(const QModelIndex& idx);