QGIS API Documentation 3.41.0-Master (45a0abf3bec)
|
#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 50 of file qgssmartgroupeditordialog.cpp.
|
slot |
Definition at line 45 of file qgssmartgroupeditordialog.cpp.
void QgsSmartGroupCondition::hideRemoveButton | ( | bool | hide | ) |
sets the remove button hidden state to 'hide'
Definition at line 70 of file qgssmartgroupeditordialog.cpp.
QString QgsSmartGroupCondition::parameter | ( | ) |
returns the parameter
Definition at line 55 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 60 of file qgssmartgroupeditordialog.cpp.
void QgsSmartGroupCondition::setParameter | ( | const QString & | param | ) |
sets the given param
Definition at line 65 of file qgssmartgroupeditordialog.cpp.
|
protected |
Definition at line 60 of file qgssmartgroupeditordialog.h.