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() );
QVariantMap QgsEditorWidgetConfig
Holds a set of configuration parameters for a editor widget wrapper.
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.