22   connect( sbWidgetHeight, SIGNAL( valueChanged( 
int ) ), 
this, SIGNAL( 
changed() ) );
    23   connect( sbWidgetWidth, SIGNAL( valueChanged( 
int ) ), 
this, SIGNAL( 
changed() ) );
    30   cfg.insert( 
"Height", sbWidgetHeight->value() );
    31   cfg.insert( 
"Width", sbWidgetWidth->value() );
    38   sbWidgetHeight->setValue( config.value( 
"Height", 0 ).toInt() );
    39   sbWidgetWidth->setValue( config.value( 
"Width", 0 ).toInt() );
 
void setConfig(const QgsEditorWidgetConfig &config) override
Update the configuration widget to represent the given configuration. 
QVariantMap QgsEditorWidgetConfig
Holds a set of configuration parameters for a editor widget wrapper. 
QgsEditorWidgetConfig config() override
Create a configuration from the current GUI state. 
QgsPhotoConfigDlg(QgsVectorLayer *vl, int fieldIdx, QWidget *parent=nullptr)
bool connect(const QObject *sender, const char *signal, const QObject *receiver, const char *method, Qt::ConnectionType type)
Represents a vector layer which manages a vector based data sets.