51 QObject::connect( this->
mEditor, &QLineEdit::textChanged,
this, [ = ](
const QString & text )
79 QgsDebugError( QString(
"editor is not set, returning a non-existing value" ) );
100 mEditor->setCurrentIndex( idx );
117 QObject::connect(
mEditor, &QComboBox::currentTextChanged,
this, [ = ](
const QString & currentText )
119 QString textValue = currentText;
121 textValue =
mEditor->currentData().toString();
148 QgsDebugError( QString(
"editor is not set, returning a non-existing value" ) );
178 QObject::connect( this->
mEditor, &QCheckBox::clicked,
this, [ = ](
bool checked )
207 QgsDebugError( QString(
"editor is not set, returning a non-existing value" ) );
238 QObject::connect( this->
mEditor, qOverload<int>( &QSpinBox::valueChanged ),
this, [ = ](
int value )
266 QgsDebugError( QString(
"editor is not set, returning a non-existing value" ) );
268 return std::numeric_limits<int>::quiet_NaN();
298 QObject::connect( this->
mEditor, qOverload<double>( &QDoubleSpinBox::valueChanged ),
this, [ = ](
double value )
326 QgsDebugError( QString(
"editor is not set, returning a non-existing value" ) );
328 return std::numeric_limits<double>::quiet_NaN();
396 QgsDebugError( QString(
"editor is not set, returning a non-existing value" ) );
@ Double
Double precision number.
void enableAutomaticUpdatePrivate() override
Enables automatic update, which causes the setting to be updated immediately when the widget value is...
QString id() const override
This id of the type of settings it handles.
bool setSettingFromWidget() const override
Sets the setting value from the widget value The wrapper must be configured before calling this medth...
bool valueFromWidget() const override
Returns the widget value.
bool setWidgetValue(const bool &value) const override
Sets the widget value.
double valueFromWidget() const override
Returns the widget value.
void enableAutomaticUpdatePrivate() override
Enables automatic update, which causes the setting to be updated immediately when the widget value is...
bool setSettingFromWidget() const override
Sets the setting value from the widget value The wrapper must be configured before calling this medth...
bool setWidgetValue(const double &value) const override
Sets the widget value.
QString id() const override
This id of the type of settings it handles.
bool setValue(const T &value, const QString &dynamicKeyPart=QString()) const
Set settings value.
QString definitionKey() const
Returns settings entry defining key.
bool allowAlpha() const
Returns true if transparency is allowed for the color.
bool setWidgetValue(const int &value) const override
Sets the widget value.
bool setSettingFromWidget() const override
Sets the setting value from the widget value The wrapper must be configured before calling this medth...
void enableAutomaticUpdatePrivate() override
Enables automatic update, which causes the setting to be updated immediately when the widget value is...
QString id() const override
This id of the type of settings it handles.
int valueFromWidget() const override
Returns the widget value.
bool setWidgetValue(const QString &value) const override
Sets the widget value.
QString id() const override
This id of the type of settings it handles.
void enableAutomaticUpdatePrivate() override
Enables automatic update, which causes the setting to be updated immediately when the widget value is...
QString valueFromWidget() const override
Returns the widget value.
@ Data
Value is defined as data entry with Qt::UserRole.
bool setSettingFromWidget() const override
Sets the setting value from the widget value The wrapper must be configured before calling this medth...
QString valueFromWidget() const override
Returns the widget value.
bool setWidgetValue(const QString &value) const override
Sets the widget value.
QString id() const override
This id of the type of settings it handles.
bool setSettingFromWidget() const override
Sets the setting value from the widget value The wrapper must be configured before calling this medth...
void enableAutomaticUpdatePrivate() override
Enables automatic update, which causes the setting to be updated immediately when the widget value is...
#define QgsDebugError(str)