#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... | |
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... | |
| bool | m_update |
| QtProperty * | m_widthProperty |
Definition at line 52 of file BasicStrokePropertyItem.h.
| te::qt::widgets::BasicStrokePropertyItem::BasicStrokePropertyItem | ( | QtTreePropertyBrowser * | pb, |
| QColor | c = QColor() |
||
| ) |
Constructor.
| te::qt::widgets::BasicStrokePropertyItem::~BasicStrokePropertyItem | ( | ) |
Destructor.
|
protectedinherited |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
| te::se::Stroke* te::qt::widgets::BasicStrokePropertyItem::getStroke | ( | ) | const |
Gets the configured stroke element.
|
protectedinherited |
| void te::qt::widgets::BasicStrokePropertyItem::setStroke | ( | const te::se::Stroke * | stroke | ) |
Sets a stroke element to this widget.
| stroke | A valid stroke element. |
|
signal |
This signal is emitted when the internal stroke element is changed.
|
protected |
Updates the widget form based on internal stroke element.
|
virtualslotinherited |
|
virtualslotinherited |
|
virtualslotinherited |
|
virtualslotinherited |
|
virtualslot |
|
virtualslot |
|
virtualslot |
|
protected |
Definition at line 132 of file BasicStrokePropertyItem.h.
|
protected |
Definition at line 124 of file BasicStrokePropertyItem.h.
|
protected |
Auxiliary color attribute.
Definition at line 126 of file BasicStrokePropertyItem.h.
|
protectedinherited |
Definition at line 95 of file AbstractPropertyItem.h.
|
protected |
Definition at line 119 of file BasicStrokePropertyItem.h.
|
protected |
Predefined dash styles. TODO: it can be filled out, based on a file, etc (?)
Definition at line 130 of file BasicStrokePropertyItem.h.
|
protected |
Definition at line 122 of file BasicStrokePropertyItem.h.
|
protectedinherited |
Definition at line 93 of file AbstractPropertyItem.h.
|
protected |
Definition at line 131 of file BasicStrokePropertyItem.h.
|
protected |
Definition at line 123 of file BasicStrokePropertyItem.h.
|
protected |
Definition at line 120 of file BasicStrokePropertyItem.h.
|
protectedinherited |
Definition at line 90 of file AbstractPropertyItem.h.
|
protectedinherited |
Definition at line 92 of file AbstractPropertyItem.h.
|
protected |
Stroke element that will be configured by this widget.
Definition at line 128 of file BasicStrokePropertyItem.h.
|
protected |
Definition at line 134 of file BasicStrokePropertyItem.h.
|
protected |
Definition at line 121 of file BasicStrokePropertyItem.h.