#include <BasicStrokePropertyItem.h>
  
 Public Slots | |
| 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) | 
| virtual void | valueChanged (QtProperty *p, int value) | 
| virtual void | valueChanged (QtProperty *p, double value) | 
| virtual void | valueChanged (QtProperty *p, const QColor &value) | 
Signals | |
| void | strokeChanged () | 
Public Member Functions | |
| te::se::Stroke * | getStroke () const | 
| Gets the configured stroke element.  More... | |
| void | setStroke (const te::se::Stroke *stroke) | 
| Sets a stroke element to this widget.  More... | |
Initializer Methods  | |
Methods related to instantiation and destruction.  | |
| BasicStrokePropertyItem (QtTreePropertyBrowser *pb, QColor c=QColor()) | |
| Constructor.  More... | |
| ~BasicStrokePropertyItem () | |
| Destructor.  More... | |
Protected Member Functions | |
| void | addProperty (QtProperty *property, const QString &id, QColor c) | 
| QMap< int, QIcon > | getCapIcons () | 
| QStringList | getCapNames () | 
| QMap< int, QIcon > | getDashIcons () | 
| QStringList | getDashIconsNames () | 
| QMap< int, QIcon > | getJoinIcons () | 
| QStringList | getJoinNames () | 
| void | setExpandedStatus (QtBrowserItem *item, bool status) | 
| void | updateUi () | 
| Updates the widget form based on internal stroke element.  More... | |
| void | updateUiStrokeColor () | 
| Updates the widget form element used to visualize the stroke color.  More... | |
Protected Attributes | |
| std::map< int, std::string > | m_capMap | 
| QtProperty * | m_capProperty | 
| QColor | m_color | 
| Auxiliary color attribute.  More... | |
| QColor | m_colorParent | 
| QtProperty * | m_colorProperty | 
| std::vector< std::string > | m_dashes | 
| Predefined dash styles. TODO: it can be filled out, based on a file, etc (?)  More... | |
| QtProperty * | m_dashProperty | 
| QMap< QString, QtProperty * > | m_idToProperty | 
| std::map< int, std::string > | m_joinMap | 
| QtProperty * | m_joinProperty | 
| QtProperty * | m_opacityProperty | 
| QtTreePropertyBrowser * | m_propertyBrowser | 
| QMap< QtProperty *, QString > | m_propertyToId | 
| te::se::Stroke * | m_stroke | 
| Stroke element that will be configured by this widget.  More... | |
| QtProperty * | m_widthProperty | 
Definition at line 52 of file BasicStrokePropertyItem.h.
| te::qt::widgets::BasicStrokePropertyItem::BasicStrokePropertyItem | ( | QtTreePropertyBrowser * | pb, | 
| QColor | c = QColor()  | 
        ||
| ) | 
Constructor.
Definition at line 44 of file BasicStrokePropertyItem.cpp.
References te::qt::widgets::AbstractPropertyItem::addProperty(), getCapIcons(), getCapNames(), getDashIcons(), getDashIconsNames(), te::common::Singleton< AbstractPropertyManager >::getInstance(), getJoinIcons(), getJoinNames(), m_capProperty, m_colorProperty, m_dashProperty, m_joinProperty, m_opacityProperty, m_widthProperty, and TE_SE_DEFAULT_FILL_BASIC_COLOR.
| te::qt::widgets::BasicStrokePropertyItem::~BasicStrokePropertyItem | ( | ) | 
Destructor.
Definition at line 93 of file BasicStrokePropertyItem.cpp.
      
  | 
  protectedinherited | 
Definition at line 53 of file AbstractPropertyItem.cpp.
Referenced by te::qt::widgets::BasicFillPropertyItem::BasicFillPropertyItem(), 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().
      
  | 
  protected | 
Definition at line 315 of file BasicStrokePropertyItem.cpp.
Referenced by BasicStrokePropertyItem().
      
  | 
  protected | 
Definition at line 359 of file BasicStrokePropertyItem.cpp.
References TE_SE_BUTT_CAP, TE_SE_ROUND_CAP, and TE_SE_SQUARE_CAP.
Referenced by BasicStrokePropertyItem().
      
  | 
  protected | 
Definition at line 265 of file BasicStrokePropertyItem.cpp.
References te::map::GetDashStyle().
Referenced by BasicStrokePropertyItem().
      
  | 
  protected | 
Definition at line 326 of file BasicStrokePropertyItem.cpp.
Referenced by BasicStrokePropertyItem().
      
  | 
  protected | 
