15#ifndef QGSLABELINGENGINERULEWIDGET_H
16#define QGSLABELINGENGINERULEWIDGET_H
18#include "ui_qgslabelingruleavoidoverlapwidgetbase.h"
19#include "ui_qgslabelingrulemaxdistancelabeltofeaturewidgetbase.h"
20#include "ui_qgslabelingrulemindistancelabeltofeaturewidgetbase.h"
21#include "ui_qgslabelingrulemindistancelabeltolabelwidgetbase.h"
30class QDialogButtonBox;
112 QDialogButtonBox *mButtonBox =
nullptr;
117class GUI_EXPORT QgsLabelingEngineRuleAvoidLabelOverlapWithFeatureWidget :
public QgsLabelingEngineRuleWidget,
private Ui_QgsLabelingRuleAvoidLabelOverlapWithFeatureWidgetBase
122 QgsLabelingEngineRuleAvoidLabelOverlapWithFeatureWidget( QWidget *parent =
nullptr );
132 bool mBlockSignals = false;
135class GUI_EXPORT QgsLabelingEngineRuleMinimumDistanceLabelToFeatureWidget : public
QgsLabelingEngineRuleWidget, private Ui_QgsLabelingRuleMinimumDistanceLabelToFeatureWidgetBase
140 QgsLabelingEngineRuleMinimumDistanceLabelToFeatureWidget( QWidget *parent =
nullptr );
150 bool mBlockSignals = false;
153class GUI_EXPORT QgsLabelingEngineRuleMaximumDistanceLabelToFeatureWidget : public
QgsLabelingEngineRuleWidget, private Ui_QgsLabelingRuleMaximumDistanceLabelToFeatureWidgetBase
158 QgsLabelingEngineRuleMaximumDistanceLabelToFeatureWidget( QWidget *parent =
nullptr );
168 bool mBlockSignals = false;
171class GUI_EXPORT QgsLabelingEngineRuleMinimumDistanceLabelToLabelWidget : public
QgsLabelingEngineRuleWidget, private Ui_QgsLabelingRuleMinimumDistanceLabelToLabelWidgetBase
176 QgsLabelingEngineRuleMinimumDistanceLabelToLabelWidget( QWidget *parent =
nullptr );
186 bool mBlockSignals = false;
Abstract base class for labeling engine rules.
void setRule(const QgsAbstractLabelingEngineRule *rule)
Sets the rule to show in the dialog.
QgsAbstractLabelingEngineRule * rule()
Returns the rule defined by the current settings in the dialog.
QgsLabelingEngineRuleDialog(QgsLabelingEngineRuleWidget *widget, QWidget *parent=nullptr, Qt::WindowFlags flags=QgsGuiUtils::ModalDialogFlags)
Constructor for QgsLabelingEngineRuleDialog.