![]() |
PRCYCoin
2.0.0.7rc1
P2P Digital Currency
|
Interface from Qt to configuration data structure for Bitcoin client. More...
#include <optionsmodel.h>
Signals | |
| void | displayUnitChanged (int unit) |
| void | zeromintPercentageChanged (int) |
| void | preferredDenomChanged (int) |
| void | coinControlFeaturesChanged (bool) |
| void | hideOrphansChanged (bool) |
Public Member Functions | |
| OptionsModel (QObject *parent=0) | |
| void | Init () |
| 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 | getMinimizeToTray () |
| bool | getMinimizeOnClose () |
| int | getDisplayUnit () |
| QString | getThirdPartyTxUrls () |
| bool | getCoinControlFeatures () |
| const QString & | getOverriddenByCommandLine () |
| void | setRestartRequired (bool fRequired) |
| bool | isRestartRequired () |
Public Attributes | |
| bool | resetSettings |
Private Member Functions | |
| void | addOverriddenOption (const std::string &option) |
| Add option to list of GUI options overridden through command line/config file. More... | |
Private Attributes | |
| bool | fMinimizeToTray |
| bool | fMinimizeOnClose |
| QString | language |
| int | nDisplayUnit |
| QString | strThirdPartyTxUrls |
| bool | fCoinControlFeatures |
| bool | fHideOrphans |
| 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 18 of file optionsmodel.h.
Definition at line 25 of file optionsmodel.h.
|
explicit |
|
private |
Add option to list of GUI options overridden through command line/config file.
Definition at line 39 of file optionsmodel.cpp.
|
signal |
| QVariant OptionsModel::data | ( | const QModelIndex & | index, |
| int | role = Qt::DisplayRole |
||
| ) | const |
|
signal |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
signal |
| void OptionsModel::Init | ( | ) |
Definition at line 45 of file optionsmodel.cpp.
| bool OptionsModel::isRestartRequired | ( | ) |
|
signal |
| void OptionsModel::Reset | ( | ) |
Definition at line 148 of file optionsmodel.cpp.
| int OptionsModel::rowCount | ( | const QModelIndex & | parent = QModelIndex() | ) | const |
Definition at line 161 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 357 of file optionsmodel.cpp.
| void OptionsModel::setRestartRequired | ( | bool | fRequired | ) |
|
signal |
|
private |
Definition at line 77 of file optionsmodel.h.
|
private |
Definition at line 78 of file optionsmodel.h.
|
private |
Definition at line 73 of file optionsmodel.h.
|
private |
Definition at line 72 of file optionsmodel.h.
|
private |
Definition at line 74 of file optionsmodel.h.
|
private |
Definition at line 75 of file optionsmodel.h.
| bool OptionsModel::resetSettings |
Definition at line 68 of file optionsmodel.h.
|
private |
Definition at line 80 of file optionsmodel.h.
|
private |
Definition at line 76 of file optionsmodel.h.
1.8.17