A widget used to define the basic fill se object. More...
#include <BasicFillPropertyItem.h>
  
 Public Slots | |
| virtual void | valueChanged (QtProperty *p, double value) | 
| virtual void | valueChanged (QtProperty *p, const QString &value) | 
| virtual void | valueChanged (QtProperty *p, const QFont &value) | 
| virtual void | valueChanged (QtProperty *p, const QSize &value) | 
| virtual void | valueChanged (QtProperty *p, const QPointF &value) | 
Public Member Functions | |
Initializer Methods  | |
Methods related to instantiation and destruction.  | |
| BasicFillPropertyItem (QtTreePropertyBrowser *pb, QColor c=QColor()) | |
| Constructor.  More... | |
| ~BasicFillPropertyItem () | |
| 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.  | |
| QtProperty * | m_colorProperty | 
| QtProperty * | m_opacityProperty | 
| QColor | m_color | 
| te::se::Fill * | m_fill | 
| Fill element that will be configured by this widget.  More... | |
| bool | m_update | 
| bool | setFill (const te::se::Fill *fill) | 
| te::se::Fill * | getFill () const | 
| void | updateUi () | 
| Updates the widget form based on internal fill element.  More... | |
| void | updateUiFillColor () | 
| Updates the widget form element used to visualize the fill color.  More... | |
| virtual void | valueChanged (QtProperty *p, int value) | 
| virtual void | valueChanged (QtProperty *p, const QColor &value) | 
| void | fillChanged () | 
A widget used to define the basic fill se object.
Definition at line 52 of file BasicFillPropertyItem.h.
| te::qt::widgets::BasicFillPropertyItem::BasicFillPropertyItem | ( | QtTreePropertyBrowser * | pb, | 
| QColor | c = QColor()  | 
        ||
| ) | 
Constructor.
Definition at line 38 of file BasicFillPropertyItem.cpp.
References te::qt::widgets::AbstractPropertyItem::addProperty(), te::common::Singleton< AbstractPropertyManager >::getInstance(), m_colorProperty, m_opacityProperty, m_update, and TE_SE_DEFAULT_FILL_BASIC_COLOR.
| te::qt::widgets::BasicFillPropertyItem::~BasicFillPropertyItem | ( | ) | 
Destructor.
Definition at line 62 of file BasicFillPropertyItem.cpp.
      
  | 
  protectedinherited | 
Definition at line 53 of file AbstractPropertyItem.cpp.
Referenced by BasicFillPropertyItem(), te::qt::widgets::BasicStrokePropertyItem::BasicStrokePropertyItem(), te::qt::widgets::GlyphMarkPropertyItem::GlyphMarkPropertyItem(), te::qt::widgets::GraphicPropertyItem::GraphicPropertyItem(), te::qt::widgets::LayerPropertiesInfo::LayerPropertiesInfo(), te::qt::widgets::LocalImagePropertyItem::LocalImagePropertyItem(), and te::qt::widgets::WellKnownMarkPropertyItem::WellKnownMarkPropertyItem().
      
  | 
  signal | 
This signal is emitted when the internal fill element is changed.
| te::se::Fill * te::qt::widgets::BasicFillPropertyItem::getFill | ( | ) | const | 
Definition at line 130 of file BasicFillPropertyItem.cpp.
References te::se::Fill::clone().
Referenced by te::qt::widgets::GlyphMarkPropertyItem::GlyphMarkPropertyItem(), and te::qt::widgets::WellKnownMarkPropertyItem::WellKnownMarkPropertyItem().
      
  | 
  protectedinherited | 
Definition at line 70 of file AbstractPropertyItem.cpp.
| bool te::qt::widgets::BasicFillPropertyItem::setFill | ( | const te::se::Fill * | fill | ) | 
Definition at line 112 of file BasicFillPropertyItem.cpp.
References te::se::Fill::clone(), and te::se::Fill::getGraphicFill().
| void te::qt::widgets::BasicFillPropertyItem::updateUi | ( | ) | 
Updates the widget form based on internal fill element.
Definition at line 135 of file BasicFillPropertyItem.cpp.
References te::color::RGBAColor::getAlpha(), te::se::GetColor(), te::common::Singleton< AbstractPropertyManager >::getInstance(), te::color::RGBAColor::getRgba(), te::qt::widgets::AbstractPropertyManager::m_colorManager, te::qt::widgets::AbstractPropertyManager::m_intSliderManager, TE_OPAQUE, and TE_SE_DEFAULT_FILL_BASIC_COLOR.
| void te::qt::widgets::BasicFillPropertyItem::updateUiFillColor | ( | ) | 
Updates the widget form element used to visualize the fill color.
Definition at line 150 of file BasicFillPropertyItem.cpp.
References te::common::Singleton< AbstractPropertyManager >::getInstance(), and te::qt::widgets::AbstractPropertyManager::m_colorManager.
      
  | 
  virtualslotinherited | 
Definition at line 86 of file AbstractPropertyItem.cpp.
      
  | 
  virtualslotinherited | 
Definition at line 90 of file AbstractPropertyItem.cpp.
      
  | 
  virtualslotinherited | 
Definition at line 98 of file AbstractPropertyItem.cpp.
      
  | 
  virtualslotinherited | 
Definition at line 102 of file AbstractPropertyItem.cpp.
      
  | 
  virtualslotinherited | 
Definition at line 106 of file AbstractPropertyItem.cpp.
      
  | 
  virtualslot | 
Definition at line 67 of file BasicFillPropertyItem.cpp.
      
  | 
  virtualslot | 
Definition at line 87 of file BasicFillPropertyItem.cpp.
References te::common::Singleton< AbstractPropertyManager >::getInstance(), and te::qt::widgets::AbstractPropertyManager::m_intSliderManager.
      
  | 
  protected | 
Definition at line 100 of file BasicFillPropertyItem.h.
      
  | 
  protectedinherited | 
Definition at line 95 of file AbstractPropertyItem.h.
      
  | 
  protected | 
Definition at line 97 of file BasicFillPropertyItem.h.
Referenced by BasicFillPropertyItem().
      
  | 
  protected | 
Fill element that will be configured by this widget.
Definition at line 102 of file BasicFillPropertyItem.h.
      
  | 
  protectedinherited | 
Definition at line 93 of file AbstractPropertyItem.h.
      
  | 
  protected | 
Definition at line 98 of file BasicFillPropertyItem.h.
Referenced by BasicFillPropertyItem().
      
  | 
  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 104 of file BasicFillPropertyItem.h.
Referenced by BasicFillPropertyItem().