![]() |
Raven Core
3.0.0
P2P Digital Currency
|
Interface from Qt to configuration data structure for Raven client. More...
#include <optionsmodel.h>
Signals | |
| void | displayUnitChanged (int unit) |
| void | coinControlFeaturesChanged (bool) |
| void | customFeeFeaturesChanged (bool) |
| void | hideTrayIconChanged (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 () const |
| bool | getMinimizeToTray () const |
| bool | getMinimizeOnClose () const |
| int | getDisplayUnit () const |
| QString | getThirdPartyTxUrls () const |
| bool | getProxySettings (QNetworkProxy &proxy) const |
| bool | getCoinControlFeatures () const |
| bool | getCustomFeeFeatures () const |
| bool | getDarkModeEnabled () const |
| const QString & | getOverriddenByCommandLine () |
| void | setRestartRequired (bool fRequired) |
| bool | isRestartRequired () const |
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 |
| bool | fCustomFeeFeatures |
| RVN START. More... | |
| bool | fDarkModeEnabled |
| QString | strOverriddenByCommandLine |
| RVN END. More... | |
Interface from Qt to configuration data structure for Raven 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 23 of file optionsmodel.h.
Definition at line 30 of file optionsmodel.h.
|
explicit |
|
private |
|
private |
|
signal |
|
signal |
| QVariant OptionsModel::data | ( | const QModelIndex & | index, |
| int | role = Qt::DisplayRole |
||
| ) | const |
|
signal |
|
inline |
|
inline |
|
inline |
Definition at line 73 of file optionsmodel.h.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
Definition at line 74 of file optionsmodel.h.
| bool OptionsModel::getProxySettings | ( | QNetworkProxy & | proxy | ) | const |
Definition at line 465 of file optionsmodel.cpp.
|
inline |
Definition at line 69 of file optionsmodel.h.
|
signal |
| void OptionsModel::Init | ( | bool | resetSettings = false | ) |
Definition at line 45 of file optionsmodel.cpp.
| bool OptionsModel::isRestartRequired | ( | ) | const |
| void OptionsModel::Reset | ( | ) |
| int OptionsModel::rowCount | ( | const QModelIndex & | parent = QModelIndex() | ) | const |
Definition at line 208 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 454 of file optionsmodel.cpp.
| void OptionsModel::setRestartRequired | ( | bool | fRequired | ) |
|
private |
Definition at line 88 of file optionsmodel.h.
|
private |
RVN START.
Definition at line 90 of file optionsmodel.h.
|
private |
Definition at line 91 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 |
RVN END.
Definition at line 94 of file optionsmodel.h.
|
private |
Definition at line 87 of file optionsmodel.h.
1.8.13