#include <qgsattributedialog.h>
|
void | accept () override |
|
void | reject () override |
|
void | show () |
| Show the dialog non-blocking. Reparents this dialog to be a child of the dialog form. More...
|
|
Definition at line 37 of file qgsattributedialog.h.
◆ QgsAttributeDialog()
Create an attribute dialog for a given layer and feature.
- Parameters
-
vl | The layer for which the dialog will be generated |
thepFeature | A feature for which the dialog will be generated |
featureOwner | Set to true , if the dialog should take ownership of the feature |
parent | A parent widget for the dialog |
showDialogButtons | true: Show the dialog buttons accept/cancel |
context | The context in which this dialog is created |
Definition at line 26 of file qgsattributedialog.cpp.
◆ ~QgsAttributeDialog()
QgsAttributeDialog::~QgsAttributeDialog |
( |
| ) |
|
|
override |
◆ accept
void QgsAttributeDialog::accept |
( |
| ) |
|
|
overrideslot |
◆ attributeForm()
◆ editable()
bool QgsAttributeDialog::editable |
( |
| ) |
|
|
inline |
Is this dialog editable?
- Returns
- returns
true
, if this dialog was created in an editable manner.
Definition at line 73 of file qgsattributedialog.h.
◆ event()
bool QgsAttributeDialog::event |
( |
QEvent * |
e | ) |
|
|
override |
Intercept window activate/deactivate events to show/hide the highlighted feature.
- Parameters
-
- Returns
- The same as the parent QDialog
Definition at line 145 of file qgsattributedialog.cpp.
◆ feature()
◆ reject
void QgsAttributeDialog::reject |
( |
| ) |
|
|
overrideslot |
◆ setEditCommandMessage()
void QgsAttributeDialog::setEditCommandMessage |
( |
const QString & |
message | ) |
|
|
inline |
Sets the edit command message (Undo) that will be used when the dialog is accepted.
- Parameters
-
Definition at line 87 of file qgsattributedialog.h.
◆ setExtraContextScope()
Sets extraScope as an additional expression context scope to be used for calculations in this form.
- Since
- QGIS 3.16
Definition at line 155 of file qgsattributedialog.cpp.
◆ setHighlight()
◆ setMode()
◆ show
void QgsAttributeDialog::show |
( |
| ) |
|
|
slot |
Show the dialog non-blocking. Reparents this dialog to be a child of the dialog form.
Definition at line 86 of file qgsattributedialog.cpp.
The documentation for this class was generated from the following files: