A widget used to build a graphic associate with a glyph mark element.
More...
#include <GlyphGraphicWidget.h>
A widget used to build a graphic associate with a glyph mark element.
Definition at line 53 of file GlyphGraphicWidget.h.
◆ GlyphGraphicWidget()
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.
◆ ~GlyphGraphicWidget()
te::qt::widgets::GlyphGraphicWidget::~GlyphGraphicWidget |
( |
| ) |
|
◆ getGraphic()
te::se::Graphic * te::qt::widgets::AbstractGraphicWidget::getGraphic |
( |
| ) |
const |
|
inherited |
Gets the configured graphic element.
- Returns
- The configured graphic element.
- Note
- The caller will take the ownership of the returned graphic.
◆ getGraphicIcon()
QIcon te::qt::widgets::GlyphGraphicWidget::getGraphicIcon |
( |
const QSize & |
size | ) |
const |
|
virtual |
◆ getGraphicType()
QString te::qt::widgets::GlyphGraphicWidget::getGraphicType |
( |
| ) |
const |
|
virtual |
◆ graphicChanged
void te::qt::widgets::AbstractGraphicWidget::graphicChanged |
( |
| ) |
|
|
signalinherited |
This signal is emitted when the internal graphic element is changed.
◆ onGraphicAnchorPointChanged
void te::qt::widgets::GlyphGraphicWidget::onGraphicAnchorPointChanged |
( |
const QString & |
text | ) |
|
|
protectedslot |
◆ onGraphicDisplacementChanged
void te::qt::widgets::GlyphGraphicWidget::onGraphicDisplacementChanged |
( |
const QString & |
text | ) |
|
|
protectedslot |
◆ onMarkChanged
void te::qt::widgets::GlyphGraphicWidget::onMarkChanged |
( |
| ) |
|
|
protectedslot |
◆ setGraphic()
bool te::qt::widgets::GlyphGraphicWidget::setGraphic |
( |
const te::se::Graphic * |
graphic | ) |
|
|
virtual |
Sets a graphic element to this widget.
- Parameters
-
graphic | A valid graphic element. |
- Returns
- It return true if the widget can deal with the given graphic. Otherwise, it returns false.
- Note
- The widget will NOT take the ownership of the given graphic.
-
The widget form will be update based on given graphic parameters.
Implements te::qt::widgets::AbstractGraphicWidget.
◆ setGraphicAnchorPoint
void te::qt::widgets::AbstractGraphicWidget::setGraphicAnchorPoint |
( |
const QString & |
ax, |
|
|
const QString & |
ay |
|
) |
| |
|
protectedslotinherited |
◆ setGraphicAngle
void te::qt::widgets::AbstractGraphicWidget::setGraphicAngle |
( |
const QString & |
angle | ) |
|
|
protectedslotinherited |
◆ setGraphicDisplacement
void te::qt::widgets::AbstractGraphicWidget::setGraphicDisplacement |
( |
const QString & |
dx, |
|
|
const QString & |
dy |
|
) |
| |
|
protectedslotinherited |
◆ setGraphicOpacity
void te::qt::widgets::AbstractGraphicWidget::setGraphicOpacity |
( |
int |
value | ) |
|
|
protectedslotinherited |
◆ setGraphicSize
void te::qt::widgets::AbstractGraphicWidget::setGraphicSize |
( |
const QString & |
size | ) |
|
|
protectedslotinherited |
◆ updateUi()
void te::qt::widgets::GlyphGraphicWidget::updateUi |
( |
| ) |
|
|
private |
Updates the widget form based on internal graphic element.
◆ m_glyphMarkWidget
◆ m_graphic
◆ m_ui
std::unique_ptr<Ui::GlyphGraphicWidgetForm> te::qt::widgets::GlyphGraphicWidget::m_ui |
|
private |
The documentation for this class was generated from the following file:
- /home/castejon/castejon_files/develop/terralib5/git_release/src/terralib/qt/widgets/se/GlyphGraphicWidget.h