create attribute widget for editing
More...
#include <qgsattributeeditor.h>
|
| QgsAttributeEditor (QObject *parent, QgsVectorLayer *vl=nullptr, int idx=-1) |
|
| QObject (QObject *parent) |
|
| QObject (QObject *parent, const char *name) |
|
virtual | ~QObject () |
|
bool | blockSignals (bool block) |
|
QObject * | child (const char *objName, const char *inheritsClass, bool recursiveSearch) const |
|
const QObjectList & | children () const |
|
const char * | className () const |
|
bool | connect (const QObject *sender, const char *signal, const char *method, Qt::ConnectionType type) const |
|
void | deleteLater () |
|
void | destroyed (QObject *obj) |
|
bool | disconnect (const QObject *receiver, const char *method) |
|
bool | disconnect (const char *signal, const QObject *receiver, const char *method) |
|
void | dumpObjectInfo () |
|
void | dumpObjectTree () |
|
QList< QByteArray > | dynamicPropertyNames () const |
|
virtual bool | event (QEvent *e) |
|
virtual bool | eventFilter (QObject *watched, QEvent *event) |
|
T | findChild (const QString &name) const |
|
QList< T > | findChildren (const QRegExp ®Exp) const |
|
QList< T > | findChildren (const QString &name) const |
|
bool | inherits (const char *className) const |
|
void | insertChild (QObject *object) |
|
void | installEventFilter (QObject *filterObj) |
|
bool | isA (const char *className) const |
|
bool | isWidgetType () const |
|
void | killTimer (int id) |
|
virtual const QMetaObject * | metaObject () const |
|
void | moveToThread (QThread *targetThread) |
|
const char * | name () const |
|
const char * | name (const char *defaultName) const |
|
QString | objectName () const |
|
QObject * | parent () const |
|
QVariant | property (const char *name) const |
|
void | removeChild (QObject *object) |
|
void | removeEventFilter (QObject *obj) |
|
void | setName (const char *name) |
|
void | setObjectName (const QString &name) |
|
void | setParent (QObject *parent) |
|
bool | setProperty (const char *name, const QVariant &value) |
|
bool | signalsBlocked () const |
|
int | startTimer (int interval) |
|
QThread * | thread () const |
|
|
static Q_DECL_DEPRECATED QWidget * | createAttributeEditor (QWidget *parent, QWidget *editor, QgsVectorLayer *vl, int idx, const QVariant &value, QMap< int, QWidget *> &proxyWidgets) |
| Creates or prepares a attribute editor widget. More...
|
|
static QWidget * | createAttributeEditor (QWidget *parent, QWidget *editor, QgsVectorLayer *vl, int idx, const QVariant &value) |
| Creates or prepares a attribute editor widget. More...
|
|
static QWidget * | createAttributeEditor (QWidget *parent, QWidget *editor, QgsVectorLayer *vl, int idx, const QVariant &value, QgsAttributeEditorContext &context) |
| Creates or prepares a attribute editor widget. More...
|
|
static bool | retrieveValue (QWidget *widget, QgsVectorLayer *vl, int idx, QVariant &value) |
|
static bool | setValue (QWidget *widget, QgsVectorLayer *vl, int idx, const QVariant &value) |
|
bool | connect (const QObject *sender, const char *signal, const QObject *receiver, const char *method, Qt::ConnectionType type) |
|
bool | connect (const QObject *sender, const QMetaMethod &signal, const QObject *receiver, const QMetaMethod &method, Qt::ConnectionType type) |
|
bool | disconnect (const QObject *sender, const char *signal, const QObject *receiver, const char *method) |
|
bool | disconnect (const QObject *sender, const QMetaMethod &signal, const QObject *receiver, const QMetaMethod &method) |
|
QString | tr (const char *sourceText, const char *disambiguation, int n) |
|
QString | trUtf8 (const char *sourceText, const char *disambiguation, int n) |
|
create attribute widget for editing
- Deprecated:
Definition at line 39 of file qgsattributeeditor.h.
◆ QgsAttributeEditor()
◆ createAttributeEditor() [1/3]
Creates or prepares a attribute editor widget.
- Parameters
-
parent | The parent object |
editor | The widget to prepare. Set to null if it should be generated |
vl | The vector layer to use as data source |
idx | The field index this widget refers to |
value | the value to initiate this widget with |
proxyWidgets | an array of widgets, which will act as a value proxy if the same field is inserted multiple times |
- Deprecated:
Definition at line 35 of file qgsattributeeditor.cpp.
◆ createAttributeEditor() [2/3]
Creates or prepares a attribute editor widget.
- Parameters
-
parent | The parent object |
editor | The widget to prepare. Set to null if it should be generated |
vl | The vector layer to use as data source |
idx | The field index this widget refers to |
value | the value to initiate this widget with |
Definition at line 28 of file qgsattributeeditor.cpp.
◆ createAttributeEditor() [3/3]
Creates or prepares a attribute editor widget.
- Parameters
-
parent | The parent object |
editor | The widget to prepare. Set to null if it should be generated |
vl | The vector layer to use as data source |
idx | The field index this widget refers to |
value | the value to initiate this widget with |
context | the context used for the created attribute editor |
Definition at line 44 of file qgsattributeeditor.cpp.
◆ retrieveValue()
◆ setValue()
The documentation for this class was generated from the following files: