|
Isis 3 Programmer Reference
|
1 #ifndef CubePlotCurve_h
2 #define CubePlotCurve_h
QList< QList< QPointF > > m_pointList
List of vertices in sample,line coordinates from the rubber band.
QPointer< QWidget > m_legendItem
This is the widget legend item associated with this curve.
void updateLegendItemWidget(QWidget *legendItem)
This creates a legend item and overrides events from it.
This is free and unencumbered software released into the public domain.
void copySource(const CubePlotCurve &other)
This copies the source data from another CubePlotCurve.
void removing()
This is emitted just before the cube plot curve is deleted.
This is a plot curve with information relating it to a particular cube or region of a cube.
Units yUnits() const
Get the units of the y-axis double data.
QByteArray toByteArray() const
Serialize this plot curve into a binary byte array.
virtual QWidget * legendItem() const
This method is necessary for getting the correct (event filter altered) legend item.
void paint(CubeViewport *vp, QPainter *painter)
Use information inside of the plot curve to paint onto a cube viewport.
bool m_renameAutomatically
This indicates if we are allowed to modify the title of this curve when the source (origin) data chan...
CubePlotCurve(Units xUnits, Units yUnits)
This constructs a CubePlotCurve...
void enableAutoRenaming(bool)
This enables/disables the plot curve from changing it's title when the source data changes.
Units
These are all the possible units for the x or y data in a plot curve.
void setSource(CubeViewport *cvp, QList< QPoint > screenPoints, int band=-1)
Tell this plot curve from where its data originated.
void needsRepaint()
This is emitted when the curve is modified in such a way that it would paint a viewport differently.
void mousePressEvent(QMouseEvent *e)
Handle various events on the legend item.
bool eventFilter(QObject *o, QEvent *e)
This will start the drag & drop operation for these curves.
QStringList sourceCube() const
This method returns the cube view port associated with the curve.
QString m_originalName
This is the curve's name before any automatic renaming happened.
Widget to display Isis cubes for qt apps.
QList< QList< QPointF > > sourceVertices() const
This method returns a list of points which are the vertices of the selected area (by the rubberband) ...
Units xUnits() const
Get the units of the x-axis double data.
QStringList m_sourceCube
The cube that the data is coming from.
QMimeData * createMimeData() const
This converts the plot curve into a binary, clipboard-compatible storage format (QMimeData).
This is free and unencumbered software released into the public domain.
Q_DECLARE_METATYPE(Isis::PlotWindow *)
We have plot windows as QVariant data types, so here it's enabled.