From c7d41f747b075145730ba8457808e5bc3d19fca2 Mon Sep 17 00:00:00 2001 From: Alexander Khosrowshahi Date: Fri, 6 Jun 2025 14:15:26 -0400 Subject: Add raw file size setting to projectbrowser --- ui/projectbrowser.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/ui/projectbrowser.h b/ui/projectbrowser.h index b76aa3d8..83d367f4 100644 --- a/ui/projectbrowser.h +++ b/ui/projectbrowser.h @@ -56,6 +56,8 @@ class BINARYNINJAUIAPI ProjectItemModel: public QStandardItemModel, public Binar std::unordered_map m_itemsById; + bool m_globalShowFullFileSize; + QHash m_pathMimeTypeCache; QHash m_pathSizeCache; QHash m_pathIconCache; @@ -96,6 +98,9 @@ public: QVariant data(const QModelIndex &index, int role = Qt::DisplayRole) const override; virtual bool setData(const QModelIndex& index, const QVariant& value, int role = Qt::EditRole) override; + virtual void toggleGlobalShowFileSize(); + virtual bool isGlobalShowFileSize() const; + enum { TypeRole = Qt::UserRole, IdRole, -- cgit v1.3.1