ColorSettingsModel

class ColorSettingsModel : public QAbstractListModel

Public Functions

  • ColorSettingsModel(QObject *parent = nullptr)

  • inline virtual ~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

  • inline int rowCount(const QModelIndex &parent = QModelIndex()) const override

  • void updateTheme()

  • QJsonDocument getTheme() const