16#ifndef QGSSETTINGSEDITORWIDGETWRAPPERIMPL_H 
   17#define QGSSETTINGSEDITORWIDGETWRAPPERIMPL_H 
   30#include <QDoubleSpinBox> 
   31#include <QTableWidget> 
   44template<
class T, 
class V, 
class U>
 
   52    virtual QString 
id() 
const override = 0;
 
   57        return setWidgetValue( mSetting->value( mDynamicKeyPartList ) );
 
   67      setWidgetValue( mSetting->convertFromVariant( value ) );
 
   75      return valueFromWidget();
 
   85    const T *
setting()
 const {
return mSetting;}
 
   92      V *editor = 
new V( parent );
 
   93      editor->setAutoFillBackground( 
true );
 
   99      mSetting = 
dynamic_cast<const T *
>( setting );
 
  100      mEditor = qobject_cast<V *>( editor );
 
  103        configureEditorPrivateImplementation();
 
  112    const T *mSetting = 
nullptr;
 
  113    V *mEditor = 
nullptr;
 
  133    QString 
id() 
const override;
 
  137    QString valueFromWidget() 
const override;
 
  139    bool setWidgetValue( 
const QString &value ) 
const override;
 
  158    QString 
id() 
const override;
 
  162    bool valueFromWidget() 
const override;
 
  164    bool setWidgetValue( 
const bool &value ) 
const override;
 
  183    QString 
id() 
const override;
 
  187    int valueFromWidget() 
const override;
 
  189    bool setWidgetValue( 
const int &value ) 
const override;
 
  209    QString 
id() 
const override;
 
  213    double valueFromWidget() 
const override;
 
  215    bool setWidgetValue( 
const double &value ) 
const override;
 
  235    QString 
id() 
const override;
 
  239    QColor valueFromWidget() 
const override;
 
  241    bool setWidgetValue( 
const QColor &value ) 
const override;
 
  243    void configureEditorPrivateImplementation() 
override;
 
Represent settings entry and provides methods for reading and writing settings values.
 
A boolean settings entry.
 
An integer settings entry.
 
#define QgsDebugError(str)