A widget used to build a fill element associated with a graphic.
More...
#include <GraphicFillWidget.h>
|
void | updateUi () |
| Updates the widget form based on internal fill element. More...
|
|
A widget used to build a fill element associated with a graphic.
- See also
- AbstractFillWidget, BasicFillWidget
Definition at line 61 of file GraphicFillWidget.h.
te::qt::widgets::GraphicFillWidget::GraphicFillWidget |
( |
QWidget * |
parent = 0 , |
|
|
Qt::WindowFlags |
f = 0 |
|
) |
| |
Constructs a graphic fill widget which is a child of parent, with widget flags set to f.
te::qt::widgets::GraphicFillWidget::~GraphicFillWidget |
( |
| ) |
|
void te::qt::widgets::GraphicFillWidget::fillChanged |
( |
| ) |
|
|
signal |
This signal is emitted when the internal fill element is changed.
te::se::Fill* te::qt::widgets::GraphicFillWidget::getFill |
( |
| ) |
const |
|
virtual |
Gets the configured fill element.
- Returns
- The configured fill element.
- Note
- The caller will take the ownership of the returned fill.
Implements te::qt::widgets::AbstractFillWidget.
QString te::qt::widgets::GraphicFillWidget::getFillType |
( |
| ) |
const |
|
virtual |
void te::qt::widgets::GraphicFillWidget::onGraphicToolButtonPressed |
( |
| ) |
|
|
protectedslot |
bool te::qt::widgets::GraphicFillWidget::setFill |
( |
const te::se::Fill * |
fill | ) |
|
|
virtual |
Sets a fill element to this widget.
- Parameters
-
fill | A valid fill element. |
- Returns
- It return true if the widget can deal with the given fill. Otherwise, it returns false.
- Note
- The widget will NOT take the ownership of the given fill.
-
The widget form will be update based on given fill parameters.
Implements te::qt::widgets::AbstractFillWidget.
void te::qt::widgets::GraphicFillWidget::updateUi |
( |
| ) |
|
|
protected |
Updates the widget form based on internal fill element.
std::auto_ptr<GraphicDialog> te::qt::widgets::GraphicFillWidget::m_graphicDialog |
|
private |
std::auto_ptr<Ui::GraphicFillWidgetForm> te::qt::widgets::GraphicFillWidget::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/GraphicFillWidget.h