USGS

Isis 3.0 Object Programmers' Reference

Home

AdvancedStretch.h
1 #ifndef ADVANCEDSTRETCH_H
2 #define ADVANCEDSTRETCH_H
3 
4 #include <QWidget>
5 
6 class QStackedWidget;
7 class QLayout;
8 class QString;
9 class QColor;
10 
11 namespace Isis {
12  class AdvancedStretch;
13  class CubeViewport;
14  class Histogram;
15  class Stretch;
16 
30  class AdvancedStretch : public QWidget {
31  Q_OBJECT
32 
33  public:
35  const QString &, const QColor &);
38  void setStretch(Stretch newStretch);
39  void setHistogram(const Histogram &newHist);
40 
41  signals:
43  void stretchChanged();
44 
45  protected:
46 
47  private:
48  QStackedWidget *p_stretchTypeStack;
49  };
50 };
51 
52 
53 #endif
54