Isis Developer Reference
HistogramPlotWindow.h
Go to the documentation of this file.
1#ifndef HistogramPlotWindow_h
2#define HistogramPlotWindow_h
3
4#include <qwt_text.h>
5
6#include "PlotWindow.h"
7
8class QDockWidget;
9
10namespace Isis {
11 class HistogramItem;
12
19 Q_OBJECT
20
21 public:
22 HistogramPlotWindow(QString title, QWidget *parent);
23 using PlotWindow::add;
24 void add(HistogramItem *);
25
26// void setViewport(CubeViewport *cvp);
28 return p_histItems.size();
29 }
30
32 return p_histItems[index];
33 }
34
36 return p_dock;
37 }
38
39 public slots:
40
41
42 private:
43// CubeViewport *p_cvp; //!< The current viewport
44 QList<HistogramItem *> p_histItems;
45 QDockWidget *p_dock;
46 };
47};
48
49#endif
This is the (qwt) plot item for a histogram.
Definition HistogramItem.h:24
Definition HistogramPlotWindow.h:18
QDockWidget * getDockWidget()
Definition HistogramPlotWindow.h:35
HistogramPlotWindow(QString title, QWidget *parent)
Constructor, creates a new HistogramPlotWindow.
Definition HistogramPlotWindow.cpp:17
HistogramItem * getHistItem(int index)
Definition HistogramPlotWindow.h:31
int getNumItems()
Definition HistogramPlotWindow.h:27
void add(HistogramItem *)
Add a HistogramItem to the plot.
Definition HistogramPlotWindow.cpp:60
Definition PlotWindow.h:88
virtual void add(CubePlotCurve *pc)
This method adds the curves to the plot.
Definition PlotWindow.cpp:435
This is free and unencumbered software released into the public domain.
Definition Apollo.h:16