A widget used to define a local image graphic for a se symbolizer. More...
#include <LocalImagePropertyItem.h>
Public Slots | |
void | setDlg (QWidget *parent, QtProperty *prop) |
void | showImgDlg () |
virtual void | valueChanged (QtProperty *p, int value) |
virtual void | valueChanged (QtProperty *p, double value) |
virtual void | valueChanged (QtProperty *p, const QColor &value) |
virtual void | valueChanged (QtProperty *p, const QFont &value) |
virtual void | valueChanged (QtProperty *p, const QSize &value) |
virtual void | valueChanged (QtProperty *p, const QPointF &value) |
virtual void | valueChanged (QtProperty *p, const QString &value) |
Signals | |
void | externalGraphicChanged () |
This signal is emitted when the internal external graphic element is changed. More... | |
Public Member Functions | |
te::se::ExternalGraphic * | getExternalGraphic () const |
Gets the configured mark element. More... | |
void | setExternalGraphic (const te::se::ExternalGraphic *eg) |
Sets a mark element to this widget. More... | |
Initializer Methods | |
Methods related to instantiation and destruction. | |
LocalImagePropertyItem (QtTreePropertyBrowser *pb, QColor c=QColor()) | |
Constructor. More... | |
~LocalImagePropertyItem () | |
Destructor. More... | |
Protected Member Functions | |
void | addProperty (QtProperty *property, const QString &id, QColor c) |
void | setExpandedStatus (QtBrowserItem *item, bool status) |
void | updateUi () |
Updates the widget form based on internal mark element. More... | |
Protected Attributes | |
QColor | m_colorParent |
QWidget * | m_dlg |
te::se::ExternalGraphic * | m_eg |
Mark element that will be configured by this widget. More... | |
QMap< QString, QtProperty * > | m_idToProperty |
QtProperty * | m_imgProperty |
QtTreePropertyBrowser * | m_propertyBrowser |
QMap< QtProperty *, QString > | m_propertyToId |
bool | m_update |
A widget used to define a local image graphic for a se symbolizer.
Definition at line 52 of file LocalImagePropertyItem.h.
te::qt::widgets::LocalImagePropertyItem::LocalImagePropertyItem | ( | QtTreePropertyBrowser * | pb, |
QColor | c = QColor() |
||
) |
Constructor.
Definition at line 51 of file LocalImagePropertyItem.cpp.
References te::qt::widgets::AbstractPropertyItem::addProperty(), te::common::Singleton< AbstractPropertyManager >::getInstance(), m_imgProperty, and setDlg().
te::qt::widgets::LocalImagePropertyItem::~LocalImagePropertyItem | ( | ) |
Destructor.
Definition at line 66 of file LocalImagePropertyItem.cpp.
|
protectedinherited |
Definition at line 53 of file AbstractPropertyItem.cpp.
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::LayerPropertiesInfo::LayerPropertiesInfo(), LocalImagePropertyItem(), and te::qt::widgets::WellKnownMarkPropertyItem::WellKnownMarkPropertyItem().
|
signal |
This signal is emitted when the internal external graphic element is changed.
size | The size of selected image. |
te::se::ExternalGraphic * te::qt::widgets::LocalImagePropertyItem::getExternalGraphic | ( | ) | const |
Gets the configured mark element.
Definition at line 81 of file LocalImagePropertyItem.cpp.
References te::se::ExternalGraphic::clone().
|
slot |
Definition at line 101 of file LocalImagePropertyItem.cpp.
Referenced by LocalImagePropertyItem().
|
protectedinherited |
Definition at line 70 of file AbstractPropertyItem.cpp.
void te::qt::widgets::LocalImagePropertyItem::setExternalGraphic | ( | const te::se::ExternalGraphic * | eg | ) |
Sets a mark element to this widget.
mark | A valid mark element. |
Definition at line 70 of file LocalImagePropertyItem.cpp.
References te::se::ExternalGraphic::clone().
|
slot |
Definition at line 111 of file LocalImagePropertyItem.cpp.
References te::xl::SimpleLink::setHref().
|
protected |
Updates the widget form based on internal mark element.
Definition at line 86 of file LocalImagePropertyItem.cpp.
References te::xl::SimpleLink::getHref(), te::common::Singleton< AbstractPropertyManager >::getInstance(), and te::qt::widgets::AbstractPropertyManager::m_strDlgManager.
|
virtualslotinherited |
Definition at line 82 of file AbstractPropertyItem.cpp.
Referenced by te::qt::widgets::AbstractPropertyItem::AbstractPropertyItem().
|
virtualslotinherited |
Definition at line 86 of file AbstractPropertyItem.cpp.
|
virtualslotinherited |
Definition at line 94 of file AbstractPropertyItem.cpp.
|
virtualslotinherited |
Definition at line 98 of file AbstractPropertyItem.cpp.
|
virtualslotinherited |
Definition at line 102 of file AbstractPropertyItem.cpp.
|
virtualslotinherited |
Definition at line 106 of file AbstractPropertyItem.cpp.
|
virtualslot |
Definition at line 96 of file LocalImagePropertyItem.cpp.
|
protectedinherited |
Definition at line 95 of file AbstractPropertyItem.h.
|
protected |
Definition at line 117 of file LocalImagePropertyItem.h.
|
protected |
Mark element that will be configured by this widget.
Definition at line 119 of file LocalImagePropertyItem.h.
|
protectedinherited |
Definition at line 93 of file AbstractPropertyItem.h.
|
protected |
Definition at line 115 of file LocalImagePropertyItem.h.
Referenced by LocalImagePropertyItem().
|
protectedinherited |
Definition at line 90 of file AbstractPropertyItem.h.
Referenced by te::qt::widgets::AbstractPropertyItem::AbstractPropertyItem(), and te::qt::widgets::WellKnownMarkPropertyItem::WellKnownMarkPropertyItem().
|
protectedinherited |
Definition at line 92 of file AbstractPropertyItem.h.
|
protected |
Definition at line 121 of file LocalImagePropertyItem.h.