1 #ifndef QSETTINGSWIDGET_H 2 #define QSETTINGSWIDGET_H 4 #include "qsettingsdialog_global.h" 7 #include <QRegularExpression> 8 #include "qsettingsentry.h" 20 virtual QWidget *asWidget() = 0;
22 virtual void initialize(
const UiPropertyMap &uiPropertyMap) = 0;
25 virtual bool hasValueChanged()
const;
27 virtual void resetValueChanged();
30 virtual void setValue(
const QVariant &value) = 0;
32 virtual QVariant getValue()
const = 0;
34 virtual void resetValue() = 0;
46 template <
class TW
idget>
61 this->setProperty(it.key().toLocal8Bit().constData(), it.value());
67 #endif // QSETTINGSWIDGET_H
const_iterator constEnd() const
const_iterator constBegin() const