QGIS API Documentation
3.0.2-Girona (307d082)
|
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... | |
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 35 of file qgsattributeeditorcontext.h.
Enumerator | |
---|---|
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 49 of file qgsattributeeditorcontext.h.
Determines in which direction a relation was resolved.
Definition at line 42 of file qgsattributeeditorcontext.h.
|
default |
Constructor for QgsAttributeEditorContext.
|
inline |
Definition at line 59 of file qgsattributeeditorcontext.h.
|
inline |
Definition at line 68 of file qgsattributeeditorcontext.h.
|
inline |
Returns true if the attribute editor should permit use of custom UI forms.
Definition at line 116 of file qgsattributeeditorcontext.h.
|
inline |
Definition at line 88 of file qgsattributeeditorcontext.h.
|
inline |
Returns the form mode.
Definition at line 101 of file qgsattributeeditorcontext.h.
|
inline |
Definition at line 127 of file qgsattributeeditorcontext.h.
|
inline |
Definition at line 94 of file qgsattributeeditorcontext.h.
|
inline |
Definition at line 95 of file qgsattributeeditorcontext.h.
|
inline |
Sets whether the attribute editor should permit use of custom UI forms.
allow | set to true to allow custom UI forms, or false to disable them and use default generated QGIS forms |
Definition at line 125 of file qgsattributeeditorcontext.h.
|
inline |
Definition at line 79 of file qgsattributeeditorcontext.h.
|
inline |
Sets the form mode.
mode | form mode |
Definition at line 109 of file qgsattributeeditorcontext.h.
|
inline |
Definition at line 93 of file qgsattributeeditorcontext.h.
|
inline |
Definition at line 90 of file qgsattributeeditorcontext.h.
|
inline |
Definition at line 91 of file qgsattributeeditorcontext.h.