A wdiget used to display a chart.
More...
#include <ChartDisplayWidget.h>
A wdiget used to display a chart.
Definition at line 62 of file ChartDisplayWidget.h.
◆ ChartDisplayWidget()
te::qt::widgets::ChartDisplayWidget::ChartDisplayWidget |
( |
QwtPlotSeriesItem * |
chart, |
|
|
int |
type, |
|
|
te::qt::widgets::ChartDisplay * |
display, |
|
|
QWidget * |
parent = 0 , |
|
|
Qt::WindowFlags |
f = 0 |
|
) |
| |
Constructor.
- Parameters
-
chart | The chart that will be displayed by this widget. |
display | The display that will be used by this widget to display the chart |
parent | this widget's parent |
f | Window flags used to configure this widget |
◆ ~ChartDisplayWidget()
te::qt::widgets::ChartDisplayWidget::~ChartDisplayWidget |
( |
| ) |
|
◆ getChart()
QwtPlotSeriesItem * te::qt::widgets::ChartDisplayWidget::getChart |
( |
| ) |
|
Returns a pointer to the chart being displayed.
- Returns
- A QwtPlotSeriesItem type pointer to the chart being used.
- Note
- The caller will not take ownership of the returned pointer.
◆ getDisplay()
Returns a pointer to the display being used.
- Returns
- A ChartDisplay type pointer to the display being used.
- Note
- The caller will not take ownership of the returned pointer.
◆ getType()
int te::qt::widgets::ChartDisplayWidget::getType |
( |
| ) |
|
◆ highlightOIds()
Highlights the objects identified by oids.
- Parameters
-
oids | The identifiers of plotitems to be highlighted. |
◆ onExportToolButtonnClicked
void te::qt::widgets::ChartDisplayWidget::onExportToolButtonnClicked |
( |
| ) |
|
|
protectedslot |
Called when the user clicks on the export tool button.
◆ onSettingsToolButtonnClicked
void te::qt::widgets::ChartDisplayWidget::onSettingsToolButtonnClicked |
( |
| ) |
|
|
protectedslot |
Called when the user clicks on the Settings tool button.
◆ selected
Emmit when objects were selected.
◆ selectionChanged
void te::qt::widgets::ChartDisplayWidget::selectionChanged |
( |
te::da::ObjectIdSet * |
oids, |
|
|
const bool & |
add |
|
) |
| |
|
protectedslot |
Called when objects were selected.
◆ setChart()
void te::qt::widgets::ChartDisplayWidget::setChart |
( |
QwtPlotSeriesItem * |
newChart | ) |
|
\brief It sets the chart that will be displayed
- Parameters
-
- Note
- It will take ownership of the given pointer
◆ setDisplay()
\brief It sets the display that will be used
- Parameters
-
newDisplay | The new display. |
- Note
- It will take ownership of the given pointer
◆ setSelectionColor()
void te::qt::widgets::ChartDisplayWidget::setSelectionColor |
( |
QColor |
selColor | ) |
|
color used to hgihlight selected objects on this display.
- Parameters
-
selColor | The color used to hgihlight selected objects on this display. |
◆ m_chart
QwtPlotSeriesItem* te::qt::widgets::ChartDisplayWidget::m_chart |
|
private |
◆ m_display
ChartDisplay* te::qt::widgets::ChartDisplayWidget::m_display |
|
private |
◆ m_type
int te::qt::widgets::ChartDisplayWidget::m_type |
|
private |
◆ m_ui
std::unique_ptr<Ui::ChartDisplayWidgetForm> te::qt::widgets::ChartDisplayWidget::m_ui |
|
private |
The documentation for this class was generated from the following file:
- /home/castejon/castejon_files/develop/terralib5/git_release/src/terralib/qt/widgets/charts/ChartDisplayWidget.h