5#ifndef QXPROPERTYEDITOR_H
6#define QXPROPERTYEDITOR_H
11#include <QtCore/QHash>
12#include <QtCore/QString>
13#include <QtCore/QStringList>
14#include <QtCore/QVariant>
15#include <QtWidgets/QWidget>
19class QxPropertyEditorPrivate;
57 QStringList keys()
const;
58 bool contains(
const QString &key)
const;
67 void addGroup(
const QString &title,
const QList<QxProperty> &properties);
70 QVariant value(
const QString &key)
const;
71 void setValue(
const QString &key,
const QVariant &value);
77 void setAllValues(
const QHash<QString, QVariant> &values);
79 QHash<QString, QVariant> allValues()
const;
82 bool isModified()
const;
88 void resetToInitial();
A form built from a list of QxProperty descriptors.
void modifiedChanged(bool modified)
isModified() changed.
void valueChanged(const QString &key, const QVariant &value)
A value changed, whether by the user or by the application.
#define QX_APP_END_NAMESPACE
#define QX_DECLARE_PRIVATE(Class)
#define Q_NULLPTR
Copyleft (C) 2025 maminjie canpool@163.com SPDX-License-Identifier: MulanPSL-2.0
#define QX_APP_BEGIN_NAMESPACE
One setting, described well enough to be edited.