56 for (
int i = 0; i < nodes.
size(); ++i )
70 QgsEditorWidgetConfig::ConstIterator it = config.constBegin();
72 while ( it != config.constEnd() )
95 valueInternalText = value.
toString();
108 Q_UNUSED( fieldIdx );
111 return Qt::AlignLeft;
117 map.
insert( QComboBox::staticMetaObject.className(), 10 );
QDomNodeList elementsByTagName(const QString &tagname) const
QDomNode appendChild(const QDomNode &newChild)
QString attribute(const QString &name, const QString &defValue) const
const QgsField & at(int i) const
Get field at particular index (must be in range 0..N-1)
QgsFields fields() const
Returns the list of fields of this layer.
QDomElement toElement() const
QVariantMap QgsEditorWidgetConfig
Holds a set of configuration parameters for a editor widget wrapper.
void setAttribute(const QString &name, const QString &value)
QString displayString(const QVariant &v) const
Formats string for display.
iterator insert(const Key &key, const T &value)
QDomElement createElement(const QString &tagName)
Represents a vector layer which manages a vector based data sets.
#define VALUEMAP_NULL_TEXT
QDomNode at(int index) const