A widget used to build a graphic associate with a glyph mark element. More...
#include <GlyphGraphicWidget.h>
  
 Signals | |
| void | graphicChanged () | 
Public Member Functions | |
| te::se::Graphic * | getGraphic () const | 
| Gets the configured graphic element.  More... | |
Initializer Methods  | |
Methods related to instantiation and destruction.  | |
| GlyphGraphicWidget (QWidget *parent=0, Qt::WindowFlags f=0) | |
| Constructs a glyph graphic widget which is a child of parent, with widget flags set to f.  More... | |
| ~GlyphGraphicWidget () | |
| Destructor.  More... | |
Re-implementation of Pure Virtual Method  | |
AbstractGraphicWidget methods.  | |
| bool | setGraphic (const te::se::Graphic *graphic) | 
| Sets a graphic element to this widget.  More... | |
| QString | getGraphicType () const | 
| Pure virtual method that should return a "user friendly" string that informs the graphic type that can be built by the widget.  More... | |
| QIcon | getGraphicIcon (const QSize &size) const | 
| Pure virtual method that should return a QIcon that represents the graphic. i.e. a simple preview.  More... | |
Protected Slots | |
| void | onGraphicAnchorPointChanged (const QString &text) | 
| void | onGraphicDisplacementChanged (const QString &text) | 
| void | onMarkChanged () | 
| void | setGraphicAnchorPoint (const QString &ax, const QString &ay) | 
| void | setGraphicAngle (const QString &angle) | 
| void | setGraphicDisplacement (const QString &dx, const QString &dy) | 
| void | setGraphicOpacity (int value) | 
| void | setGraphicSize (const QString &size) | 
Protected Attributes | |
| te::se::Graphic * | m_graphic | 
| Graphic element that will be configured by this widget.  More... | |
Private Member Functions | |
| void | updateUi () | 
| Updates the widget form based on internal graphic element.  More... | |
Private Attributes | |
| te::qt::widgets::GlyphMarkWidget * | m_glyphMarkWidget | 
| Glyph mark widget used to configure the glyph mark element.  More... | |
| std::auto_ptr < Ui::GlyphGraphicWidgetForm >  | m_ui | 
| Widget form.  More... | |
A widget used to build a graphic associate with a glyph mark element.
Definition at line 53 of file GlyphGraphicWidget.h.
| te::qt::widgets::GlyphGraphicWidget::GlyphGraphicWidget | ( | QWidget * | parent = 0,  | 
        
| Qt::WindowFlags | f = 0  | 
        ||
| ) | 
Constructs a glyph graphic widget which is a child of parent, with widget flags set to f.
Definition at line 42 of file GlyphGraphicWidget.cpp.
References te::se::Graphic::add(), te::qt::widgets::GlyphMarkWidget::getMark(), m_glyphMarkWidget, te::qt::widgets::AbstractGraphicWidget::m_graphic, m_ui, onGraphicAnchorPointChanged(), onGraphicDisplacementChanged(), onMarkChanged(), te::qt::widgets::AbstractGraphicWidget::setGraphicAngle(), and te::qt::widgets::AbstractGraphicWidget::setGraphicSize().
| te::qt::widgets::GlyphGraphicWidget::~GlyphGraphicWidget | ( | ) | 
Destructor.
Definition at line 68 of file GlyphGraphicWidget.cpp.
      
  | 
  inherited | 
Gets the configured graphic element.
Definition at line 44 of file AbstractGraphicWidget.cpp.
References te::se::Graphic::clone().
Referenced by te::qt::widgets::GraphicSelectorWidget::getGraphic().
      
  | 
  virtual | 
Pure virtual method that should return a QIcon that represents the graphic. i.e. a simple preview.
Implements te::qt::widgets::AbstractGraphicWidget.
Definition at line 107 of file GlyphGraphicWidget.cpp.
References te::common::Free(), te::qt::widgets::GetImage(), and te::common::Singleton< MarkRendererManager >::getInstance().
      
  | 
  virtual | 
Pure virtual method that should return a "user friendly" string that informs the graphic type that can be built by the widget.
Implements te::qt::widgets::AbstractGraphicWidget.
Definition at line 102 of file GlyphGraphicWidget.cpp.
      
  | 
  signalinherited | 
This signal is emitted when the internal graphic element is changed.
      
  | 
  protectedslot | 
Definition at line 135 of file GlyphGraphicWidget.cpp.
Referenced by GlyphGraphicWidget().
      
  | 
  protectedslot | 
Definition at line 130 of file GlyphGraphicWidget.cpp.
Referenced by GlyphGraphicWidget().
      
  | 
  protectedslot | 
Definition at line 124 of file GlyphGraphicWidget.cpp.
Referenced by GlyphGraphicWidget().
      
  | 
  virtual | 
Sets a graphic element to this widget.
| graphic | A valid graphic element. | 
Implements te::qt::widgets::AbstractGraphicWidget.
Definition at line 72 of file GlyphGraphicWidget.cpp.
References te::se::Graphic::clone(), te::se::Graphic::getMarks(), and te::se::Mark::getWellKnownName().
      
  | 
  protectedslotinherited | 
Definition at line 77 of file AbstractGraphicWidget.cpp.
References te::se::AnchorPoint::setAnchorPointX(), and te::se::AnchorPoint::setAnchorPointY().
      
  | 
  protectedslotinherited | 
Definition at line 55 of file AbstractGraphicWidget.cpp.
Referenced by GlyphGraphicWidget(), te::qt::widgets::LocalGraphicWidget::LocalGraphicWidget(), and te::qt::widgets::WellKnownGraphicWidget::WellKnownGraphicWidget().
      
  | 
  protectedslotinherited | 
Definition at line 68 of file AbstractGraphicWidget.cpp.
References te::se::Displacement::setDisplacementX(), and te::se::Displacement::setDisplacementY().
      
  | 
  protectedslotinherited | 
Definition at line 61 of file AbstractGraphicWidget.cpp.
Referenced by te::qt::widgets::LocalGraphicWidget::LocalGraphicWidget(), and te::qt::widgets::WellKnownGraphicWidget::WellKnownGraphicWidget().
      
  | 
  protectedslotinherited | 
Definition at line 49 of file AbstractGraphicWidget.cpp.
Referenced by GlyphGraphicWidget(), te::qt::widgets::LocalGraphicWidget::LocalGraphicWidget(), and te::qt::widgets::WellKnownGraphicWidget::WellKnownGraphicWidget().
      
  | 
  private | 
Updates the widget form based on internal graphic element.
Definition at line 140 of file GlyphGraphicWidget.cpp.
References te::se::AnchorPoint::getAnchorPointX(), te::se::AnchorPoint::getAnchorPointY(), te::se::Displacement::getDisplacementX(), te::se::Displacement::getDisplacementY(), and te::map::GetDouble().
      
  | 
  private | 
Glyph mark widget used to configure the glyph mark element.
Definition at line 103 of file GlyphGraphicWidget.h.
Referenced by GlyphGraphicWidget().
      
  | 
  protectedinherited | 
Graphic element that will be configured by this widget.
Definition at line 121 of file AbstractGraphicWidget.h.
Referenced by GlyphGraphicWidget(), te::qt::widgets::LocalGraphicWidget::LocalGraphicWidget(), and te::qt::widgets::WellKnownGraphicWidget::WellKnownGraphicWidget().
      
  | 
  private | 
Widget form.
Definition at line 102 of file GlyphGraphicWidget.h.
Referenced by GlyphGraphicWidget().