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, bool value) |
| virtual void | valueChanged (QtProperty *p, const QColor &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) |
| 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(), updateMarkName(), and ~GlyphMarkPropertyItem().
|
default |
Destructor.
Referenced by GlyphMarkPropertyItem().
|
protectedinherited |
Definition at line 53 of file AbstractPropertyItem.cpp.
References te::qt::widgets::AbstractPropertyItem::m_colorParent, te::qt::widgets::AbstractPropertyItem::m_idToProperty, te::qt::widgets::AbstractPropertyItem::m_propertyBrowser, te::qt::widgets::AbstractPropertyItem::m_propertyToId, p, and te::qt::widgets::AbstractPropertyItem::setExpandedStatus().
Referenced by te::qt::widgets::BasicFillPropertyItem::BasicFillPropertyItem(), te::qt::widgets::BasicStrokePropertyItem::BasicStrokePropertyItem(), GlyphMarkPropertyItem(), te::qt::widgets::GraphicPropertyItem::GraphicPropertyItem(), te::qt::widgets::GridPropertyBrowser::GridPropertyBrowser(), te::qt::widgets::HaloPropertyItem::HaloPropertyItem(), te::qt::widgets::LayerPropertiesInfo::LayerPropertiesInfo(), te::qt::widgets::LinePlacementPropertyItem::LinePlacementPropertyItem(), te::qt::widgets::LocalImagePropertyItem::LocalImagePropertyItem(), te::qt::widgets::PointPlacementPropertyItem::PointPlacementPropertyItem(), te::qt::plugins::pgisRaster::RasterPropertiesInfo::RasterPropertiesInfo(), te::qt::widgets::ScalePropertyBrowser::ScalePropertyBrowser(), te::qt::widgets::ScalePropertyItem::ScalePropertyItem(), te::qt::widgets::LayerPropertiesInfo::setLayerRasterProperties(), te::qt::widgets::LayerPropertiesInfo::setLayerVecProperties(), te::qt::widgets::TextPropertyItem::TextPropertyItem(), and te::qt::widgets::WellKnownMarkPropertyItem::WellKnownMarkPropertyItem().
|
slot |
Definition at line 213 of file GlyphMarkPropertyItem.cpp.
References te::common::Singleton< AbstractPropertyManager >::getInstance(), m_charProperty, and updateMarkName().
Referenced by showCharMapDlg().
| te::se::Mark * te::qt::widgets::GlyphMarkPropertyItem::getMark | ( | ) | const |
Gets the configured mark element.
Definition at line 88 of file GlyphMarkPropertyItem.cpp.
References te::se::Mark::clone(), and m_mark.
Referenced by te::qt::widgets::GraphicProperty::onGlyphMarkChanged().
|
signal |
Referenced by onFillChanged(), and updateMarkName().
|
slot |
Definition at line 223 of file GlyphMarkPropertyItem.cpp.
References te::qt::widgets::BasicFillPropertyItem::getFill(), m_basicFill, m_mark, markChanged(), and te::se::Mark::setFill().
Referenced by GlyphMarkPropertyItem().
|
slot |
Definition at line 156 of file GlyphMarkPropertyItem.cpp.
References m_charDlg, m_charProperty, and showCharMapDlg().
Referenced by GlyphMarkPropertyItem().
|
protectedinherited |
Definition at line 70 of file AbstractPropertyItem.cpp.
References te::qt::widgets::AbstractPropertyItem::m_propertyBrowser.
Referenced by te::qt::widgets::AbstractPropertyItem::addProperty().
| 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 77 of file GlyphMarkPropertyItem.cpp.
References te::se::Mark::clone(), m_mark, and updateUi().
Referenced by te::qt::widgets::GraphicProperty::setGraphic().
|
slot |
Definition at line 166 of file GlyphMarkPropertyItem.cpp.
References charMapSelected(), d, te::common::Singleton< AbstractPropertyManager >::getInstance(), and m_fontProperty.
Referenced by setDlg().
|
protected |
Updates the mark well-known name enconding selected font and selected character.
Definition at line 128 of file GlyphMarkPropertyItem.cpp.
References te::qt::widgets::GlyphMarkRenderer::encode(), te::common::Singleton< AbstractPropertyManager >::getInstance(), m_charProperty, m_fontProperty, m_mark, m_update, markChanged(), and te::se::Mark::setWellKnownName().
Referenced by charMapSelected(), GlyphMarkPropertyItem(), and valueChanged().
|
protected |
Updates the widget form based on internal mark element.
Definition at line 93 of file GlyphMarkPropertyItem.cpp.
References te::qt::widgets::GlyphMarkRenderer::decode(), te::se::Mark::getFill(), te::common::Singleton< AbstractPropertyManager >::getInstance(), te::se::Mark::getWellKnownName(), m_basicFill, m_charProperty, m_fontProperty, m_mark, m_update, and te::qt::widgets::BasicFillPropertyItem::setFill().
Referenced by setMark().
|
virtualslotinherited |
Definition at line 83 of file AbstractPropertyItem.cpp.
Referenced by te::qt::widgets::AbstractPropertyItem::AbstractPropertyItem().
|
virtualslotinherited |
Definition at line 88 of file AbstractPropertyItem.cpp.
|
virtualslotinherited |
Definition at line 93 of file AbstractPropertyItem.cpp.
|
virtualslotinherited |
Definition at line 103 of file AbstractPropertyItem.cpp.
|
virtualslotinherited |
Definition at line 113 of file AbstractPropertyItem.cpp.
|
virtualslotinherited |
Definition at line 118 of file AbstractPropertyItem.cpp.
|
virtualslotinherited |
Definition at line 123 of file AbstractPropertyItem.cpp.
|
virtualslot |
Definition at line 142 of file GlyphMarkPropertyItem.cpp.
References m_fontProperty, and updateMarkName().
|
virtualslot |
Definition at line 149 of file GlyphMarkPropertyItem.cpp.
References m_charProperty, and updateMarkName().
|
protected |
Definition at line 125 of file GlyphMarkPropertyItem.h.
Referenced by GlyphMarkPropertyItem(), onFillChanged(), and updateUi().
|
protected |
Definition at line 123 of file GlyphMarkPropertyItem.h.
Referenced by setDlg().
|
protected |
Definition at line 121 of file GlyphMarkPropertyItem.h.
Referenced by charMapSelected(), GlyphMarkPropertyItem(), setDlg(), updateMarkName(), updateUi(), and valueChanged().
|
protectedinherited |
Definition at line 97 of file AbstractPropertyItem.h.
Referenced by te::qt::widgets::AbstractPropertyItem::addProperty().
|
protected |
Definition at line 120 of file GlyphMarkPropertyItem.h.
Referenced by GlyphMarkPropertyItem(), showCharMapDlg(), updateMarkName(), updateUi(), and valueChanged().
|
protectedinherited |
Definition at line 95 of file AbstractPropertyItem.h.
Referenced by te::qt::widgets::AbstractPropertyItem::addProperty().
|
protected |
Mark element that will be configured by this widget.
Definition at line 127 of file GlyphMarkPropertyItem.h.
Referenced by getMark(), GlyphMarkPropertyItem(), onFillChanged(), setMark(), updateMarkName(), and updateUi().
|
protectedinherited |
Definition at line 92 of file AbstractPropertyItem.h.
Referenced by te::qt::widgets::AbstractPropertyItem::AbstractPropertyItem(), te::qt::widgets::AbstractPropertyItem::addProperty(), te::qt::widgets::HaloPropertyItem::HaloPropertyItem(), te::qt::widgets::AbstractPropertyItem::setExpandedStatus(), te::qt::widgets::TextPropertyItem::TextPropertyItem(), and te::qt::widgets::WellKnownMarkPropertyItem::WellKnownMarkPropertyItem().
|
protectedinherited |
Definition at line 94 of file AbstractPropertyItem.h.
Referenced by te::qt::widgets::AbstractPropertyItem::addProperty().
|
protected |
Definition at line 129 of file GlyphMarkPropertyItem.h.
Referenced by updateMarkName(), and updateUi().