diff options
| author | Alexander Khosrowshahi <alexk@vector35.com> | 2025-06-06 14:15:26 -0400 |
|---|---|---|
| committer | Alex Khosrowshahi <71569995+spoonmilk@users.noreply.github.com> | 2025-06-30 07:52:46 -0700 |
| commit | c7d41f747b075145730ba8457808e5bc3d19fca2 (patch) | |
| tree | e4f6f15abd9702297f3663bea724e505ca4fa285 /ui/projectbrowser.h | |
| parent | e8206bc27e1633c7e4c99907f43bf67d2f200cd5 (diff) | |
Add raw file size setting to projectbrowser
Diffstat (limited to 'ui/projectbrowser.h')
| -rw-r--r-- | ui/projectbrowser.h | 5 |
1 files changed, 5 insertions, 0 deletions
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<std::string, QStandardItem*> m_itemsById; + bool m_globalShowFullFileSize; + QHash<QString, QString> m_pathMimeTypeCache; QHash<QString, size_t> m_pathSizeCache; QHash<QString, QIcon> 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, |
