KConfigWidgets
kconfigdialog.h
46 * KConfigDialog *dialog = new KConfigDialog(this, QStringLiteral("settings"), MySettings::self());
122 addPage(QWidget *page, const QString &itemName, const QString &pixmapName = QString(), const QString &header = QString(), bool manage = true);
Provides a means of automatically retrieving, saving and resetting KConfigSkeleton based settings in ...
Definition kconfigdialogmanager.h:132
virtual bool isDefault()
Returns whether the current state of the dialog is the same as the default configuration.
Definition kconfigdialog.cpp:332
KConfigDialog(QWidget *parent, const QString &name, KCoreConfigSkeleton *config)
Definition kconfigdialog.cpp:99
static bool showDialog(const QString &name)
Attempts to show the dialog with the name 'name'.
Definition kconfigdialog.cpp:267
static KConfigDialog * exists(const QString &name)
See if a dialog with the name 'name' already exists.
Definition kconfigdialog.cpp:257
virtual bool hasChanged()
Returns whether the current state of the dialog is different from the current configuration.
Definition kconfigdialog.cpp:327
virtual void updateWidgets()
Update the dialog based on the settings.
Definition kconfigdialog.cpp:319
void settingsChanged(const QString &dialogName)
One or more of the settings have been permanently changed such as if the user clicked on the Apply or...
void setHelp(const QString &anchor, const QString &appname=QString())
Sets the help path and topic.
Definition kconfigdialog.cpp:347
virtual void updateWidgetsDefault()
Update the dialog based on the default settings.
Definition kconfigdialog.cpp:323
KPageDialog(QWidget *parent=nullptr, Qt::WindowFlags flags=Qt::WindowFlags())
void addPage(KPageWidgetItem *item)
virtual void showEvent(QShowEvent *event) override
Q_OBJECTQ_OBJECT
Q_SIGNALSQ_SIGNALS
Q_SLOTSQ_SLOTS
QObject * parent() const const
QWidget(QWidget *parent, Qt::WindowFlags f)
This file is part of the KDE documentation.
Documentation copyright © 1996-2025 The KDE developers.
Generated on Fri Jan 24 2025 11:56:04 by doxygen 1.13.2 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2025 The KDE developers.
Generated on Fri Jan 24 2025 11:56:04 by doxygen 1.13.2 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.