Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions ui/projectbrowser.h
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -96,6 +98,9 @@ class BINARYNINJAUIAPI ProjectItemModel: public QStandardItemModel, public Binar
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();

enum {
TypeRole = Qt::UserRole,
IdRole,
Expand Down