27 #include "../../../se/Fill.h"
30 #include "ui_GraphicFillWidgetForm.h"
37 m_ui(new Ui::GraphicFillWidgetForm),
39 m_fill(new te::se::Fill)
68 m_fill = fill->
clone();
70 m_graphicDialog->setGraphic(g);
79 return m_fill->
clone();
84 return tr(
"Graphic Fill");
90 QSize size = m_ui->m_graphicToolButton->iconSize();
91 m_ui->m_graphicToolButton->setIcon(m_graphicDialog->getGraphicIcon(size));
96 if(m_graphicDialog->exec() == QDialog::Rejected)
100 m_fill->setGraphicFill(m_graphicDialog->getGraphic());
A Graphic is a graphic symbol with an inherent shape, color(s), and possibly size.
const Graphic * getGraphicFill() const
Gets the GraphicFill element associate to this Fill.
A Fill specifies the pattern for filling an area geometry.
void setGraphicFill(Graphic *g)
Sets the GraphicFill element to this Fill. GraphicFill defines that the pixels of the area will be dr...
A dialog used to build a graphic element.
Fill * clone() const
It creates a new copy of this object.