Abstract class that represents a widget that can be used to build a graphic element.
More...
#include <AbstractGraphicWidget.h>
Abstract class that represents a widget that can be used to build a graphic element.
- See also
- ExternalGraphicWidget, GlyphGraphicWidget, WellKnownGraphicWidget
Definition at line 54 of file AbstractGraphicWidget.h.
◆ AbstractGraphicWidget()
| te::qt::widgets::AbstractGraphicWidget::AbstractGraphicWidget |
( |
QWidget * | parent = 0, |
|
|
Qt::WindowFlags | f = 0 ) |
Constructs a graphic widget which is a child of parent, with widget flags set to f.
◆ ~AbstractGraphicWidget()
| virtual te::qt::widgets::AbstractGraphicWidget::~AbstractGraphicWidget |
( |
| ) |
|
|
virtual |
◆ getGraphic()
| te::se::Graphic * te::qt::widgets::AbstractGraphicWidget::getGraphic |
( |
| ) |
const |
Gets the configured graphic element.
- Returns
- The configured graphic element.
- Note
- The caller will take the ownership of the returned graphic.
◆ getGraphicIcon()
| virtual QIcon te::qt::widgets::AbstractGraphicWidget::getGraphicIcon |
( |
const QSize & | size | ) |
const |
|
pure virtual |
◆ getGraphicType()
| virtual QString te::qt::widgets::AbstractGraphicWidget::getGraphicType |
( |
| ) |
const |
|
pure virtual |
◆ graphicChanged
| void te::qt::widgets::AbstractGraphicWidget::graphicChanged |
( |
| ) |
|
|
signal |
This signal is emitted when the internal graphic element is changed.
◆ setGraphic()
| virtual bool te::qt::widgets::AbstractGraphicWidget::setGraphic |
( |
const te::se::Graphic * | graphic | ) |
|
|
pure virtual |
◆ setGraphicAnchorPoint
| void te::qt::widgets::AbstractGraphicWidget::setGraphicAnchorPoint |
( |
const QString & | ax, |
|
|
const QString & | ay ) |
|
protectedslot |
◆ setGraphicAngle
| void te::qt::widgets::AbstractGraphicWidget::setGraphicAngle |
( |
const QString & | angle | ) |
|
|
protectedslot |
◆ setGraphicDisplacement
| void te::qt::widgets::AbstractGraphicWidget::setGraphicDisplacement |
( |
const QString & | dx, |
|
|
const QString & | dy ) |
|
protectedslot |
◆ setGraphicOpacity
| void te::qt::widgets::AbstractGraphicWidget::setGraphicOpacity |
( |
int | value | ) |
|
|
protectedslot |
◆ setGraphicSize
| void te::qt::widgets::AbstractGraphicWidget::setGraphicSize |
( |
const QString & | size | ) |
|
|
protectedslot |
◆ m_graphic
The documentation for this class was generated from the following file: