A widget used to define the rule properties, such as: More...
#include <RuleProperty.h>
Signals | |
| void | ruleChanged () |
Public Member Functions | |
| te::se::Rule * | getRule () const |
| Gets the configured polygon symbolizer element. More... | |
| void | setRule (te::se::Rule *rule) |
| Sets a polygon symbolizer element to this widget. More... | |
Initializer Methods | |
Methods related to instantiation and destruction. | |
| RuleProperty (QWidget *parent) | |
| Constructor. More... | |
| ~RuleProperty () | |
| Destructor. More... | |
Protected Slots | |
| void | onScaleMaxChanged () |
| void | onScaleMinChanged () |
Protected Attributes | |
| te::se::Rule * | m_rule |
| Rule element that will be configured by this widget. More... | |
| te::qt::widgets::ScalePropertyItem * | m_sp |
A widget used to define the rule properties, such as:
Definition at line 61 of file RuleProperty.h.
| te::qt::widgets::RuleProperty::RuleProperty | ( | QWidget * | parent | ) |
Constructor.
Definition at line 44 of file RuleProperty.cpp.
References m_sp, onScaleMaxChanged(), onScaleMinChanged(), and ~RuleProperty().
|
default |
Destructor.
Referenced by RuleProperty().
| te::se::Rule * te::qt::widgets::RuleProperty::getRule | ( | ) | const |
Gets the configured polygon symbolizer element.
Definition at line 80 of file RuleProperty.cpp.
References m_rule.
|
protectedslot |
Definition at line 93 of file RuleProperty.cpp.
References te::qt::widgets::ScalePropertyItem::getMaxScaleDenominator(), m_rule, m_sp, and te::se::Rule::setMaxScaleDenominator().
Referenced by RuleProperty().
|
protectedslot |
Definition at line 85 of file RuleProperty.cpp.
References te::qt::widgets::ScalePropertyItem::getMinScaleDenominator(), m_rule, m_sp, and te::se::Rule::setMinScaleDenominator().
Referenced by RuleProperty().
|
signal |
This signal is emitted when the internalrule element is changed.
| void te::qt::widgets::RuleProperty::setRule | ( | te::se::Rule * | rule | ) |
Sets a polygon symbolizer element to this widget.
| symb | A valid polygon symbolizer element. |
Definition at line 71 of file RuleProperty.cpp.
References te::se::Rule::getMaxScaleDenominator(), te::se::Rule::getMinScaleDenominator(), m_rule, m_sp, te::qt::widgets::ScalePropertyItem::setMaxScaleDenominator(), and te::qt::widgets::ScalePropertyItem::setMinScaleDenominator().
Referenced by te::qt::widgets::StyleDockWidget::onRuleSelected().
|
protected |
Rule element that will be configured by this widget.
Definition at line 114 of file RuleProperty.h.
Referenced by getRule(), onScaleMaxChanged(), onScaleMinChanged(), and setRule().
|
protected |
Definition at line 112 of file RuleProperty.h.
Referenced by onScaleMaxChanged(), onScaleMinChanged(), RuleProperty(), and setRule().