Base class for widgets which allow control over the properties of QgsAbstractLabelingEngineRule subclasses.
More...
#include <qgslabelingenginerulewidget.h>
|
| void | changed () |
| | Emitted whenever the configuration of the rule is changed.
|
| void | changed () |
| | Emitted when the widget state changes.
|
| void | panelAccepted (QgsPanelWidget *panel) |
| | Emitted when the panel is accepted by the user.
|
| void | showPanel (QgsPanelWidget *panel) |
| | Emit when you require a panel to be show in the interface.
|
| Q_DECL_DEPRECATED void | widgetChanged () |
| | Emitted when the widget state changes.
|
|
| void | acceptPanel () |
| | Accept the panel.
|
| void | openPanel (QgsPanelWidget *panel) |
| | Open a panel or dialog depending on dock mode setting If dock mode is true this method will emit the showPanel signal for connected slots to handle the open event.
|
| static QgsPanelWidget * | findParentPanel (QWidget *widget) |
| | Traces through the parents of a widget to find if it is contained within a QgsPanelWidget widget.
|
| void | keyPressEvent (QKeyEvent *event) override |
| | Overridden key press event to handle the esc event on the widget.
|
Base class for widgets which allow control over the properties of QgsAbstractLabelingEngineRule subclasses.
- See also
- QgsLabelingEngineRulesWidget for a widget for configuring multiple rules
-
QgsLabelingEngineRuleDialog
- Since
- QGIS 3.40
Definition at line 42 of file qgslabelingenginerulewidget.h.
◆ QgsLabelingEngineRuleWidget()
| QgsLabelingEngineRuleWidget::QgsLabelingEngineRuleWidget |
( |
QWidget * | parent = nullptr | ) |
|
|
inline |
◆ changed
| void QgsLabelingEngineRuleWidget::changed |
( |
| ) |
|
|
signal |
Emitted whenever the configuration of the rule is changed.
◆ rule()
Returns the rule defined by the current settings in the widget.
Ownership of the returned object is transferred to the caller
- See also
- setRule()
◆ setRule()
Sets the rule to show in the widget.
Ownership is not transferred.
- See also
- rule()
The documentation for this class was generated from the following file: