USGS

Isis 3.0 Object Programmers' Reference

Home

AdvancedStretch.h

00001 #ifndef ADVANCEDSTRETCH_H
00002 #define ADVANCEDSTRETCH_H
00003 
00004 #include <QWidget>
00005 
00006 class QStackedWidget;
00007 class QLayout;
00008 class QString;
00009 class QColor;
00010 
00011 namespace Isis {
00012   class AdvancedStretch;
00013   class CubeViewport;
00014   class Histogram;
00015   class Stretch;
00016 
00030   class AdvancedStretch : public QWidget {
00031       Q_OBJECT
00032 
00033     public:
00034       AdvancedStretch(Histogram &, const Stretch &,
00035                       const QString &, const QColor &);
00036       ~AdvancedStretch();
00037       Stretch getStretch();
00038       void setStretch(Stretch newStretch);
00039       void setHistogram(const Histogram &newHist);
00040 
00041     signals:
00043       void stretchChanged();
00044 
00045     protected:
00046 
00047     private:
00048       QStackedWidget *p_stretchTypeStack; 
00049   };
00050 };
00051 
00052 
00053 #endif
00054