te::qt::widgets::RuleProperty Class Reference

A widget used to define the rule properties, such as: More...

#include <RuleProperty.h>

Inheritance diagram for te::qt::widgets::RuleProperty:

Signals

void ruleChanged ()
 

Public Member Functions

te::se::RulegetRule () 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::Rulem_rule
 Rule element that will be configured by this widget. More...
 
te::qt::widgets::ScalePropertyItemm_sp
 

Detailed Description

A widget used to define the rule properties, such as:

  • scale
  • description

Definition at line 61 of file RuleProperty.h.

Constructor & Destructor Documentation

te::qt::widgets::RuleProperty::RuleProperty ( QWidget *  parent)

Constructor.

te::qt::widgets::RuleProperty::~RuleProperty ( )

Destructor.

Member Function Documentation

te::se::Rule* te::qt::widgets::RuleProperty::getRule ( ) const

Gets the configured polygon symbolizer element.

Returns
The configured polygon symbolizer element.
Note
The caller will take the ownership of the returned symbolizer.
void te::qt::widgets::RuleProperty::onScaleMaxChanged ( )
protectedslot
void te::qt::widgets::RuleProperty::onScaleMinChanged ( )
protectedslot
void te::qt::widgets::RuleProperty::ruleChanged ( )
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.

Parameters
symbA valid polygon symbolizer element.
Note
The widget will NOT take the ownership of the given symbolizer.
The widget form will be update based on given symbolizer parameters.

Member Data Documentation

te::se::Rule* te::qt::widgets::RuleProperty::m_rule
protected

Rule element that will be configured by this widget.

Definition at line 114 of file RuleProperty.h.

te::qt::widgets::ScalePropertyItem* te::qt::widgets::RuleProperty::m_sp
protected

Definition at line 112 of file RuleProperty.h.


The documentation for this class was generated from the following file: