![]() |
Fabcoin Core
0.16.2
P2P Digital Currency
|
Interface from Qt to configuration data structure for Fabcoin client. More...
#include <optionsmodel.h>
Signals | |
| void | displayUnitChanged (int unit) |
| void | coinControlFeaturesChanged (bool) |
| void | hideTrayIconChanged (bool) |
| void | reserveBalanceChanged (CAmount) |
| void | zeroBalanceAddressTokenChanged (bool) |
Public Member Functions | |
| OptionsModel (QObject *parent=0, bool resetSettings=false) | |
| void | Init (bool resetSettings=false) |
| void | Reset () |
| int | rowCount (const QModelIndex &parent=QModelIndex()) const |
| QVariant | data (const QModelIndex &index, int role=Qt::DisplayRole) const |
| bool | setData (const QModelIndex &index, const QVariant &value, int role=Qt::EditRole) |
| void | setDisplayUnit (const QVariant &value) |
| Updates current unit in memory, settings and emits displayUnitChanged(newUnit) signal. More... | |
| bool | getHideTrayIcon () |
| bool | getMinimizeToTray () |
| bool | getMinimizeOnClose () |
| int | getDisplayUnit () |
| QString | getThirdPartyTxUrls () |
| bool | getProxySettings (QNetworkProxy &proxy) const |
| bool | getCoinControlFeatures () |
| const QString & | getOverriddenByCommandLine () |
| void | setRestartRequired (bool fRequired) |
| bool | isRestartRequired () |
Private Member Functions | |
| void | addOverriddenOption (const std::string &option) |
| void | checkAndMigrate () |
Private Attributes | |
| bool | fHideTrayIcon |
| bool | fMinimizeToTray |
| bool | fMinimizeOnClose |
| QString | language |
| int | nDisplayUnit |
| QString | strThirdPartyTxUrls |
| bool | fCoinControlFeatures |
| QString | strOverriddenByCommandLine |
Interface from Qt to configuration data structure for Fabcoin client.
To Qt, the options are presented as a list with the different options laid out vertically. This can be changed to a tree once the settings become sufficiently complex.
Definition at line 22 of file optionsmodel.h.
Definition at line 29 of file optionsmodel.h.
|
explicit |
|
private |
Definition at line 39 of file optionsmodel.cpp.
|
private |
|
signal |
| QVariant OptionsModel::data | ( | const QModelIndex & | index, |
| int | role = Qt::DisplayRole |
||
| ) | const |
|
signal |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
Definition at line 74 of file optionsmodel.h.
| bool OptionsModel::getProxySettings | ( | QNetworkProxy & | proxy | ) | const |
Definition at line 510 of file optionsmodel.cpp.
|
inline |
Definition at line 71 of file optionsmodel.h.
|
signal |
| void OptionsModel::Init | ( | bool | resetSettings = false | ) |
Definition at line 45 of file optionsmodel.cpp.
| bool OptionsModel::isRestartRequired | ( | ) |
|
signal |
| void OptionsModel::Reset | ( | ) |
Definition at line 201 of file optionsmodel.cpp.
| int OptionsModel::rowCount | ( | const QModelIndex & | parent = QModelIndex() | ) | const |
Definition at line 226 of file optionsmodel.cpp.
| bool OptionsModel::setData | ( | const QModelIndex & | index, |
| const QVariant & | value, | ||
| int | role = Qt::EditRole |
||
| ) |
| void OptionsModel::setDisplayUnit | ( | const QVariant & | value | ) |
Updates current unit in memory, settings and emits displayUnitChanged(newUnit) signal.
Definition at line 499 of file optionsmodel.cpp.
| void OptionsModel::setRestartRequired | ( | bool | fRequired | ) |
|
signal |
|
private |
Definition at line 88 of file optionsmodel.h.
|
private |
Definition at line 82 of file optionsmodel.h.
|
private |
Definition at line 84 of file optionsmodel.h.
|
private |
Definition at line 83 of file optionsmodel.h.
|
private |
Definition at line 85 of file optionsmodel.h.
|
private |
Definition at line 86 of file optionsmodel.h.
|
private |
Definition at line 90 of file optionsmodel.h.
|
private |
Definition at line 87 of file optionsmodel.h.
1.8.11