qMRMLChartView is the display canvas for a Chart.
More...
#include <Libs/MRML/Widgets/qMRMLChartView.h>
|
QScopedPointer< qMRMLChartViewPrivate > | d_ptr |
|
qMRMLChartView is the display canvas for a Chart.
qMRMLChartView is currently implemented as a subclass of QWebView and charting is implemented using a jQuery library called jqPlot. This is subject to being made opaque, so that qMRMLChartView is merely a subclass of QWidget and internally a variety of implementations for charting may be provided.
Definition at line 46 of file qMRMLChartView.h.
◆ Superclass
◆ qMRMLChartView()
qMRMLChartView::qMRMLChartView |
( |
QWidget * |
parent = 0 | ) |
|
|
explicit |
◆ ~qMRMLChartView()
virtual qMRMLChartView::~qMRMLChartView |
( |
| ) |
|
|
virtual |
◆ colorLogic()
Get the application color logic. 0 by default.
◆ dataMouseOver
void qMRMLChartView::dataMouseOver |
( |
const char * |
mrmlArrayID, |
|
|
int |
pointidx, |
|
|
double |
x, |
|
|
double |
y |
|
) |
| |
|
signal |
Signal emitted when mouse moves over a data point. Returns the id of the MRMLDoubleArrayNode, the index of the point, and the values
◆ dataPointClicked
void qMRMLChartView::dataPointClicked |
( |
const char * |
mrmlArrayID, |
|
|
int |
pointidx, |
|
|
double |
x, |
|
|
double |
y |
|
) |
| |
|
signal |
Signal emitted when a data point has been clicked. Returns the id of the MRMLDoubleArrayNode, the index of the point, and the values
◆ mrmlChartViewNode()
Get the ChartView node observed by view.
◆ mrmlScene()
Return a pointer on the current MRML scene.
◆ mrmlSceneChanged
When designing custom qMRMLWidget in the designer, you can connect the mrmlSceneChanged signal directly to the aggregated MRML widgets that have a setMRMLScene slot.
◆ setColorLogic()
Set the application color logic for default node color.
◆ setMRMLChartViewNode
Set the current viewNode to observe.
◆ setMRMLScene
void qMRMLChartView::setMRMLScene |
( |
vtkMRMLScene * |
newScene | ) |
|
|
slot |
Set the MRML scene that should be listened for events.
◆ sizeHint()
virtual QSize qMRMLChartView::sizeHint |
( |
| ) |
const |
|
virtual |
Redefine the sizeHint so layouts work properly.
◆ d_ptr
QScopedPointer<qMRMLChartViewPrivate> qMRMLChartView::d_ptr |
|
protected |
The documentation for this class was generated from the following file: