diff --git a/ui/stringsview.h b/ui/stringsview.h index 2e1359e02..19d5f1bcf 100644 --- a/ui/stringsview.h +++ b/ui/stringsview.h @@ -148,6 +148,14 @@ class BINARYNINJAUIAPI StringsView : public QTableView, public View, public Filt uint64_t m_selectionBegin, m_selectionEnd; uint64_t m_currentlySelectedDataAddress; + QPointer m_horizontalHeader; + QPointer m_verticalHeader; + QTimer m_headerSaveDebounce; + + void restoreHeaderState() const; + void saveHeaderState() const; + void scheduleSaveHeaderState(); + public: StringsView(BinaryViewRef data, StringsContainer* container); @@ -178,6 +186,7 @@ class BINARYNINJAUIAPI StringsView : public QTableView, public View, public Filt void toggleIncludeOnlyReferenced() const { m_list->toggleIncludeOnlyReferenced(); }; void toggleIncludeOnlyFromCurrentFunction() const { m_list->toggleIncludeOnlyFromCurrentFunction(); }; + void resetColumnLayout() const; void resetFilterOptions(); void copyText();