A tool button widget which is displayed next to editor widgets in attribute forms, and allows for controlling how the widget behaves and interacts with the form while in multi edit mode.
More...
#include <qgsmultiedittoolbutton.h>
A tool button widget which is displayed next to editor widgets in attribute forms, and allows for controlling how the widget behaves and interacts with the form while in multi edit mode.
- Since
- QGIS 2.16
Definition at line 32 of file qgsmultiedittoolbutton.h.
Button states.
Enumerator |
---|
Default |
Default state, all features have same value for widget.
|
MixedValues |
Mixed state, some features have different values for the widget.
|
Changed |
Value for widget has changed but changes have not yet been committed.
|
Definition at line 39 of file qgsmultiedittoolbutton.h.
QgsMultiEditToolButton::QgsMultiEditToolButton |
( |
QWidget * |
parent = nullptr | ) |
|
|
explicit |
void QgsMultiEditToolButton::changesCommitted |
( |
| ) |
|
|
inlineslot |
void QgsMultiEditToolButton::resetChanges |
( |
| ) |
|
|
inlineslot |
void QgsMultiEditToolButton::resetFieldValueTriggered |
( |
| ) |
|
|
signal |
Emitted when the "reset to original values" option is selected.
void QgsMultiEditToolButton::setField |
( |
const QgsField & |
field | ) |
|
|
inline |
Sets the field associated with this button.
This is used to customize the widget menu and tooltips to match the field properties.
- Parameters
-
Definition at line 62 of file qgsmultiedittoolbutton.h.
void QgsMultiEditToolButton::setFieldValueTriggered |
( |
| ) |
|
|
signal |
Emitted when the "set field value for all features" option is selected.
void QgsMultiEditToolButton::setIsChanged |
( |
bool |
changed | ) |
|
|
inlineslot |
void QgsMultiEditToolButton::setIsMixed |
( |
bool |
mixed | ) |
|
|
inlineslot |
State QgsMultiEditToolButton::state |
( |
| ) |
const |
|
inline |
The documentation for this class was generated from the following files: