| 
    QGIS API Documentation 3.99.0-Master (f78f5286a64)
    
   | 
 
A dialog for configuring a style smart group. More...
#include <qgssmartgroupeditordialog.h>

Public Slots | |
| void | addCondition () | 
| function to create a new ConditionBox and update UI   | |
| void | removeCondition (int) | 
| slot to remove the condition with id int   | |
Public Member Functions | |
| QgsSmartGroupEditorDialog (QgsStyle *style, QWidget *parent=nullptr) | |
| QgsSmartConditionMap | conditionMap () | 
| returns the condition map   | |
| QString | conditionOperator () | 
| returns the AND/OR condition   | |
| void | setConditionMap (const QgsSmartConditionMap &) | 
| sets up the GUI for the given conditionmap   | |
| void | setOperator (const QString &) | 
| sets the operator AND/OR   | |
| void | setSmartgroupName (const QString &) | 
| sets the smart group Name   | |
| QString | smartgroupName () | 
| returns the value from mNameLineEdit   | |
Protected Attributes | |
| int | mCondCount | 
| QMap< int, QgsSmartGroupCondition * > | mConditionMap | 
| QGridLayout * | mLayout = nullptr | 
| QgsStyle * | mStyle = nullptr | 
A dialog for configuring a style smart group.
Definition at line 76 of file qgssmartgroupeditordialog.h.
| QgsSmartGroupEditorDialog::QgsSmartGroupEditorDialog | ( | QgsStyle * | style, | 
| QWidget * | parent = nullptr  | 
        ||
| ) | 
Definition at line 80 of file qgssmartgroupeditordialog.cpp.
      
  | 
  slot | 
function to create a new ConditionBox and update UI
Definition at line 105 of file qgssmartgroupeditordialog.cpp.
| QgsSmartConditionMap QgsSmartGroupEditorDialog::conditionMap | ( | ) | 
returns the condition map
Definition at line 144 of file qgssmartgroupeditordialog.cpp.
| QString QgsSmartGroupEditorDialog::conditionOperator | ( | ) | 
returns the AND/OR condition
Definition at line 157 of file qgssmartgroupeditordialog.cpp.
      
  | 
  slot | 
slot to remove the condition with id int
Definition at line 128 of file qgssmartgroupeditordialog.cpp.
| void QgsSmartGroupEditorDialog::setConditionMap | ( | const QgsSmartConditionMap & | map | ) | 
sets up the GUI for the given conditionmap
Definition at line 162 of file qgssmartgroupeditordialog.cpp.
| void QgsSmartGroupEditorDialog::setOperator | ( | const QString & | op | ) | 
sets the operator AND/OR
Definition at line 193 of file qgssmartgroupeditordialog.cpp.
| void QgsSmartGroupEditorDialog::setSmartgroupName | ( | const QString & | name | ) | 
sets the smart group Name
Definition at line 198 of file qgssmartgroupeditordialog.cpp.
| QString QgsSmartGroupEditorDialog::smartgroupName | ( | ) | 
returns the value from mNameLineEdit
Definition at line 100 of file qgssmartgroupeditordialog.cpp.
      
  | 
  protected | 
Definition at line 120 of file qgssmartgroupeditordialog.h.
      
  | 
  protected | 
Definition at line 122 of file qgssmartgroupeditordialog.h.
      
  | 
  protected | 
Definition at line 118 of file qgssmartgroupeditordialog.h.
      
  | 
  protected | 
Definition at line 116 of file qgssmartgroupeditordialog.h.