A widget used to define the basic fill se object. More...
#include <BasicFillPropertyItem.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 QFont &value) |
| virtual void | valueChanged (QtProperty *p, const QSize &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. | |
| BasicFillPropertyItem (QtTreePropertyBrowser *pb, QColor c=QColor()) | |
| Constructor. More... | |
| ~BasicFillPropertyItem () | |
| 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_colorProperty |
| QtProperty * | m_opacityProperty |
| QColor | m_color |
| te::se::Fill * | m_fill |
| Fill element that will be configured by this widget. More... | |
| bool | m_update |
| bool | setFill (const te::se::Fill *fill) |
| te::se::Fill * | getFill () const |
| 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 QColor &value) |
| void | fillChanged () |
A widget used to define the basic fill se object.
Definition at line 52 of file BasicFillPropertyItem.h.
| te::qt::widgets::BasicFillPropertyItem::BasicFillPropertyItem | ( | QtTreePropertyBrowser * | pb, |
| QColor | c = QColor() |
||
| ) |
Constructor.
Definition at line 40 of file BasicFillPropertyItem.cpp.
References te::qt::widgets::AbstractPropertyItem::addProperty(), te::common::Singleton< AbstractPropertyManager >::getInstance(), m_colorProperty, m_opacityProperty, m_update, and TE_SE_DEFAULT_FILL_BASIC_COLOR.
| te::qt::widgets::BasicFillPropertyItem::~BasicFillPropertyItem | ( | ) |
|
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 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(), te::qt::widgets::PointPlacementPropertyItem::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().
|
signal |
This signal is emitted when the internal fill element is changed.
Referenced by valueChanged().
| te::se::Fill * te::qt::widgets::BasicFillPropertyItem::getFill | ( | ) | const |
Definition at line 134 of file BasicFillPropertyItem.cpp.
References te::se::Fill::clone(), and m_fill.
Referenced by te::qt::widgets::GlyphMarkPropertyItem::GlyphMarkPropertyItem(), te::qt::widgets::HaloPropertyItem::HaloPropertyItem(), te::qt::widgets::HaloPropertyItem::onFillChanged(), te::qt::widgets::TextPropertyItem::onFillChanged(), te::qt::widgets::WellKnownMarkPropertyItem::onFillChanged(), te::qt::widgets::PolygonSymbolizerProperty::onFillChanged(), te::qt::widgets::GlyphMarkPropertyItem::onFillChanged(), te::qt::widgets::TextPropertyItem::TextPropertyItem(), and te::qt::widgets::WellKnownMarkPropertyItem::WellKnownMarkPropertyItem().
|
protectedinherited |
Definition at line 70 of file AbstractPropertyItem.cpp.
References te::qt::widgets::AbstractPropertyItem::m_propertyBrowser.
Referenced by te::qt::widgets::AbstractPropertyItem::addProperty().
| bool te::qt::widgets::BasicFillPropertyItem::setFill | ( | const te::se::Fill * | fill | ) |
Definition at line 116 of file BasicFillPropertyItem.cpp.
References te::se::Fill::clone(), te::se::Fill::getGraphicFill(), m_fill, and updateUi().
Referenced by te::qt::widgets::PolygonSymbolizerProperty::setSymbolizer(), te::qt::widgets::TextPropertyItem::updateUi(), te::qt::widgets::HaloPropertyItem::updateUi(), te::qt::widgets::GlyphMarkPropertyItem::updateUi(), and te::qt::widgets::WellKnownMarkPropertyItem::updateUi().
| void te::qt::widgets::BasicFillPropertyItem::updateUi | ( | ) |
Updates the widget form based on internal fill element.
Definition at line 139 of file BasicFillPropertyItem.cpp.
References te::se::GetColor(), te::se::GetDouble(), te::common::Singleton< AbstractPropertyManager >::getInstance(), te::se::Fill::getOpacity(), te::color::RGBAColor::getRgba(), m_colorProperty, m_fill, m_opacityProperty, te::rst::Round(), TE_OPAQUE, and TE_SE_DEFAULT_FILL_BASIC_COLOR.
Referenced by setFill(), and valueChanged().
|
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.
|
virtualslot |
Definition at line 69 of file BasicFillPropertyItem.cpp.
References fillChanged(), m_color, m_fill, m_opacityProperty, m_update, te::se::Fill::setOpacity(), and updateUi().
|
virtualslot |
Definition at line 92 of file BasicFillPropertyItem.cpp.
References fillChanged(), m_color, m_colorProperty, m_fill, m_update, te::se::Fill::setColor(), te::se::Fill::setOpacity(), and updateUi().
|
virtualslotinherited |
Definition at line 108 of file AbstractPropertyItem.cpp.
|
virtualslotinherited |
Definition at line 113 of file AbstractPropertyItem.cpp.
|
virtualslotinherited |
Definition at line 118 of file AbstractPropertyItem.cpp.
|
virtualslotinherited |
Definition at line 123 of file AbstractPropertyItem.cpp.
|
protected |
Definition at line 97 of file BasicFillPropertyItem.h.
Referenced by valueChanged().
|
protectedinherited |
Definition at line 97 of file AbstractPropertyItem.h.
Referenced by te::qt::widgets::AbstractPropertyItem::addProperty().
|
protected |
Definition at line 94 of file BasicFillPropertyItem.h.
Referenced by BasicFillPropertyItem(), updateUi(), and valueChanged().
|
protected |
Fill element that will be configured by this widget.
Definition at line 99 of file BasicFillPropertyItem.h.
Referenced by getFill(), setFill(), updateUi(), valueChanged(), and ~BasicFillPropertyItem().
|
protectedinherited |
Definition at line 95 of file AbstractPropertyItem.h.
Referenced by te::qt::widgets::AbstractPropertyItem::addProperty().
|
protected |
Definition at line 95 of file BasicFillPropertyItem.h.
Referenced by BasicFillPropertyItem(), updateUi(), and valueChanged().
|
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 101 of file BasicFillPropertyItem.h.
Referenced by BasicFillPropertyItem(), and valueChanged().