mirror of
https://git.eden-emu.dev/eden-emu/eden.git
synced 2025-07-24 02:05:47 +00:00
Add helper function for creating a readable byte size string.
This commit is contained in:
parent
afd06675fa
commit
f297a59985
2 changed files with 16 additions and 0 deletions
|
@ -5,6 +5,10 @@
|
|||
#pragma once
|
||||
|
||||
#include <QFont>
|
||||
#include <QString>
|
||||
|
||||
/// Returns a QFont object appropriate to use as a monospace font for debugging widgets, etc.
|
||||
QFont GetMonospaceFont();
|
||||
|
||||
/// Convert a size in bytes into a readable format (KiB, MiB, etc.)
|
||||
QString ReadableByteSize(qulonglong size);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue