ColorSettingsModel

class ColorSettingsModel : public QAbstractListModel

Public Functions

ColorSettingsModel(QObject *parent = nullptr)
~ColorSettingsModel() override
QVariant data(const QModelIndex &index, int role = Qt::DisplayRole) const override
bool setData(const QModelIndex &index, const QVariant &value, int role = Qt::EditRole) override
int rowCount(const QModelIndex &parent = QModelIndex()) const override
void updateTheme()
QJsonDocument getTheme() const