All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
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, 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, 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_anchorProperty
 
QtProperty * m_angleProperty
 
QColor m_colorParent
 
QtProperty * m_displacementProperty
 
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() 
)
te::qt::widgets::GraphicPropertyItem::~GraphicPropertyItem ( )

Destructor.

Definition at line 88 of file GraphicPropertyItem.cpp.

Member Function Documentation

te::se::Graphic * te::qt::widgets::GraphicPropertyItem::getGraphic ( ) const

Definition at line 109 of file GraphicPropertyItem.cpp.

References te::se::Graphic::clone().

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

Definition at line 70 of file AbstractPropertyItem.cpp.

bool te::qt::widgets::GraphicPropertyItem::setGraphic ( const te::se::Graphic graphic)

Definition at line 92 of file GraphicPropertyItem.cpp.

References te::se::Graphic::clone().

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

Definition at line 90 of file AbstractPropertyItem.cpp.

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

Definition at line 94 of file AbstractPropertyItem.cpp.

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

Definition at line 98 of file AbstractPropertyItem.cpp.

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

Definition at line 102 of file AbstractPropertyItem.cpp.

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

Definition at line 114 of file GraphicPropertyItem.cpp.

void te::qt::widgets::GraphicPropertyItem::valueChanged ( QtProperty *  p,
double  value 
)
virtualslot

Definition at line 127 of file GraphicPropertyItem.cpp.

void te::qt::widgets::GraphicPropertyItem::valueChanged ( QtProperty *  p,
const QPointF &  value 
)
virtualslot

Definition at line 147 of file GraphicPropertyItem.cpp.

Member Data Documentation

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

Definition at line 105 of file GraphicPropertyItem.h.

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

Definition at line 102 of file GraphicPropertyItem.h.

Referenced by GraphicPropertyItem().

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

Definition at line 95 of file AbstractPropertyItem.h.

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

Definition at line 104 of file GraphicPropertyItem.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 93 of file AbstractPropertyItem.h.

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

Definition at line 103 of file GraphicPropertyItem.h.

Referenced by GraphicPropertyItem().

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

Definition at line 92 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.

Referenced by GraphicPropertyItem().


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