A widget used to define the general properties of a se object. More...
#include <GraphicPropertyItem.h>
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 | |
AbstractGraphicWidget methods. | |
| bool | setGraphic (const te::se::Graphic *graphic) |
| te::se::Graphic * | getGraphic () 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::Graphic * | m_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... | |
A widget used to define the general properties of a se object.
Definition at line 52 of file GraphicPropertyItem.h.
| te::qt::widgets::GraphicPropertyItem::GraphicPropertyItem | ( | QtTreePropertyBrowser * | pb, |
| QColor | c = QColor() |
||
| ) |
Constructor.
Definition at line 41 of file GraphicPropertyItem.cpp.
References te::qt::widgets::AbstractPropertyItem::addProperty(), te::common::Singleton< AbstractPropertyManager >::getInstance(), m_angleProperty, m_opacityProperty, and m_sizeProperty.
| te::qt::widgets::GraphicPropertyItem::~GraphicPropertyItem | ( | ) |
Destructor.
Definition at line 88 of file GraphicPropertyItem.cpp.
|
protectedinherited |
Definition at line 53 of file AbstractPropertyItem.cpp.
Referenced by te::qt::widgets::BasicFillPropertyItem::BasicFillPropertyItem(), te::qt::widgets::BasicStrokePropertyItem::BasicStrokePropertyItem(), te::qt::widgets::GlyphMarkPropertyItem::GlyphMarkPropertyItem(), GraphicPropertyItem(), te::qt::widgets::LayerPropertiesInfo::LayerPropertiesInfo(), te::qt::widgets::LocalImagePropertyItem::LocalImagePropertyItem(), and te::qt::widgets::WellKnownMarkPropertyItem::WellKnownMarkPropertyItem().
| te::se::Graphic * te::qt::widgets::GraphicPropertyItem::getGraphic | ( | ) | const |
Definition at line 109 of file GraphicPropertyItem.cpp.
References te::se::Graphic::clone().
|
signal |
This signal is emitted when the internal graphic element is changed.
|
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().
|
private |
Updates the widget form based on internal graphic element.
Definition at line 176 of file GraphicPropertyItem.cpp.
References te::se::GetDouble(), te::common::Singleton< AbstractPropertyManager >::getInstance(), te::qt::widgets::AbstractPropertyManager::m_doubleManager, and te::qt::widgets::AbstractPropertyManager::m_intSliderManager.
|
virtualslotinherited |
Definition at line 90 of file AbstractPropertyItem.cpp.
|
virtualslotinherited |
Definition at line 94 of file AbstractPropertyItem.cpp.
|
virtualslotinherited |
Definition at line 98 of file AbstractPropertyItem.cpp.
|
virtualslotinherited |
Definition at line 102 of file AbstractPropertyItem.cpp.
|
virtualslot |
Definition at line 114 of file GraphicPropertyItem.cpp.
|
virtualslot |
Definition at line 127 of file GraphicPropertyItem.cpp.
|
virtualslot |
Definition at line 147 of file GraphicPropertyItem.cpp.
|
protected |
Definition at line 102 of file GraphicPropertyItem.h.
Referenced by GraphicPropertyItem().
|
protectedinherited |
Definition at line 95 of file AbstractPropertyItem.h.
|
protected |
Definition at line 109 of file GraphicPropertyItem.h.
|
protectedinherited |
Definition at line 93 of file AbstractPropertyItem.h.
|
protected |
Definition at line 103 of file GraphicPropertyItem.h.
Referenced by GraphicPropertyItem().
|
protectedinherited |
Definition at line 90 of file AbstractPropertyItem.h.
Referenced by te::qt::widgets::AbstractPropertyItem::AbstractPropertyItem(), and te::qt::widgets::WellKnownMarkPropertyItem::WellKnownMarkPropertyItem().
|
protectedinherited |
Definition at line 92 of file AbstractPropertyItem.h.
|
protected |
Definition at line 107 of file GraphicPropertyItem.h.
|
protected |
Definition at line 101 of file GraphicPropertyItem.h.
Referenced by GraphicPropertyItem().