A widget used to define a glyph object. More...
#include <GlyphMarkPropertyItem.h>
Public Slots | |
void | charMapSelected (const unsigned int &charCode) |
void | onFillChanged () |
void | setDlg (QWidget *parent, QtProperty *prop) |
void | showCharMapDlg () |
virtual void | valueChanged (QtProperty *p, int value) |
virtual void | valueChanged (QtProperty *p, double value) |
virtual void | valueChanged (QtProperty *p, const QColor &value) |
virtual void | valueChanged (QtProperty *p, const QSize &value) |
virtual void | valueChanged (QtProperty *p, const QPointF &value) |
virtual void | valueChanged (QtProperty *p, const QFont &value) |
virtual void | valueChanged (QtProperty *p, const QString &value) |
Signals | |
void | markChanged () |
Public Member Functions | |
te::se::Mark * | getMark () const |
Gets the configured mark element. More... | |
void | setMark (const te::se::Mark *mark) |
Sets a mark element to this widget. More... | |
Initializer Methods | |
Methods related to instantiation and destruction. | |
GlyphMarkPropertyItem (QtTreePropertyBrowser *pb, QColor c=QColor()) | |
Constructor. More... | |
~GlyphMarkPropertyItem () | |
Destructor. More... | |
Protected Member Functions | |
void | addProperty (QtProperty *property, const QString &id, QColor c) |
void | setExpandedStatus (QtBrowserItem *item, bool status) |
void | updateMarkName () |
Updates the mark well-known name enconding selected font and selected character. More... | |
void | updateUi () |
Updates the widget form based on internal mark element. More... | |
Protected Attributes | |
te::qt::widgets::BasicFillPropertyItem * | m_basicFill |
QWidget * | m_charDlg |
QtProperty * | m_charProperty |
QColor | m_colorParent |
QtProperty * | m_fontProperty |
QMap< QString, QtProperty * > | m_idToProperty |
te::se::Mark * | m_mark |
Mark element that will be configured by this widget. More... | |
QtTreePropertyBrowser * | m_propertyBrowser |
QMap< QtProperty *, QString > | m_propertyToId |
bool | m_update |
A widget used to define a glyph object.
Definition at line 54 of file GlyphMarkPropertyItem.h.
te::qt::widgets::GlyphMarkPropertyItem::GlyphMarkPropertyItem | ( | QtTreePropertyBrowser * | pb, |
QColor | c = QColor() |
||
) |
Constructor.
Definition at line 49 of file GlyphMarkPropertyItem.cpp.
References te::qt::widgets::AbstractPropertyItem::addProperty(), te::qt::widgets::BasicFillPropertyItem::getFill(), te::common::Singleton< AbstractPropertyManager >::getInstance(), m_basicFill, m_charProperty, m_fontProperty, m_mark, onFillChanged(), setDlg(), te::se::Mark::setFill(), and updateMarkName().
te::qt::widgets::GlyphMarkPropertyItem::~GlyphMarkPropertyItem | ( | ) |
Destructor.
Definition at line 75 of file GlyphMarkPropertyItem.cpp.
|
protectedinherited |
Definition at line 53 of file AbstractPropertyItem.cpp.
Referenced by te::qt::widgets::BasicFillPropertyItem::BasicFillPropertyItem(), te::qt::widgets::BasicStrokePropertyItem::BasicStrokePropertyItem(), GlyphMarkPropertyItem(), te::qt::widgets::GraphicPropertyItem::GraphicPropertyItem(), te::qt::widgets::LayerPropertiesInfo::LayerPropertiesInfo(), te::qt::widgets::LocalImagePropertyItem::LocalImagePropertyItem(), and te::qt::widgets::WellKnownMarkPropertyItem::WellKnownMarkPropertyItem().
|
slot |
Definition at line 213 of file GlyphMarkPropertyItem.cpp.
References te::common::Singleton< AbstractPropertyManager >::getInstance(), and te::qt::widgets::AbstractPropertyManager::m_strDlgManager.
te::se::Mark * te::qt::widgets::GlyphMarkPropertyItem::getMark | ( | ) | const |
Gets the configured mark element.
Definition at line 90 of file GlyphMarkPropertyItem.cpp.
References te::se::Mark::clone().
|
signal |
|
slot |
Definition at line 223 of file GlyphMarkPropertyItem.cpp.
Referenced by GlyphMarkPropertyItem().
|
slot |
Definition at line 156 of file GlyphMarkPropertyItem.cpp.
Referenced by GlyphMarkPropertyItem().
|
protectedinherited |
Definition at line 70 of file AbstractPropertyItem.cpp.
void te::qt::widgets::GlyphMarkPropertyItem::setMark | ( | const te::se::Mark * | mark | ) |
Sets a mark element to this widget.
mark | A valid mark element. |
Definition at line 79 of file GlyphMarkPropertyItem.cpp.
References te::se::Mark::clone().
|
slot |
Definition at line 166 of file GlyphMarkPropertyItem.cpp.
References te::common::Singleton< AbstractPropertyManager >::getInstance(), and te::qt::widgets::AbstractPropertyManager::m_fontManager.
|
protected |
Updates the mark well-known name enconding selected font and selected character.
Definition at line 130 of file GlyphMarkPropertyItem.cpp.
References te::qt::widgets::GlyphMarkRenderer::encode(), te::common::Singleton< AbstractPropertyManager >::getInstance(), te::qt::widgets::AbstractPropertyManager::m_fontManager, and te::qt::widgets::AbstractPropertyManager::m_strDlgManager.
Referenced by GlyphMarkPropertyItem().
|
protected |
Updates the widget form based on internal mark element.
Definition at line 95 of file GlyphMarkPropertyItem.cpp.
References te::qt::widgets::GlyphMarkRenderer::decode(), te::common::Singleton< AbstractPropertyManager >::getInstance(), te::qt::widgets::AbstractPropertyManager::m_fontManager, and te::qt::widgets::AbstractPropertyManager::m_strDlgManager.
|
virtualslotinherited |
Definition at line 82 of file AbstractPropertyItem.cpp.
Referenced by te::qt::widgets::AbstractPropertyItem::AbstractPropertyItem().
|
virtualslotinherited |
Definition at line 86 of file AbstractPropertyItem.cpp.
|
virtualslotinherited |
Definition at line 94 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 144 of file GlyphMarkPropertyItem.cpp.
|
virtualslot |
Definition at line 150 of file GlyphMarkPropertyItem.cpp.
|
protected |
Definition at line 125 of file GlyphMarkPropertyItem.h.
Referenced by GlyphMarkPropertyItem().
|
protected |
Definition at line 123 of file GlyphMarkPropertyItem.h.
|
protected |
Definition at line 121 of file GlyphMarkPropertyItem.h.
Referenced by GlyphMarkPropertyItem().
|
protectedinherited |
Definition at line 95 of file AbstractPropertyItem.h.
|
protected |
Definition at line 120 of file GlyphMarkPropertyItem.h.
Referenced by GlyphMarkPropertyItem().
|
protectedinherited |
Definition at line 93 of file AbstractPropertyItem.h.
|
protected |
Mark element that will be configured by this widget.
Definition at line 127 of file GlyphMarkPropertyItem.h.
Referenced by GlyphMarkPropertyItem().
|
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 129 of file GlyphMarkPropertyItem.h.