A widget used to build a graphic associate with a well-known mark element.
More...
#include <WellKnownGraphicWidget.h>
|
void | updateUi () |
| Updates the widget form based on internal graphic element. More...
|
|
A widget used to build a graphic associate with a well-known mark element.
Definition at line 53 of file WellKnownGraphicWidget.h.
te::qt::widgets::WellKnownGraphicWidget::WellKnownGraphicWidget |
( |
QWidget * |
parent = 0 , |
|
|
Qt::WindowFlags |
f = 0 |
|
) |
| |
Constructs a well known graphic widget which is a child of parent, with widget flags set to f.
te::qt::widgets::WellKnownGraphicWidget::~WellKnownGraphicWidget |
( |
| ) |
|
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.
QIcon te::qt::widgets::WellKnownGraphicWidget::getGraphicIcon |
( |
const QSize & |
size | ) |
const |
|
virtual |
QString te::qt::widgets::WellKnownGraphicWidget::getGraphicType |
( |
| ) |
const |
|
virtual |
void te::qt::widgets::AbstractGraphicWidget::graphicChanged |
( |
| ) |
|
|
signalinherited |
This signal is emitted when the internal graphic element is changed.
void te::qt::widgets::WellKnownGraphicWidget::onGraphicAnchorPointChanged |
( |
const QString & |
text | ) |
|
|
protectedslot |
void te::qt::widgets::WellKnownGraphicWidget::onGraphicDisplacementChanged |
( |
const QString & |
text | ) |
|
|
protectedslot |
void te::qt::widgets::WellKnownGraphicWidget::onMarkChanged |
( |
| ) |
|
|
protectedslot |
bool te::qt::widgets::WellKnownGraphicWidget::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.
void te::qt::widgets::AbstractGraphicWidget::setGraphicAnchorPoint |
( |
const QString & |
ax, |
|
|
const QString & |
ay |
|
) |
| |
|
protectedslotinherited |
void te::qt::widgets::AbstractGraphicWidget::setGraphicAngle |
( |
const QString & |
angle | ) |
|
|
protectedslotinherited |
void te::qt::widgets::AbstractGraphicWidget::setGraphicDisplacement |
( |
const QString & |
dx, |
|
|
const QString & |
dy |
|
) |
| |
|
protectedslotinherited |
void te::qt::widgets::AbstractGraphicWidget::setGraphicOpacity |
( |
int |
value | ) |
|
|
protectedslotinherited |
void te::qt::widgets::AbstractGraphicWidget::setGraphicSize |
( |
const QString & |
size | ) |
|
|
protectedslotinherited |
void te::qt::widgets::WellKnownGraphicWidget::updateUi |
( |
| ) |
|
|
private |
Updates the widget form based on internal graphic element.
std::auto_ptr<Ui::WellKnownGraphicWidgetForm> te::qt::widgets::WellKnownGraphicWidget::m_ui |
|
private |
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/WellKnownGraphicWidget.h