![]() |
BSHA3
0.17.99
P2P Blockchain, based on Bitcoin
|
Interface from Qt to configuration data structure for Bitcoin client. More...
#include <optionsmodel.h>
Signals | |
| void | displayUnitChanged (int unit) |
| void | coinControlFeaturesChanged (bool) |
| void | hideTrayIconChanged (bool) |
Public Member Functions | |
| OptionsModel (interfaces::Node &node, 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 () const |
| bool | getMinimizeToTray () const |
| bool | getMinimizeOnClose () const |
| int | getDisplayUnit () const |
| QString | getThirdPartyTxUrls () const |
| bool | getProxySettings (QNetworkProxy &proxy) const |
| bool | getCoinControlFeatures () const |
| const QString & | getOverriddenByCommandLine () |
| void | setRestartRequired (bool fRequired) |
| bool | isRestartRequired () const |
| interfaces::Node & | node () const |
Private Member Functions | |
| void | addOverriddenOption (const std::string &option) |
| void | checkAndMigrate () |
Private Attributes | |
| interfaces::Node & | m_node |
| bool | fHideTrayIcon |
| bool | fMinimizeToTray |
| bool | fMinimizeOnClose |
| QString | language |
| int | nDisplayUnit |
| QString | strThirdPartyTxUrls |
| bool | fCoinControlFeatures |
| QString | strOverriddenByCommandLine |
Interface from Qt to configuration data structure for Bitcoin 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 29 of file optionsmodel.h.
Definition at line 36 of file optionsmodel.h.
|
explicit |
|
private |
Definition at line 35 of file optionsmodel.cpp.
|
private |
|
signal |
| QVariant OptionsModel::data | ( | const QModelIndex & | index, |
| int | role = Qt::DisplayRole |
||
| ) | const |
|
signal |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
| bool OptionsModel::getProxySettings | ( | QNetworkProxy & | proxy | ) | const |
|
inline |
|
signal |
| void OptionsModel::Init | ( | bool | resetSettings = false | ) |
Definition at line 41 of file optionsmodel.cpp.
| bool OptionsModel::isRestartRequired | ( | ) | const |
|
inline |
| void OptionsModel::Reset | ( | ) |
| int OptionsModel::rowCount | ( | const QModelIndex & | parent = QModelIndex() | ) | const |
Definition at line 206 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 463 of file optionsmodel.cpp.
| void OptionsModel::setRestartRequired | ( | bool | fRequired | ) |
|
private |
Definition at line 95 of file optionsmodel.h.
|
private |
Definition at line 89 of file optionsmodel.h.
|
private |
Definition at line 91 of file optionsmodel.h.
|
private |
Definition at line 90 of file optionsmodel.h.
|
private |
Definition at line 92 of file optionsmodel.h.
|
private |
Definition at line 87 of file optionsmodel.h.
|
private |
Definition at line 93 of file optionsmodel.h.
|
private |
Definition at line 97 of file optionsmodel.h.
|
private |
Definition at line 94 of file optionsmodel.h.
1.8.14