QGIS API Documentation
2.8.2-Wien
|
This class contains context information for attribute editor widgets. More...
#include <qgsattributeeditorcontext.h>
Public Types | |
enum | FormMode { Embed, StandaloneDialog, Popup } |
enum | RelationMode { Undefined, Multiple, Single } |
Determines in which direction a relation was resolved. More... |
Public Member Functions | |
QgsAttributeEditorContext () | |
QgsAttributeEditorContext (const QgsAttributeEditorContext &parentContext, FormMode formMode) | |
QgsAttributeEditorContext (const QgsAttributeEditorContext &parentContext, const QgsRelation &relation, RelationMode relationMode, FormMode widgetMode) | |
const QgsDistanceArea & | distanceArea () const |
FormMode | formMode () const |
const QgsAttributeEditorContext * | parentContext () const |
const QgsRelation & | relation () const |
RelationMode | relationMode () const |
void | setDistanceArea (const QgsDistanceArea &distanceArea) |
void | setRelation (const QgsRelation &relation, RelationMode mode) |
void | setVectorLayerTools (QgsVectorLayerTools *vlTools) |
const QgsVectorLayerTools * | vectorLayerTools () const |
This class contains context information for attribute editor widgets.
It will be passed to embedded widgets whenever this occurs (e.g. when showing an embedded form due to relations)
Definition at line 33 of file qgsattributeeditorcontext.h.
Embed |
A form was embedded as a widget on another form. |
StandaloneDialog |
A form was opened as a new dialog. |
Popup |
A widget was opened as a popup (e.g. attribute table editor widget) |
Definition at line 46 of file qgsattributeeditorcontext.h.
Determines in which direction a relation was resolved.
Definition at line 39 of file qgsattributeeditorcontext.h.
|
inline |
Definition at line 53 of file qgsattributeeditorcontext.h.
|
inline |
Definition at line 61 of file qgsattributeeditorcontext.h.
|
inline |
Definition at line 72 of file qgsattributeeditorcontext.h.
|
inline |
Definition at line 93 of file qgsattributeeditorcontext.h.
|
inline |
Definition at line 102 of file qgsattributeeditorcontext.h.
|
inline |
Definition at line 104 of file qgsattributeeditorcontext.h.
|
inline |
Definition at line 99 of file qgsattributeeditorcontext.h.
|
inline |
Definition at line 100 of file qgsattributeeditorcontext.h.
|
inline |
Definition at line 84 of file qgsattributeeditorcontext.h.
|
inline |
Definition at line 98 of file qgsattributeeditorcontext.h.
|
inline |
Definition at line 95 of file qgsattributeeditorcontext.h.
|
inline |
Definition at line 96 of file qgsattributeeditorcontext.h.