A widget used to define the PointPlacement se object. More...
#include <PointPlacementPropertyItem.h>
Public Slots | |
| virtual void | valueChanged (QtProperty *p, double value) |
| virtual void | valueChanged (QtProperty *p, bool value) |
| virtual void | valueChanged (QtProperty *p, const QString &value) |
| virtual void | valueChanged (QtProperty *p, const QColor &value) |
| virtual void | valueChanged (QtProperty *p, const QFont &value) |
| virtual void | valueChanged (QtProperty *p, const QSizeF &value) |
| virtual void | valueChanged (QtProperty *p, const QPointF &value) |
Public Member Functions | |
Initializer Methods | |
Methods related to instantiation and destruction. | |
| PointPlacementPropertyItem (QtTreePropertyBrowser *pb, QColor c=QColor()) | |
| Constructor. More... | |
| ~PointPlacementPropertyItem () | |
| Destructor. More... | |
Protected Member Functions | |
| void | addProperty (QtProperty *property, const QString &id, QColor c) |
| void | setExpandedStatus (QtBrowserItem *item, bool status) |
Protected Attributes | |
| QColor | m_colorParent |
| QMap< QString, QtProperty * > | m_idToProperty |
| QtTreePropertyBrowser * | m_propertyBrowser |
| QMap< QtProperty *, QString > | m_propertyToId |
Re-implementation of Pure Virtual Method | |
AbstractFillWidget methods. | |
| QtProperty * | m_anchorProperty |
| QtProperty * | m_displacementProperty |
| QtProperty * | m_rotationProperty |
| te::se::PointPlacement * | m_pointPlacement |
| Fill element that will be configured by this widget. More... | |
| bool | m_update |
| void | setPointPlacement (const te::se::PointPlacement *pp) |
| te::se::PointPlacement * | getPointPlacement () const |
| void | resetPointPlacement () |
| void | updateUi () |
| Updates the widget form based on internal fill element. More... | |
| virtual void | valueChanged (QtProperty *p, int value) |
| virtual void | valueChanged (QtProperty *p, const QSize &value) |
| void | pointPlacementChanged () |
A widget used to define the PointPlacement se object.
Definition at line 52 of file PointPlacementPropertyItem.h.
| te::qt::widgets::PointPlacementPropertyItem::PointPlacementPropertyItem | ( | QtTreePropertyBrowser * | pb, |
| QColor | c = QColor() |
||
| ) |
Constructor.
Definition at line 42 of file PointPlacementPropertyItem.cpp.
References te::qt::widgets::AbstractPropertyItem::addProperty(), te::common::Singleton< AbstractPropertyManager >::getInstance(), m_anchorProperty, m_displacementProperty, m_rotationProperty, and m_update.
| te::qt::widgets::PointPlacementPropertyItem::~PointPlacementPropertyItem | ( | ) |
Destructor.
Definition at line 74 of file PointPlacementPropertyItem.cpp.
References m_pointPlacement.
|
protectedinherited |
Definition at line 53 of file AbstractPropertyItem.cpp.
References te::qt::widgets::AbstractPropertyItem::m_colorParent, te::qt::widgets::AbstractPropertyItem::m_idToProperty, te::qt::widgets::AbstractPropertyItem::m_propertyBrowser, te::qt::widgets::AbstractPropertyItem::m_propertyToId, p, and te::qt::widgets::AbstractPropertyItem::setExpandedStatus().
Referenced by te::qt::widgets::BasicFillPropertyItem::BasicFillPropertyItem(), te::qt::widgets::BasicStrokePropertyItem::BasicStrokePropertyItem(), te::qt::widgets::GlyphMarkPropertyItem::GlyphMarkPropertyItem(), te::qt::widgets::GraphicPropertyItem::GraphicPropertyItem(), te::qt::widgets::GridPropertyBrowser::GridPropertyBrowser(), te::qt::widgets::HaloPropertyItem::HaloPropertyItem(), te::qt::widgets::LayerPropertiesInfo::LayerPropertiesInfo(), te::qt::widgets::LinePlacementPropertyItem::LinePlacementPropertyItem(), te::qt::widgets::LocalImagePropertyItem::LocalImagePropertyItem(), PointPlacementPropertyItem(), te::qt::plugins::pgisRaster::RasterPropertiesInfo::RasterPropertiesInfo(), te::qt::widgets::ScalePropertyBrowser::ScalePropertyBrowser(), te::qt::widgets::ScalePropertyItem::ScalePropertyItem(), te::qt::widgets::LayerPropertiesInfo::setLayerRasterProperties(), te::qt::widgets::LayerPropertiesInfo::setLayerVecProperties(), te::qt::widgets::TextPropertyItem::TextPropertyItem(), and te::qt::widgets::WellKnownMarkPropertyItem::WellKnownMarkPropertyItem().
| te::se::PointPlacement * te::qt::widgets::PointPlacementPropertyItem::getPointPlacement | ( | ) | const |
Definition at line 146 of file PointPlacementPropertyItem.cpp.
References te::se::PointPlacement::clone(), and m_pointPlacement.
Referenced by te::qt::widgets::TextSymbolizerProperty::onPointPlacementChanged().
|
signal |
This signal is emitted when the internal fill element is changed.
Referenced by valueChanged().
| void te::qt::widgets::PointPlacementPropertyItem::resetPointPlacement | ( | ) |
Definition at line 151 of file PointPlacementPropertyItem.cpp.
References te::common::Singleton< AbstractPropertyManager >::getInstance(), m_anchorProperty, m_displacementProperty, and m_rotationProperty.
Referenced by te::qt::widgets::TextSymbolizerProperty::setSymbolizer().
|
protectedinherited |
Definition at line 70 of file AbstractPropertyItem.cpp.
References te::qt::widgets::AbstractPropertyItem::m_propertyBrowser.
Referenced by te::qt::widgets::AbstractPropertyItem::addProperty().
| void te::qt::widgets::PointPlacementPropertyItem::setPointPlacement | ( | const te::se::PointPlacement * | pp | ) |
Definition at line 132 of file PointPlacementPropertyItem.cpp.
References te::se::PointPlacement::clone(), m_pointPlacement, m_update, and updateUi().
Referenced by te::qt::widgets::TextSymbolizerProperty::setSymbolizer().
| void te::qt::widgets::PointPlacementPropertyItem::updateUi | ( | ) |
Updates the widget form based on internal fill element.
Definition at line 166 of file PointPlacementPropertyItem.cpp.
References te::se::PointPlacement::getAnchorPoint(), te::se::AnchorPoint::getAnchorPointX(), te::se::AnchorPoint::getAnchorPointY(), te::se::PointPlacement::getDisplacement(), te::se::Displacement::getDisplacementX(), te::se::Displacement::getDisplacementY(), te::se::GetDouble(), te::common::Singleton< AbstractPropertyManager >::getInstance(), te::se::GetInt(), te::se::PointPlacement::getRotation(), m_anchorProperty, m_displacementProperty, m_pointPlacement, m_rotationProperty, and m_update.
Referenced by setPointPlacement().
|
virtualslotinherited |
Definition at line 88 of file AbstractPropertyItem.cpp.
|
virtualslotinherited |
Definition at line 93 of file AbstractPropertyItem.cpp.
|
virtualslotinherited |
Definition at line 98 of file AbstractPropertyItem.cpp.
|
virtualslotinherited |
Definition at line 103 of file AbstractPropertyItem.cpp.
|
virtualslotinherited |
Definition at line 108 of file AbstractPropertyItem.cpp.
|
virtualslot |
Definition at line 79 of file PointPlacementPropertyItem.cpp.
References m_pointPlacement, m_rotationProperty, m_update, pointPlacementChanged(), and te::se::PointPlacement::setRotation().
|
virtualslotinherited |
Definition at line 118 of file AbstractPropertyItem.cpp.
|
virtualslot |
Definition at line 95 of file PointPlacementPropertyItem.cpp.
References m_anchorProperty, m_displacementProperty, m_pointPlacement, m_update, pointPlacementChanged(), te::se::PointPlacement::setAnchorPoint(), te::se::AnchorPoint::setAnchorPointX(), te::se::AnchorPoint::setAnchorPointY(), te::se::PointPlacement::setDisplacement(), te::se::Displacement::setDisplacementX(), and te::se::Displacement::setDisplacementY().
|
virtualslotinherited |
Definition at line 123 of file AbstractPropertyItem.cpp.
|
protected |
Definition at line 97 of file PointPlacementPropertyItem.h.
Referenced by PointPlacementPropertyItem(), resetPointPlacement(), updateUi(), and valueChanged().
|
protectedinherited |
Definition at line 97 of file AbstractPropertyItem.h.
Referenced by te::qt::widgets::AbstractPropertyItem::addProperty().
|
protected |
Definition at line 98 of file PointPlacementPropertyItem.h.
Referenced by PointPlacementPropertyItem(), resetPointPlacement(), updateUi(), and valueChanged().
|
protectedinherited |
Definition at line 95 of file AbstractPropertyItem.h.
Referenced by te::qt::widgets::AbstractPropertyItem::addProperty().
|
protected |
Fill element that will be configured by this widget.
Definition at line 101 of file PointPlacementPropertyItem.h.
Referenced by getPointPlacement(), setPointPlacement(), updateUi(), valueChanged(), and ~PointPlacementPropertyItem().
|
protectedinherited |
Definition at line 92 of file AbstractPropertyItem.h.
Referenced by te::qt::widgets::AbstractPropertyItem::AbstractPropertyItem(), te::qt::widgets::AbstractPropertyItem::addProperty(), te::qt::widgets::HaloPropertyItem::HaloPropertyItem(), te::qt::widgets::AbstractPropertyItem::setExpandedStatus(), te::qt::widgets::TextPropertyItem::TextPropertyItem(), and te::qt::widgets::WellKnownMarkPropertyItem::WellKnownMarkPropertyItem().
|
protectedinherited |
Definition at line 94 of file AbstractPropertyItem.h.
Referenced by te::qt::widgets::AbstractPropertyItem::addProperty().
|
protected |
Definition at line 99 of file PointPlacementPropertyItem.h.
Referenced by PointPlacementPropertyItem(), resetPointPlacement(), updateUi(), and valueChanged().
|
protected |
Definition at line 103 of file PointPlacementPropertyItem.h.
Referenced by PointPlacementPropertyItem(), setPointPlacement(), updateUi(), and valueChanged().