A widget used to build a fill element associated with a graphic. More...
#include <GraphicFillWidget.h>
Public Member Functions | |
Initializer Methods | |
Methods related to instantiation and destruction. | |
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. | |
~GraphicFillWidget () | |
Destructor. | |
Re-implementation of Pure Virtual Method | |
AbstractFillWidget methods. | |
std::unique_ptr< Ui::GraphicFillWidgetForm > | m_ui |
Widget form. | |
std::unique_ptr< GraphicDialog > | m_graphicDialog |
Graphic dialog used to build the graphic element. | |
te::se::Fill * | m_fill |
Fill element that will be configured by this widget. | |
bool | setFill (const te::se::Fill *fill) |
Sets a fill element to this widget. | |
te::se::Fill * | getFill () const |
Gets the configured fill element. | |
QString | getFillType () const |
Pure virtual method that should return a "user friendly" string that informs the fill type that can be built by the widget. | |
void | updateUi () |
Updates the widget form based on internal fill element. | |
void | onGraphicToolButtonPressed () |
void | fillChanged () |
A widget used to build a fill element associated with a graphic.
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 | ( | ) |
Destructor.
|
signal |
This signal is emitted when the internal fill element is changed.
|
virtual |
Gets the configured fill element.
Implements te::qt::widgets::AbstractFillWidget.
|
virtual |
Pure virtual method that should return a "user friendly" string that informs the fill type that can be built by the widget.
Implements te::qt::widgets::AbstractFillWidget.
|
protectedslot |
|
virtual |
Sets a fill element to this widget.
fill | A valid fill element. |
Implements te::qt::widgets::AbstractFillWidget.
|
protected |
Updates the widget form based on internal fill element.
|
private |
Fill element that will be configured by this widget.
Definition at line 113 of file GraphicFillWidget.h.
|
private |
Graphic dialog used to build the graphic element.
Definition at line 112 of file GraphicFillWidget.h.
|
private |
Widget form.
Definition at line 111 of file GraphicFillWidget.h.