Definition at line 304 of file BasicStrokePropertyItem.cpp.
Referenced by BasicStrokePropertyItem().
      
  | 
  protected | 
Definition at line 344 of file BasicStrokePropertyItem.cpp.
References TE_SE_BEVEL_JOIN, TE_SE_MITRE_JOIN, and TE_SE_ROUND_JOIN.
Referenced by BasicStrokePropertyItem().
| te::se::Stroke * te::qt::widgets::BasicStrokePropertyItem::getStroke | ( | ) | const | 
Gets the configured stroke element.
Definition at line 109 of file BasicStrokePropertyItem.cpp.
References te::se::Stroke::clone().
Referenced by te::qt::widgets::WellKnownMarkPropertyItem::WellKnownMarkPropertyItem().
      
  | 
  protectedinherited | 
Definition at line 70 of file AbstractPropertyItem.cpp.
| void te::qt::widgets::BasicStrokePropertyItem::setStroke | ( | const te::se::Stroke * | stroke | ) | 
Sets a stroke element to this widget.
| stroke | A valid stroke element. | 
Definition at line 98 of file BasicStrokePropertyItem.cpp.
References te::se::Stroke::clone().
      
  | 
  signal | 
This signal is emitted when the internal stroke element is changed.
      
  | 
  protected | 
Updates the widget form based on internal stroke element.
Definition at line 114 of file BasicStrokePropertyItem.cpp.
References te::color::RGBAColor::getAlpha(), te::map::GetColor(), te::map::GetDouble(), te::common::Singleton< AbstractPropertyManager >::getInstance(), te::color::RGBAColor::getRgba(), te::map::GetString(), te::qt::widgets::AbstractPropertyManager::m_doubleManager, te::qt::widgets::AbstractPropertyManager::m_enumManager, te::qt::widgets::AbstractPropertyManager::m_intSliderManager, TE_OPAQUE, and TE_SE_DEFAULT_STROKE_BASIC_COLOR.
      
  | 
  protected | 
Updates the widget form element used to visualize the stroke color.
Definition at line 197 of file BasicStrokePropertyItem.cpp.
References te::common::Singleton< AbstractPropertyManager >::getInstance(), and te::qt::widgets::AbstractPropertyManager::m_colorManager.
      
  | 
  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 202 of file BasicStrokePropertyItem.cpp.
      
  | 
  virtualslot | 
Definition at line 238 of file BasicStrokePropertyItem.cpp.
      
  | 
  virtualslot | 
Definition at line 250 of file BasicStrokePropertyItem.cpp.
      
  | 
  protected | 
Definition at line 135 of file BasicStrokePropertyItem.h.
      
  | 
  protected | 
Definition at line 127 of file BasicStrokePropertyItem.h.
Referenced by BasicStrokePropertyItem().
      
  | 
  protected | 
Auxiliary color attribute.
Definition at line 129 of file BasicStrokePropertyItem.h.
      
  | 
  protectedinherited | 
Definition at line 93 of file AbstractPropertyItem.h.
      
  | 
  protected | 
Definition at line 122 of file BasicStrokePropertyItem.h.
Referenced by BasicStrokePropertyItem().
      
  | 
  protected | 
Predefined dash styles. TODO: it can be filled out, based on a file, etc (?)
Definition at line 133 of file BasicStrokePropertyItem.h.
      
  | 
  protected | 
Definition at line 125 of file BasicStrokePropertyItem.h.
Referenced by BasicStrokePropertyItem().
      
  | 
  protectedinherited | 
Definition at line 91 of file AbstractPropertyItem.h.
      
  | 
  protected | 
Definition at line 134 of file BasicStrokePropertyItem.h.
      
  | 
  protected | 
Definition at line 126 of file BasicStrokePropertyItem.h.
Referenced by BasicStrokePropertyItem().
      
  | 
  protected | 
Definition at line 123 of file BasicStrokePropertyItem.h.
Referenced by BasicStrokePropertyItem().
      
  | 
  protectedinherited | 
Definition at line 88 of file AbstractPropertyItem.h.
Referenced by te::qt::widgets::AbstractPropertyItem::AbstractPropertyItem(), and te::qt::widgets::WellKnownMarkPropertyItem::WellKnownMarkPropertyItem().
      
  | 
  protectedinherited | 
Definition at line 90 of file AbstractPropertyItem.h.
      
  | 
  protected | 
Stroke element that will be configured by this widget.
Definition at line 131 of file BasicStrokePropertyItem.h.
      
  | 
  protected | 
Definition at line 124 of file BasicStrokePropertyItem.h.
Referenced by BasicStrokePropertyItem().