6 #ifndef RAVEN_QT_OPTIONSMODEL_H 7 #define RAVEN_QT_OPTIONSMODEL_H 11 #include <QAbstractListModel> 28 explicit OptionsModel(QObject *parent = 0,
bool resetSettings =
false);
55 void Init(
bool resetSettings =
false);
58 int rowCount(
const QModelIndex & parent = QModelIndex())
const;
59 QVariant
data(
const QModelIndex & index,
int role = Qt::DisplayRole)
const;
60 bool setData(
const QModelIndex & index,
const QVariant & value,
int role = Qt::EditRole);
108 #endif // RAVEN_QT_OPTIONSMODEL_H
bool setData(const QModelIndex &index, const QVariant &value, int role=Qt::EditRole)
void addOverriddenOption(const std::string &option)
void hideTrayIconChanged(bool)
bool getProxySettings(QNetworkProxy &proxy) const
const QString & getOverriddenByCommandLine()
void coinControlFeaturesChanged(bool)
void customFeeFeaturesChanged(bool)
int getDisplayUnit() const
bool isRestartRequired() const
void setDisplayUnit(const QVariant &value)
Updates current unit in memory, settings and emits displayUnitChanged(newUnit) signal.
OptionsModel(QObject *parent=0, bool resetSettings=false)
void Init(bool resetSettings=false)
void displayUnitChanged(int unit)
QString getThirdPartyTxUrls() const
bool fCoinControlFeatures
bool getCoinControlFeatures() const
bool fCustomFeeFeatures
RVN START.
bool getMinimizeOnClose() const
void setRestartRequired(bool fRequired)
Interface from Qt to configuration data structure for Raven client.
QString strThirdPartyTxUrls
bool getMinimizeToTray() const
QVariant data(const QModelIndex &index, int role=Qt::DisplayRole) const
bool getDarkModeEnabled() const
int rowCount(const QModelIndex &parent=QModelIndex()) const
bool getCustomFeeFeatures() const
bool getHideTrayIcon() const
QString strOverriddenByCommandLine
RVN END.