te::qt::widgets::GraphicPropertyItem Class Reference

A widget used to define the general properties of a se object. More...

#include <GraphicPropertyItem.h>

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

Public Slots

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 QFont &value)
 
virtual void valueChanged (QtProperty *p, const QSize &value)
 
virtual void valueChanged (QtProperty *p, const QSizeF &value)
 
virtual void valueChanged (QtProperty *p, int value)
 
virtual void valueChanged (QtProperty *p, double value)
 
virtual void valueChanged (QtProperty *p, const QPointF &value)
 

Signals

void graphicChanged ()
 

Public Member Functions

Initializer Methods

Methods related to instantiation and destruction.

 GraphicPropertyItem (QtTreePropertyBrowser *pb, QColor c=QColor())
 Constructor. More...
 
 ~GraphicPropertyItem ()
 Destructor. More...
 
Re-implementation of Pure Virtual Method
bool setGraphic (const te::se::Graphic *graphic)
 
te::se::GraphicgetGraphic () const
 

Protected Member Functions

void addProperty (QtProperty *property, const QString &id, QColor c)
 
void setExpandedStatus (QtBrowserItem *item, bool status)
 

Protected Attributes

QtProperty * m_angleProperty
 
QColor m_colorParent
 
te::se::Graphicm_graphic
 
QMap< QString, QtProperty * > m_idToProperty
 
QtProperty * m_opacityProperty
 
QtTreePropertyBrowser * m_propertyBrowser
 
QMap< QtProperty *, QString > m_propertyToId
 
bool m_setLocalGraphic
 
QtProperty * m_sizeProperty
 

Private Member Functions

void updateUi ()
 Updates the widget form based on internal graphic element. More...
 

Detailed Description

A widget used to define the general properties of a se object.

Definition at line 52 of file GraphicPropertyItem.h.

Constructor & Destructor Documentation

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

Constructor.

te::qt::widgets::GraphicPropertyItem::~GraphicPropertyItem ( )

Destructor.

Member Function Documentation

void te::qt::widgets::AbstractPropertyItem::addProperty ( QtProperty *  property,
const QString &  id,
QColor  c 
)
protectedinherited
te::se::Graphic* te::qt::widgets::GraphicPropertyItem::getGraphic ( ) const
void te::qt::widgets::GraphicPropertyItem::graphicChanged ( )
signal

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

void te::qt::widgets::AbstractPropertyItem::setExpandedStatus ( QtBrowserItem *  item,
bool  status 
)
protectedinherited
bool te::qt::widgets::GraphicPropertyItem::setGraphic ( const te::se::Graphic graphic)
void te::qt::widgets::GraphicPropertyItem::updateUi ( )
private

Updates the widget form based on internal graphic element.

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

Member Data Documentation

QtProperty* te::qt::widgets::GraphicPropertyItem::m_angleProperty
protected

Definition at line 102 of file GraphicPropertyItem.h.

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

Definition at line 97 of file AbstractPropertyItem.h.

te::se::Graphic* te::qt::widgets::GraphicPropertyItem::m_graphic
protected

Definition at line 109 of file GraphicPropertyItem.h.

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

Definition at line 95 of file AbstractPropertyItem.h.

QtProperty* te::qt::widgets::GraphicPropertyItem::m_opacityProperty
protected

Definition at line 103 of file GraphicPropertyItem.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::GraphicPropertyItem::m_setLocalGraphic
protected

Definition at line 107 of file GraphicPropertyItem.h.

QtProperty* te::qt::widgets::GraphicPropertyItem::m_sizeProperty
protected

Definition at line 101 of file GraphicPropertyItem.h.


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