QGIS API Documentation 3.41.0-Master (cea29feecf2)
|
#include <qgssmartgroupeditordialog.h>
Public Slots | |
void | destruct () |
Signals | |
void | removed (int id) |
Emitted when the group with the specified id is removed. | |
Public Member Functions | |
QgsSmartGroupCondition (int id, QWidget *parent=nullptr) | |
QString | constraint () |
returns the constraint key | |
void | hideRemoveButton (bool hide) |
sets the remove button hidden state to 'hide' | |
QString | parameter () |
returns the parameter | |
void | setConstraint (const QString &constraint) |
sets the given constraint | |
void | setParameter (const QString ¶m) |
sets the given param | |
Protected Attributes | |
int | mConditionId |
Definition at line 27 of file qgssmartgroupeditordialog.h.
QgsSmartGroupCondition::QgsSmartGroupCondition | ( | int | id, |
QWidget * | parent = nullptr |
||
) |
Definition at line 29 of file qgssmartgroupeditordialog.cpp.
QString QgsSmartGroupCondition::constraint | ( | ) |
returns the constraint key
Definition at line 51 of file qgssmartgroupeditordialog.cpp.
|
slot |
Definition at line 46 of file qgssmartgroupeditordialog.cpp.
void QgsSmartGroupCondition::hideRemoveButton | ( | bool | hide | ) |
sets the remove button hidden state to 'hide'
Definition at line 71 of file qgssmartgroupeditordialog.cpp.
QString QgsSmartGroupCondition::parameter | ( | ) |
returns the parameter
Definition at line 56 of file qgssmartgroupeditordialog.cpp.
|
signal |
Emitted when the group with the specified id is removed.
void QgsSmartGroupCondition::setConstraint | ( | const QString & | constraint | ) |
sets the given constraint
Definition at line 61 of file qgssmartgroupeditordialog.cpp.
void QgsSmartGroupCondition::setParameter | ( | const QString & | param | ) |
sets the given param
Definition at line 66 of file qgssmartgroupeditordialog.cpp.
|
protected |
Definition at line 60 of file qgssmartgroupeditordialog.h.