Add "Size" column

- Sizes are displayed in B, KiB, MiB, and GiB with 2 significant
  digits after the decimal
- Column is hidden by default
- TestEntryModel updated for testing proxy model
This commit is contained in:
Ojas Anand 2020-04-17 09:51:36 -04:00 committed by Janek Bevendorff
parent d9214db404
commit 1b18c5d51d
6 changed files with 48 additions and 14 deletions

View file

@ -43,7 +43,8 @@ public:
Accessed = 9,
Paperclip = 10,
Attachments = 11,
Totp = 12
Totp = 12,
Size = 13
};
explicit EntryModel(QObject* parent = nullptr);