1 #ifndef QSETTINGSGROUPWIDGET_H 2 #define QSETTINGSGROUPWIDGET_H 4 #include "qsettingsdialog_global.h" 5 #include "qsettingsentry.h" 18 virtual QWidget *asWidget() = 0;
20 virtual void initialize(
const UiPropertyMap &uiPropertyMap) = 0;
23 virtual void setName(
const QString &name) = 0;
25 virtual void setTooltip(
const QString &tooltip) = 0;
27 virtual void setOptional(
bool optional) = 0;
30 virtual bool isChecked()
const = 0;
32 virtual void setChecked(
bool checked) = 0;
48 virtual void addWidgetWithLabel(
QWidget *label,
QWidget *content) = 0;
57 template <
class TW
idget>
72 this->setProperty(it.key().toLocal8Bit().constData(), it.value());
76 #endif // QSETTINGSGROUPWIDGET_H
const_iterator constEnd() const
const_iterator constBegin() const