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;
119 QDialogButtonBox *mButtonBox =
nullptr;
124class GUI_EXPORT QgsLabelingEngineRuleAvoidLabelOverlapWithFeatureWidget :
public QgsLabelingEngineRuleWidget,
private Ui_QgsLabelingRuleAvoidLabelOverlapWithFeatureWidgetBase
129 QgsLabelingEngineRuleAvoidLabelOverlapWithFeatureWidget( QWidget *parent =
nullptr );
139 bool mBlockSignals = false;
142class GUI_EXPORT QgsLabelingEngineRuleMinimumDistanceLabelToFeatureWidget : public
QgsLabelingEngineRuleWidget, private Ui_QgsLabelingRuleMinimumDistanceLabelToFeatureWidgetBase
147 QgsLabelingEngineRuleMinimumDistanceLabelToFeatureWidget( QWidget *parent =
nullptr );
157 bool mBlockSignals = false;
160class GUI_EXPORT QgsLabelingEngineRuleMaximumDistanceLabelToFeatureWidget : public
QgsLabelingEngineRuleWidget, private Ui_QgsLabelingRuleMaximumDistanceLabelToFeatureWidgetBase
165 QgsLabelingEngineRuleMaximumDistanceLabelToFeatureWidget( QWidget *parent =
nullptr );
175 bool mBlockSignals = false;
178class GUI_EXPORT QgsLabelingEngineRuleMinimumDistanceLabelToLabelWidget : public
QgsLabelingEngineRuleWidget, private Ui_QgsLabelingRuleMinimumDistanceLabelToLabelWidgetBase
183 QgsLabelingEngineRuleMinimumDistanceLabelToLabelWidget( QWidget *parent =
nullptr );
193 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.