QGIS API Documentation
2.6.0-Brighton
|
This class contains context information for attribute editor widgets. More...
#include <qgsattributeeditorcontext.h>
Public Types | |
enum | RelationMode { Undefined, Multiple, Single } |
Determines in which direction a relation was resolved. More... | |
enum | FormMode { Embed, StandaloneDialog, Popup } |
Public Member Functions | |
QgsAttributeEditorContext () | |
QgsAttributeEditorContext (const QgsAttributeEditorContext &parentContext, FormMode formMode) | |
QgsAttributeEditorContext (const QgsAttributeEditorContext &parentContext, const QgsRelation &relation, RelationMode relationMode, FormMode widgetMode) | |
void | setDistanceArea (const QgsDistanceArea &distanceArea) |
const QgsDistanceArea & | distanceArea () const |
void | setVectorLayerTools (QgsVectorLayerTools *vlTools) |
const QgsVectorLayerTools * | vectorLayerTools () const |
void | setRelation (const QgsRelation &relation, RelationMode mode) |
const QgsRelation & | relation () const |
RelationMode | relationMode () const |
FormMode | formMode () const |
const QgsAttributeEditorContext * | parentContext () 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)
Determines in which direction a relation was resolved.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |