5#ifndef QXSETTINGSDIALOG_H
6#define QXSETTINGSDIALOG_H
13#include <QtCore/QList>
14#include <QtCore/QString>
15#include <QtCore/QStringList>
17#include <QtWidgets/QDialog>
20class QDialogButtonBox;
28class QxPropertyEditor;
29class QxSettingsDialogPrivate;
77 void addPage(
const QString &
id,
const QIcon &icon,
const QString &title,
const QList<QxProperty> &properties);
83 void addGroup(
const QString &pageId,
const QString &title,
const QList<QxProperty> &properties);
85 QStringList pageIds()
const;
88 QString currentPageId()
const;
91 bool isModified()
const;
100 void setCurrentPage(
const QString &
id);
102 void accept()
override;
104 void reject()
override;
111 void showEvent(QShowEvent *event)
override;
A form built from a list of QxProperty descriptors.
A settings dialog: a list of pages on the left, a key/value form on the right and the three things a ...
void currentPageChanged(const QString &id)
void applied()
The values have been written and synced.
Thin wrapper around QSettings that keeps call sites free of the usual boilerplate: typed accessors wi...
#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
#define QX_CORE_PREPEND_NAMESPACE(name)