QGIS API Documentation
2.18.21-Las Palmas (9fba24a)
|
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 33 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 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 62 of file qgsattributeeditorcontext.h.
|
inline |
Definition at line 74 of file qgsattributeeditorcontext.h.
|
inline |
Returns true if the attribute editor should permit use of custom UI forms.
Definition at line 121 of file qgsattributeeditorcontext.h.
|
inline |
Definition at line 96 of file qgsattributeeditorcontext.h.
|
inline |
Returns the form mode.
Definition at line 108 of file qgsattributeeditorcontext.h.
|
inline |
Definition at line 131 of file qgsattributeeditorcontext.h.
|
inline |
Definition at line 102 of file qgsattributeeditorcontext.h.
|
inline |
Definition at line 103 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 129 of file qgsattributeeditorcontext.h.
|
inline |
Definition at line 87 of file qgsattributeeditorcontext.h.
|
inline |
Sets the form mode.
mode | form mode |
Definition at line 115 of file qgsattributeeditorcontext.h.
|
inline |
Definition at line 101 of file qgsattributeeditorcontext.h.
|
inline |
Definition at line 98 of file qgsattributeeditorcontext.h.
|
inline |
Definition at line 99 of file qgsattributeeditorcontext.h.