15 #ifndef QGSFIELDCONDITIONALFORMATWIDGET_H 16 #define QGSFIELDCONDITIONALFORMATWIDGET_H 19 #include <QStandardItemModel> 20 #include <QStandardItem> 22 #include "ui_qgsfieldconditionalformatwidget.h" 74 void setPresets(
const QList<QgsConditionalStyle> &styles );
81 QList<QgsConditionalStyle> defaultPresets()
const;
89 void rulesUpdated(
const QString &fieldName );
96 bool mEditing =
false;
97 QStandardItemModel *mModel =
nullptr;
98 QStandardItemModel *mPresetsModel =
nullptr;
99 QList<QgsConditionalStyle> mPresets;
106 void setExpression();
107 void presetSet(
int index );
109 void ruleClicked(
const QModelIndex &index );
115 void fieldChanged(
const QString &fieldName );
119 #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.