1 #ifndef CubePlotCurve_h
2 #define CubePlotCurve_h
104 QMimeData *createMimeData()
const;
105 QByteArray toByteArray()
const;
106 void mousePressEvent(QMouseEvent *e);
114 QPointer<QWidget> m_legendItem;
117 QString m_originalName;
123 bool m_renameAutomatically;
bool eventFilter(QObject *o, QEvent *e)
This will start the drag & drop operation for these curves.
Definition: CubePlotCurve.cpp:131
QStringList sourceCube() const
This method returns the cube view port associated with the curve.
Definition: CubePlotCurve.cpp:227
virtual QWidget * legendItem() const
This method is necessary for getting the correct (event filter altered) legend item.
Definition: CubePlotCurve.cpp:216
QList< QList< QPointF > > sourceVertices() const
This method returns a list of points which are the vertices of the selected area (by the rubberband) ...
Definition: CubePlotCurve.cpp:205
void copySource(const CubePlotCurve &other)
This copies the source data from another CubePlotCurve.
Definition: CubePlotCurve.cpp:250
void setSource(CubeViewport *cvp, QList< QPoint > screenPoints, int band=-1)
Tell this plot curve from where its data originated.
Definition: CubePlotCurve.cpp:315
void needsRepaint()
This is emitted when the curve is modified in such a way that it would paint a viewport differently...
Definition: moc_CubePlotCurve.cpp:147
Q_DECLARE_METATYPE(Isis::Cube *)
This allows Cube *'s to be stored in a QVariant.
Widget to display Isis cubes for qt apps.
Definition: CubeViewport.h:121
void updateLegendItemWidget(QWidget *legendItem)
This creates a legend item and overrides events from it.
Definition: CubePlotCurve.cpp:337
void enableAutoRenaming(bool)
This enables/disables the plot curve from changing it's title when the source data changes...
Definition: CubePlotCurve.cpp:239
Units xUnits() const
Get the units of the x-axis double data.
Definition: PlotCurve.cpp:76
Units yUnits() const
Get the units of the y-axis double data.
Definition: PlotCurve.cpp:86
This is a plot curve with information relating it to a particular cube or region of a cube...
Definition: CubePlotCurve.h:68
Definition: PlotCurve.h:44
Definition: BoxcarCachingAlgorithm.h:29
CubePlotCurve(Units xUnits, Units yUnits)
This constructs a CubePlotCurve...
Definition: CubePlotCurve.cpp:42
void removing()
This is emitted just before the cube plot curve is deleted.
Definition: moc_CubePlotCurve.cpp:153
Units
These are all the possible units for the x or y data in a plot curve.
Definition: PlotCurve.h:54
void paint(CubeViewport *vp, QPainter *painter)
Use information inside of the plot curve to paint onto a cube viewport.
Definition: CubePlotCurve.cpp:163