30 #include "../../../se/Fill.h"
31 #include "../../../se/Stroke.h"
34 #include "ui_HistogramStyleWidgetForm.h"
37 #include <QtGui/QWidget>
43 m_ui(new Ui::HistogramStyleWidgetForm),
44 m_histogramStyle(initial)
58 delete m_histogramStyle;
63 return m_histogramStyle->
clone();
70 m_histogramStyle->setFill(fill->clone());
77 m_histogramStyle->setStroke(stroke->clone());
HistogramStyle * clone()
Returns a pointer to a clone of this HistogramStyle.
std::auto_ptr< Ui::HistogramStyleWidgetForm > m_ui
The widget form.
A dialog used to build a basic fill element.
A dialog used to build a basic stroke element.
te::se::Fill * getFill() const
Gets the configured fill element.
A class used to define the style of a histogram's chart.
te::se::Stroke * getStroke() const
Gets the configured stroke element.
HistogramStyle * m_histogramStyle
The histogram's chart style that will be configured by this widget.
te::qt::widgets::HistogramStyle * getHistogramStyle()
Returns a pointer to the HistogramStyle being configured.
void onFillPushButtonClicked()
~HistogramStyleWidget()
Destructor.
void onStrokePushButtonClicked()
HistogramStyleWidget(te::qt::widgets::HistogramStyle *initial=0, QWidget *parent=0, Qt::WindowFlags f=0)
Constructor.