A widget used to define the general properties of a se object. More...
#include <GraphicProperty.h>
Public Slots | |
| void | onGlyphMarkChanged () |
| void | onGraphicPropertyChanged () |
| void | onLocalImageChanged () |
| void | onWellKnownMarkChanged () |
Signals | |
| void | graphicChanged () |
Public Member Functions | |
Initializer Methods | |
Methods related to instantiation and destruction. | |
| GraphicProperty (QWidget *parent) | |
| Constructor. More... | |
| ~GraphicProperty () | |
| Destructor. More... | |
Re-implementation of Pure Virtual Method | |
AbstractGraphicWidget methods. | |
| bool | setGraphic (const te::se::Graphic *graphic) |
| te::se::Graphic * | getGraphic () const |
A widget used to define the general properties of a se object.
Definition at line 60 of file GraphicProperty.h.
| te::qt::widgets::GraphicProperty::GraphicProperty | ( | QWidget * | parent | ) |
Constructor.
Definition at line 47 of file GraphicProperty.cpp.
References te::se::Graphic::add(), te::qt::widgets::WellKnownMarkPropertyItem::getMark(), graphicChanged(), m_gp, m_graphic, m_graphp, m_li, m_mp, onGlyphMarkChanged(), onGraphicPropertyChanged(), onLocalImageChanged(), onWellKnownMarkChanged(), and ~GraphicProperty().
|
default |
Destructor.
Referenced by GraphicProperty().
| te::se::Graphic * te::qt::widgets::GraphicProperty::getGraphic | ( | ) | const |
Definition at line 158 of file GraphicProperty.cpp.
References te::se::Graphic::clone(), and m_graphic.
Referenced by te::qt::widgets::PointSymbolizerProperty::onGraphicChanged(), te::qt::widgets::PolygonSymbolizerProperty::onPolyGraphicChanged(), and te::qt::widgets::PointSymbolizerProperty::PointSymbolizerProperty().
|
signal |
This signal is emitted when the internal graphic element is changed.
Referenced by GraphicProperty(), onGlyphMarkChanged(), onGraphicPropertyChanged(), onLocalImageChanged(), and onWellKnownMarkChanged().
|
slot |
Definition at line 194 of file GraphicProperty.cpp.
References te::se::Graphic::add(), te::se::Graphic::clear(), te::qt::widgets::GlyphMarkPropertyItem::getMark(), graphicChanged(), m_gp, m_graphic, and m_setLocalGraphic.
Referenced by GraphicProperty().
|
slot |
Definition at line 163 of file GraphicProperty.cpp.
References te::se::ParameterValue::clone(), te::qt::widgets::GraphicPropertyItem::getGraphic(), te::se::Graphic::getOpacity(), te::se::Graphic::getRotation(), te::se::Graphic::getSize(), graphicChanged(), m_graphic, m_graphp, m_setLocalGraphic, te::se::Graphic::setOpacity(), te::se::Graphic::setRotation(), and te::se::Graphic::setSize().
Referenced by GraphicProperty().
|
slot |
Definition at line 208 of file GraphicProperty.cpp.
References te::se::Graphic::add(), te::se::Graphic::clear(), te::qt::widgets::LocalImagePropertyItem::getExternalGraphic(), graphicChanged(), m_graphic, m_li, and m_setLocalGraphic.
Referenced by GraphicProperty().
|
slot |
Definition at line 180 of file GraphicProperty.cpp.
References te::se::Graphic::add(), te::se::Graphic::clear(), te::qt::widgets::WellKnownMarkPropertyItem::getMark(), graphicChanged(), m_graphic, m_mp, and m_setLocalGraphic.
Referenced by GraphicProperty().
| bool te::qt::widgets::GraphicProperty::setGraphic | ( | const te::se::Graphic * | graphic | ) |
Definition at line 103 of file GraphicProperty.cpp.
References te::se::Graphic::clone(), te::se::Graphic::getExternalGraphics(), te::xl::SimpleLink::getHref(), te::se::Graphic::getMarks(), te::se::ExternalGraphic::getOnlineResource(), te::se::Mark::getWellKnownName(), link, m_gp, m_graphic, m_graphp, m_li, m_mp, m_setLocalGraphic, te::qt::widgets::LocalImagePropertyItem::setExternalGraphic(), te::qt::widgets::GraphicPropertyItem::setGraphic(), te::qt::widgets::GlyphMarkPropertyItem::setMark(), and te::qt::widgets::WellKnownMarkPropertyItem::setMark().
Referenced by te::qt::widgets::PolygonSymbolizerProperty::setSymbolizer(), and te::qt::widgets::PointSymbolizerProperty::setSymbolizer().
|
protected |
Definition at line 110 of file GraphicProperty.h.
Referenced by GraphicProperty(), onGlyphMarkChanged(), and setGraphic().
|
protected |
Definition at line 115 of file GraphicProperty.h.
Referenced by getGraphic(), GraphicProperty(), onGlyphMarkChanged(), onGraphicPropertyChanged(), onLocalImageChanged(), onWellKnownMarkChanged(), and setGraphic().
|
protected |
Definition at line 108 of file GraphicProperty.h.
Referenced by GraphicProperty(), onGraphicPropertyChanged(), and setGraphic().
|
protected |
Definition at line 111 of file GraphicProperty.h.
Referenced by GraphicProperty(), onLocalImageChanged(), and setGraphic().
|
protected |
Definition at line 109 of file GraphicProperty.h.
Referenced by GraphicProperty(), onWellKnownMarkChanged(), and setGraphic().
|
protected |
Definition at line 113 of file GraphicProperty.h.
Referenced by onGlyphMarkChanged(), onGraphicPropertyChanged(), onLocalImageChanged(), onWellKnownMarkChanged(), and setGraphic().