Show sizes

table, index, toast and total size per Table
size of each index
This commit is contained in:
eelke 2021-03-10 19:06:40 +01:00
parent d6aeef492d
commit 11459e1e12
17 changed files with 138 additions and 28 deletions

View file

@ -13,10 +13,17 @@ enum class ReferencedType {
PgRole
};
///
enum DataMeaning {
DataMeaningNormal,
DataMeaningBytes ///< the value represents bytes pretty print in KiB, MiB, GiB, TiB, PiB, EiB
};
enum CustomDataRole {
CustomDataTypeRole = Qt::UserRole, ///< Requist the basic type of the value
CustomReferencedTypeRole, ///<
// Add other enum before this one is we might want to have multiple hidden values
CustomDataMeaningRole,
// Add other enum before this one as we might want to have multiple hidden values
FirstHiddenValue, ///< Used to request value from a model which is not handed to the view
};