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.
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.
virtual te::qt::widgets::AbstractGraphicWidget::~AbstractGraphicWidget |
( |
| ) |
|
|
virtual |
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.
virtual QIcon te::qt::widgets::AbstractGraphicWidget::getGraphicIcon |
( |
const QSize & |
size | ) |
const |
|
pure virtual |
virtual QString te::qt::widgets::AbstractGraphicWidget::getGraphicType |
( |
| ) |
const |
|
pure virtual |
void te::qt::widgets::AbstractGraphicWidget::graphicChanged |
( |
| ) |
|
|
signal |
This signal is emitted when the internal graphic element is changed.
virtual bool te::qt::widgets::AbstractGraphicWidget::setGraphic |
( |
const te::se::Graphic * |
graphic | ) |
|
|
pure virtual |
void te::qt::widgets::AbstractGraphicWidget::setGraphicAnchorPoint |
( |
const QString & |
ax, |
|
|
const QString & |
ay |
|
) |
| |
|
protectedslot |
void te::qt::widgets::AbstractGraphicWidget::setGraphicAngle |
( |
const QString & |
angle | ) |
|
|
protectedslot |
void te::qt::widgets::AbstractGraphicWidget::setGraphicDisplacement |
( |
const QString & |
dx, |
|
|
const QString & |
dy |
|
) |
| |
|
protectedslot |
void te::qt::widgets::AbstractGraphicWidget::setGraphicOpacity |
( |
int |
value | ) |
|
|
protectedslot |
void te::qt::widgets::AbstractGraphicWidget::setGraphicSize |
( |
const QString & |
size | ) |
|
|
protectedslot |
The documentation for this class was generated from the following file:
- /home/castejon/castejon_files/develop/terralib5/git_master/terralib5/src/terralib/qt/widgets/se/AbstractGraphicWidget.h