#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.
|
|
Definition at line 38 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 28 of file qgsattributedialog.cpp.
◆ ~QgsAttributeDialog()
QgsAttributeDialog::~QgsAttributeDialog |
( |
| ) |
|
|
override |
◆ accept
void QgsAttributeDialog::accept |
( |
| ) |
|
|
overrideslot |
◆ attributeForm()
◆ createActionContext()
◆ editable()
bool QgsAttributeDialog::editable |
( |
| ) |
|
|
inline |
Is this dialog editable?
- Returns
- returns
true
, if this dialog was created in an editable manner.
Definition at line 74 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 172 of file qgsattributedialog.cpp.
◆ feature()
const QgsFeature * QgsAttributeDialog::feature |
( |
| ) |
|
|
inline |
◆ 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 88 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 182 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 88 of file qgsattributedialog.cpp.
◆ showEvent()
void QgsAttributeDialog::showEvent |
( |
QShowEvent * |
event | ) |
|
|
override |
The documentation for this class was generated from the following files: