te::qt::widgets::LocalImagePropertyItem Class Reference

A widget used to define a local image graphic for a se symbolizer. More...

#include <LocalImagePropertyItem.h>

Inheritance diagram for te::qt::widgets::LocalImagePropertyItem:
te::qt::widgets::AbstractPropertyItem

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, bool 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 QSizeF &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::ExternalGraphicgetExternalGraphic () 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::ExternalGraphicm_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
 

Detailed Description

A widget used to define a local image graphic for a se symbolizer.

Definition at line 52 of file LocalImagePropertyItem.h.

Constructor & Destructor Documentation

te::qt::widgets::LocalImagePropertyItem::LocalImagePropertyItem ( QtTreePropertyBrowser *  pb,
QColor  c = QColor() 
)

Constructor.

te::qt::widgets::LocalImagePropertyItem::~LocalImagePropertyItem ( )

Destructor.

Member Function Documentation

void te::qt::widgets::AbstractPropertyItem::addProperty ( QtProperty *  property,
const QString &  id,
QColor  c 
)
protectedinherited
void te::qt::widgets::LocalImagePropertyItem::externalGraphicChanged ( )
signal

This signal is emitted when the internal external graphic element is changed.

Parameters
sizeThe size of selected image.
te::se::ExternalGraphic* te::qt::widgets::LocalImagePropertyItem::getExternalGraphic ( ) const

Gets the configured mark element.

Returns
The configured mark element.
Note
The caller will take the ownership of the returned mark.
void te::qt::widgets::LocalImagePropertyItem::setDlg ( QWidget *  parent,
QtProperty *  prop 
)
slot
void te::qt::widgets::AbstractPropertyItem::setExpandedStatus ( QtBrowserItem *  item,
bool  status 
)
protectedinherited
void te::qt::widgets::LocalImagePropertyItem::setExternalGraphic ( const te::se::ExternalGraphic eg)

Sets a mark element to this widget.

Parameters
markA valid mark element.
Note
The widget will NOT take the ownership of the given mark.
The widget form will be update based on given mark parameters.
void te::qt::widgets::LocalImagePropertyItem::showImgDlg ( )
slot
void te::qt::widgets::LocalImagePropertyItem::updateUi ( )
protected

Updates the widget form based on internal mark element.

virtual void te::qt::widgets::AbstractPropertyItem::valueChanged ( QtProperty *  p,
int  value 
)
virtualslotinherited
virtual void te::qt::widgets::AbstractPropertyItem::valueChanged ( QtProperty *  p,
double  value 
)
virtualslotinherited
virtual void te::qt::widgets::AbstractPropertyItem::valueChanged ( QtProperty *  p,
bool  value 
)
virtualslotinherited
virtual void te::qt::widgets::AbstractPropertyItem::valueChanged ( QtProperty *  p,
const QColor &  value 
)
virtualslotinherited
virtual void te::qt::widgets::AbstractPropertyItem::valueChanged ( QtProperty *  p,
const QFont &  value 
)
virtualslotinherited
virtual void te::qt::widgets::AbstractPropertyItem::valueChanged ( QtProperty *  p,
const QSize &  value 
)
virtualslotinherited
virtual void te::qt::widgets::AbstractPropertyItem::valueChanged ( QtProperty *  p,
const QSizeF &  value 
)
virtualslotinherited
virtual void te::qt::widgets::AbstractPropertyItem::valueChanged ( QtProperty *  p,
const QPointF &  value 
)
virtualslotinherited
virtual void te::qt::widgets::LocalImagePropertyItem::valueChanged ( QtProperty *  p,
const QString &  value 
)
virtualslot

Member Data Documentation

QColor te::qt::widgets::AbstractPropertyItem::m_colorParent
protectedinherited

Definition at line 97 of file AbstractPropertyItem.h.

QWidget* te::qt::widgets::LocalImagePropertyItem::m_dlg
protected

Definition at line 117 of file LocalImagePropertyItem.h.

te::se::ExternalGraphic* te::qt::widgets::LocalImagePropertyItem::m_eg
protected

Mark element that will be configured by this widget.

Definition at line 119 of file LocalImagePropertyItem.h.

QMap<QString, QtProperty *> te::qt::widgets::AbstractPropertyItem::m_idToProperty
protectedinherited

Definition at line 95 of file AbstractPropertyItem.h.

QtProperty* te::qt::widgets::LocalImagePropertyItem::m_imgProperty
protected

Definition at line 115 of file LocalImagePropertyItem.h.

QtTreePropertyBrowser* te::qt::widgets::AbstractPropertyItem::m_propertyBrowser
protectedinherited

Definition at line 92 of file AbstractPropertyItem.h.

QMap<QtProperty *, QString> te::qt::widgets::AbstractPropertyItem::m_propertyToId
protectedinherited

Definition at line 94 of file AbstractPropertyItem.h.

bool te::qt::widgets::LocalImagePropertyItem::m_update
protected

Definition at line 121 of file LocalImagePropertyItem.h.


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