te::qt::widgets::TextPropertyItem Class Reference

A widget used to define the text se object. More...

#include <TextPropertyItem.h>

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

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 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.

 TextPropertyItem (QtTreePropertyBrowser *pb, QColor c=QColor())
 Constructor. More...
 
 ~TextPropertyItem ()
 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.

te::qt::widgets::BasicFillPropertyItemm_bf
 
QtProperty * m_labelProperty
 
QtProperty * m_fontProperty
 
te::se::TextSymbolizerm_textSymbolizer
 Fill element that will be configured by this widget. More...
 
std::vector< std::string > m_labels
 
bool m_update
 
void setTextSymbolizer (const te::se::TextSymbolizer *ts)
 
void setLabels (std::vector< std::string > labels)
 
te::se::TextSymbolizergetTextSymbolizer () 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 QFont &value)
 
void onFillChanged ()
 
void textChanged ()
 

Detailed Description

A widget used to define the text se object.

Definition at line 55 of file TextPropertyItem.h.

Constructor & Destructor Documentation

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

Constructor.

te::qt::widgets::TextPropertyItem::~TextPropertyItem ( )

Destructor.

Member Function Documentation

void te::qt::widgets::AbstractPropertyItem::addProperty ( QtProperty *  property,
const QString &  id,
QColor  c 
)
protectedinherited
te::se::TextSymbolizer* te::qt::widgets::TextPropertyItem::getTextSymbolizer ( ) const
void te::qt::widgets::TextPropertyItem::onFillChanged ( )
slot
void te::qt::widgets::AbstractPropertyItem::setExpandedStatus ( QtBrowserItem *  item,
bool  status 
)
protectedinherited
void te::qt::widgets::TextPropertyItem::setLabels ( std::vector< std::string >  labels)
void te::qt::widgets::TextPropertyItem::setTextSymbolizer ( const te::se::TextSymbolizer ts)
void te::qt::widgets::TextPropertyItem::textChanged ( )
signal

This signal is emitted when the internal fill element is changed.

void te::qt::widgets::TextPropertyItem::updateUi ( )

Updates the widget form based on internal fill element.

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 QString &  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 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::TextPropertyItem::valueChanged ( QtProperty *  p,
int  value 
)
virtualslot
virtual void te::qt::widgets::TextPropertyItem::valueChanged ( QtProperty *  p,
const QFont &  value 
)
virtualslot

Member Data Documentation

te::qt::widgets::BasicFillPropertyItem* te::qt::widgets::TextPropertyItem::m_bf
protected

Definition at line 102 of file TextPropertyItem.h.

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

Definition at line 97 of file AbstractPropertyItem.h.

QtProperty* te::qt::widgets::TextPropertyItem::m_fontProperty
protected

Definition at line 105 of file TextPropertyItem.h.

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

Definition at line 95 of file AbstractPropertyItem.h.

QtProperty* te::qt::widgets::TextPropertyItem::m_labelProperty
protected

Definition at line 104 of file TextPropertyItem.h.

std::vector<std::string> te::qt::widgets::TextPropertyItem::m_labels
protected

Definition at line 109 of file TextPropertyItem.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.

te::se::TextSymbolizer* te::qt::widgets::TextPropertyItem::m_textSymbolizer
protected

Fill element that will be configured by this widget.

Definition at line 107 of file TextPropertyItem.h.

bool te::qt::widgets::TextPropertyItem::m_update
protected

Definition at line 111 of file TextPropertyItem.h.


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