mirror of
https://github.com/wownero/wowlet.git
synced 2026-10-27 11:18:43 +01:00
Settings: balance display
This commit is contained in:
@@ -57,6 +57,7 @@ static const QHash<Config::ConfigKey, ConfigDirective> configStrings = {
|
||||
{Config::amountPrecision, {QS("amountPrecision"), 12}},
|
||||
{Config::dateFormat, {QS("dateFormat"), "yyyy-MM-dd"}},
|
||||
{Config::timeFormat, {QS("timeFormat"), "HH:mm"}},
|
||||
{Config::balanceDisplay, {QS("balanceDisplay"), Config::BalanceDisplay::spendablePlusUnconfirmed}},
|
||||
|
||||
{Config::multiBroadcast, {QS("multiBroadcast"), true}},
|
||||
{Config::warnOnExternalLink,{QS("warnOnExternalLink"), true}},
|
||||
|
||||
@@ -55,6 +55,7 @@ public:
|
||||
amountPrecision,
|
||||
dateFormat,
|
||||
timeFormat,
|
||||
balanceDisplay,
|
||||
|
||||
multiBroadcast,
|
||||
warnOnExternalLink,
|
||||
@@ -78,6 +79,12 @@ public:
|
||||
allTor
|
||||
};
|
||||
|
||||
enum BalanceDisplay {
|
||||
totalBalance = 0,
|
||||
spendablePlusUnconfirmed,
|
||||
spendable
|
||||
};
|
||||
|
||||
~Config() override;
|
||||
QVariant get(ConfigKey key);
|
||||
QString getFileName();
|
||||
|
||||
Reference in New Issue
Block a user