A widget used to build a basic fill element.
More...
#include <BasicFillWidget.h>
|
void | initialize () |
| Internal method to initialize the widget (e.g.: color, combos, icons, etc.) More...
|
|
void | updateUi () |
| Updates the widget form based on internal fill element. More...
|
|
void | updateUiFillColor () |
| Updates the widget form element used to visualize the fill color. More...
|
|
A widget used to build a basic fill element.
- See also
- AbstractFillWidget, GraphicFillWidget
Definition at line 61 of file BasicFillWidget.h.
te::qt::widgets::BasicFillWidget::BasicFillWidget |
( |
QWidget * |
parent = 0 , |
|
|
Qt::WindowFlags |
f = 0 |
|
) |
| |
Constructs a basic fill widget which is a child of parent, with widget flags set to f.
te::qt::widgets::BasicFillWidget::~BasicFillWidget |
( |
| ) |
|
void te::qt::widgets::BasicFillWidget::fillChanged |
( |
| ) |
|
|
signal |
This signal is emitted when the internal fill element is changed.
te::se::Fill* te::qt::widgets::BasicFillWidget::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::BasicFillWidget::getFillType |
( |
| ) |
const |
|
virtual |
void te::qt::widgets::BasicFillWidget::initialize |
( |
| ) |
|
|
protected |
Internal method to initialize the widget (e.g.: color, combos, icons, etc.)
void te::qt::widgets::BasicFillWidget::onColorChanged |
( |
const QColor & |
color | ) |
|
|
protectedslot |
void te::qt::widgets::BasicFillWidget::onFillOpacitySliderValueChanged |
( |
int |
value | ) |
|
|
protectedslot |
bool te::qt::widgets::BasicFillWidget::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::BasicFillWidget::updateUi |
( |
| ) |
|
|
protected |
Updates the widget form based on internal fill element.
void te::qt::widgets::BasicFillWidget::updateUiFillColor |
( |
| ) |
|
|
protected |
Updates the widget form element used to visualize the fill color.
QColor te::qt::widgets::BasicFillWidget::m_color |
|
private |
Fill element that will be configured by this widget.
Definition at line 122 of file BasicFillWidget.h.
std::auto_ptr<Ui::BasicFillWidgetForm> te::qt::widgets::BasicFillWidget::m_ui |
|
private |
The documentation for this class was generated from the following file:
- /home/castejon/castejon_files/develop/terralib5/git_master/src/terralib/qt/widgets/se/BasicFillWidget.h