Changeset View
Changeset View
Standalone View
Standalone View
src/qt/optionsmodel.h
Show All 24 Lines | /** Interface from Qt to configuration data structure for Bitcoin client. | ||||
laid out vertically. | laid out vertically. | ||||
This can be changed to a tree once the settings become sufficiently | This can be changed to a tree once the settings become sufficiently | ||||
complex. | complex. | ||||
*/ | */ | ||||
class OptionsModel : public QAbstractListModel { | class OptionsModel : public QAbstractListModel { | ||||
Q_OBJECT | Q_OBJECT | ||||
public: | public: | ||||
explicit OptionsModel(interfaces::Node &node, QObject *parent = 0, | explicit OptionsModel(interfaces::Node &node, QObject *parent = nullptr, | ||||
bool resetSettings = false); | bool resetSettings = false); | ||||
enum OptionID { | enum OptionID { | ||||
StartAtStartup, // bool | StartAtStartup, // bool | ||||
HideTrayIcon, // bool | HideTrayIcon, // bool | ||||
MinimizeToTray, // bool | MinimizeToTray, // bool | ||||
MapPortUPnP, // bool | MapPortUPnP, // bool | ||||
MinimizeOnClose, // bool | MinimizeOnClose, // bool | ||||
▲ Show 20 Lines • Show All 75 Lines • Show Last 20 Lines |