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

◆ TextPropertyItem()

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

Constructor.

◆ ~TextPropertyItem()

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

Destructor.

Member Function Documentation

◆ addProperty()

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

◆ getTextSymbolizer()

te::se::TextSymbolizer* te::qt::widgets::TextPropertyItem::getTextSymbolizer ( ) const

◆ onFillChanged

void te::qt::widgets::TextPropertyItem::onFillChanged ( )
slot

◆ setExpandedStatus()

void te::qt::widgets::AbstractPropertyItem::setExpandedStatus ( QtBrowserItem *  item,
bool  status 
)
protectedinherited

◆ setLabels()

void te::qt::widgets::TextPropertyItem::setLabels ( std::vector< std::string >  labels)

◆ setTextSymbolizer()

void te::qt::widgets::TextPropertyItem::setTextSymbolizer ( const te::se::TextSymbolizer ts)

◆ textChanged

void te::qt::widgets::TextPropertyItem::textChanged ( )
signal

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

◆ updateUi()

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

Updates the widget form based on internal fill element.

◆ valueChanged [1/9]

virtual void te::qt::widgets::AbstractPropertyItem::valueChanged ( QtProperty *  p,
double  value 
)
virtualslotinherited

◆ valueChanged [2/9]

virtual void te::qt::widgets::AbstractPropertyItem::valueChanged ( QtProperty *  p,
bool  value 
)
virtualslotinherited

◆ valueChanged [3/9]

virtual void te::qt::widgets::AbstractPropertyItem::valueChanged ( QtProperty *  p,
const QString &  value 
)
virtualslotinherited

◆ valueChanged [4/9]

virtual void te::qt::widgets::AbstractPropertyItem::valueChanged ( QtProperty *  p,
const QColor &  value 
)
virtualslotinherited

◆ valueChanged [5/9]

virtual void te::qt::widgets::AbstractPropertyItem::valueChanged ( QtProperty *  p,
const QSize &  value 
)
virtualslotinherited

◆ valueChanged [6/9]

virtual void te::qt::widgets::AbstractPropertyItem::valueChanged ( QtProperty *  p,
const QSizeF &  value 
)
virtualslotinherited

◆ valueChanged [7/9]

virtual void te::qt::widgets::AbstractPropertyItem::valueChanged ( QtProperty *  p,
const QPointF &  value 
)
virtualslotinherited

◆ valueChanged [8/9]

virtual void te::qt::widgets::TextPropertyItem::valueChanged ( QtProperty *  p,
int  value 
)
virtualslot

◆ valueChanged [9/9]

virtual void te::qt::widgets::TextPropertyItem::valueChanged ( QtProperty *  p,
const QFont &  value 
)
virtualslot

Member Data Documentation

◆ m_bf

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

Definition at line 102 of file TextPropertyItem.h.

◆ m_colorParent

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

Definition at line 97 of file AbstractPropertyItem.h.

◆ m_fontProperty

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

Definition at line 105 of file TextPropertyItem.h.

◆ m_idToProperty

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

Definition at line 95 of file AbstractPropertyItem.h.

◆ m_labelProperty

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

Definition at line 104 of file TextPropertyItem.h.

◆ m_labels

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

Definition at line 109 of file TextPropertyItem.h.

◆ m_propertyBrowser

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

Definition at line 92 of file AbstractPropertyItem.h.

◆ m_propertyToId

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

Definition at line 94 of file AbstractPropertyItem.h.

◆ m_textSymbolizer

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.

◆ m_update

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: