A widget used to build an external graphic element that references a local image. e.g. a SVG file, a PNG file, etc.
More...
#include <LocalImageWidget.h>
|
void | updateUi () |
| Updates the widget form based on internal external graphic element. More...
|
|
A widget used to build an external graphic element that references a local image. e.g. a SVG file, a PNG file, etc.
Definition at line 59 of file LocalImageWidget.h.
te::qt::widgets::LocalImageWidget::LocalImageWidget |
( |
QWidget * |
parent = 0 , |
|
|
Qt::WindowFlags |
f = 0 |
|
) |
| |
Constructs a local image widget which is a child of parent, with widget flags set to f.
te::qt::widgets::LocalImageWidget::~LocalImageWidget |
( |
| ) |
|
void te::qt::widgets::LocalImageWidget::externalGraphicChanged |
( |
const QSize & |
size | ) |
|
|
signal |
This signal is emitted when the internal external graphic element is changed.
- Parameters
-
size | The size of selected image. |
Gets the configured external graphic element.
- Returns
- The configured external graphic element.
- Note
- The caller will take the ownership of the returned external graphic.
void te::qt::widgets::LocalImageWidget::onBrowsePushButtonPressed |
( |
| ) |
|
|
protectedslot |
Sets an external graphic element to this widget.
- Parameters
-
eg | A valid external graphic element. |
- Note
- The widget will NOT take the ownership of the given external graphic.
-
The widget form will be update based on given external graphic parameters.
void te::qt::widgets::LocalImageWidget::updateUi |
( |
| ) |
|
|
protected |
Updates the widget form based on internal external graphic element.
External graphic element that will be configured by this widget.
Definition at line 120 of file LocalImageWidget.h.
QString te::qt::widgets::LocalImageWidget::m_filter |
|
private |
std::auto_ptr<Ui::LocalImageWidgetForm> te::qt::widgets::LocalImageWidget::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/LocalImageWidget.h