23 , mComboBox( nullptr )
53 mComboBox = qobject_cast<
QComboBox*>( editor );
60 Q_FOREACH (
const QString& s, enumValues )
virtual void enumValues(int index, QStringList &enumList)
Returns the possible enum values of an attribute.
void addItem(const QString &text, const QVariant &userData)
QVariant itemData(int index, int role) const
QgsSignalBlocker< Object > whileBlocking(Object *object)
Temporarily blocks signals from a QObject while calling a single method from the object.
int findData(const QVariant &data, int role, QFlags< Qt::MatchFlag > flags) const
QgsVectorDataProvider * dataProvider()
Returns the data provider.
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.