15 #ifndef QGSFIELDCONDITIONALFORMATWIDGET_H 16 #define QGSFIELDCONDITIONALFORMATWIDGET_H 20 #include <QStandardItemModel> 21 #include <QStandardItem> 23 #include "ui_qgsfieldconditionalformatwidget.h" 76 void setPresets(
const QList<QgsConditionalStyle> &styles );
83 QList<QgsConditionalStyle> defaultPresets()
const;
91 void rulesUpdated(
const QString &fieldName );
98 bool mEditing =
false;
99 QStandardItemModel *mModel =
nullptr;
100 QStandardItemModel *mPresetsModel =
nullptr;
101 QList<QgsConditionalStyle> mPresets;
108 void setExpression();
109 void presetSet(
int index );
111 void ruleClicked(
const QModelIndex &index );
117 void fieldChanged(
const QString &fieldName );
121 #endif // QGSFIELDCONDITIONALFORMATWIDGET_H
Conditional styling for a rule.
QDomDocument getStyles(QgsServerInterface *serverIface, const QgsProject *project, const QString &version, const QgsServerRequest &request)
Returns an SLD file with the styles of the requested layers.
Represents a vector layer which manages a vector based data sets.