#include <BasicStrokePropertyItem.h>
Public Slots | |
void | valueChanged (QtProperty *p, const QVariant &qVariant) override |
virtual void | valueChanged (QtProperty *p, int value) |
virtual void | valueChanged (QtProperty *p, double value) |
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, const QSizeF &value) |
virtual void | valueChanged (QtProperty *p, const QPointF &value) |
Public Member Functions | |
void | addListenerToProperty (QtProperty *p) |
void | addProperty (QtProperty *qProperty, const QColor &qColor) |
void | addSubProperty (QtProperty *qPropertyParent, QtProperty *qProperty, const QColor &qColor) |
QtProperty * | getItemProperty () const |
te::se::Stroke * | getStroke () const |
Gets the configured stroke element. More... | |
bool | propertyHasListener (QtProperty *p) |
void | setChildrenEnabled (bool enabled) |
void | setExpandedStatus (QtBrowserItem *item, bool status, bool applyToChildren) |
void | setExpandedStatus (bool status, bool applyToChildren) |
void | setPropertyColor (QtProperty *property, QColor c) |
void | setStroke (const te::se::Stroke *stroke) |
Sets a stroke element to this widget. More... | |
Initializer Methods | |
Methods related to instantiation and destruction. | |
BasicStrokePropertyItem (QtProperty *parent, QtTreePropertyBrowser *pb, StylePropertyItemListener *listener, QColor c=QColor()) | |
Constructor. More... | |
~BasicStrokePropertyItem () | |
Destructor. More... | |
Static Public Member Functions | |
static QString | getValueFromEnumProperty (QtProperty *enumPropertyItem) |
static void | setValueToEnumProperty (QtProperty *enumPropertyItem, const QString &value) |
Protected Member Functions | |
QMap< int, QIcon > | getCapIcons () |
QStringList | getCapNames () |
QMap< int, QIcon > | getDashIcons () |
QStringList | getDashIconsNames () |
QMap< int, QIcon > | getJoinIcons () |
QStringList | getJoinNames () |
void | init (QtProperty *property) |
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_dashOffsetProperty |
QtProperty * | m_dashProperty |
bool | m_enableListeners |
QtProperty * | m_itemProperty |
std::map< int, std::string > | m_joinMap |
QtProperty * | m_joinProperty |
StylePropertyItemListener * | m_listener |
QtProperty * | m_opacityProperty |
QtTreePropertyBrowser * | m_propertyBrowser |
std::vector< QtProperty * > | m_vecProperties |
QtProperty * | m_widthProperty |
Initializer Methods | |
bool | isChecked () const |
void | setChecked (bool checked) |
virtual void | valueChanged (QtProperty *p, bool value) |
void | checkedStateChanged (CheckboxStylePropertyItem *stylePropertyItem) |
Definition at line 58 of file BasicStrokePropertyItem.h.
te::qt::widgets::BasicStrokePropertyItem::BasicStrokePropertyItem | ( | QtProperty * | parent, |
QtTreePropertyBrowser * | pb, | ||
StylePropertyItemListener * | listener, | ||
QColor | c = QColor() |
||
) |
Constructor.
te::qt::widgets::BasicStrokePropertyItem::~BasicStrokePropertyItem | ( | ) |
Destructor.
|
inherited |
|
inherited |
|
inherited |
|
signalinherited |
|
protected |
|
protected |
|
protected |
|
protected |
|
inherited |
|
protected |
|
protected |
te::se::Stroke* te::qt::widgets::BasicStrokePropertyItem::getStroke | ( | ) | const |
Gets the configured stroke element.
|
staticinherited |
|
protectedinherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
void te::qt::widgets::BasicStrokePropertyItem::setStroke | ( | const te::se::Stroke * | stroke | ) |
Sets a stroke element to this widget.
stroke | A valid stroke element. |
|
staticinherited |
|
virtualslotinherited |
|
overrideslot |
|
virtualslotinherited |
|
virtualslotinherited |
|
virtualslotinherited |
|
virtualslotinherited |
|
virtualslotinherited |
|
virtualslotinherited |
|
virtualslotinherited |
|
virtualslotinherited |
|
protected |
Definition at line 126 of file BasicStrokePropertyItem.h.
|
protected |
Definition at line 118 of file BasicStrokePropertyItem.h.
|
protected |
Auxiliary color attribute.
Definition at line 122 of file BasicStrokePropertyItem.h.
|
protectedinherited |
Definition at line 123 of file AbstractPropertyItem.h.
|
protected |
Definition at line 114 of file BasicStrokePropertyItem.h.
|
protected |
Predefined dash styles. TODO: it can be filled out, based on a file, etc (?)
Definition at line 124 of file BasicStrokePropertyItem.h.
|
protected |
Definition at line 120 of file BasicStrokePropertyItem.h.
|
protected |
Definition at line 119 of file BasicStrokePropertyItem.h.
|
protectedinherited |
Definition at line 124 of file AbstractPropertyItem.h.
|
protectedinherited |
Definition at line 125 of file AbstractPropertyItem.h.
|
protected |
Definition at line 125 of file BasicStrokePropertyItem.h.
|
protected |
Definition at line 117 of file BasicStrokePropertyItem.h.
|
protectedinherited |
Definition at line 90 of file StylePropertyItem.h.
|
protected |
Definition at line 115 of file BasicStrokePropertyItem.h.
|
protectedinherited |
Definition at line 121 of file AbstractPropertyItem.h.
|
protectedinherited |
Definition at line 91 of file StylePropertyItem.h.
|
protected |
Definition at line 116 of file BasicStrokePropertyItem.h.