USGS

Isis 3.0 Object Programmers' Reference

Home

GuiOutputAttribute.h

Go to the documentation of this file.
00001 
00024 #ifndef IsisGuiOutputAttribute_h
00025 #define IsisGuiOutputAttribute_h
00026 
00027 #include <QDialog>
00028 #include <QLineEdit>
00029 #include <QRadioButton>
00030 
00031 namespace Isis {
00044   class GuiOutputAttribute : public QDialog {
00045       Q_OBJECT
00046 
00047     public:
00048       GuiOutputAttribute(QWidget *parent = 0);
00049 
00050       ~GuiOutputAttribute();
00051 
00052       QString GetAttributes();
00053 
00054       void SetAttributes(const QString &value);
00055 
00056       static int GetAttributes(const QString &defaultAttribute,
00057                                QString &newAttribute,
00058                                const QString &title,
00059                                bool allowProp,
00060                                QWidget *parent);
00061 
00062       void SetPropagation(bool enabled);
00063 
00064     private:
00065       QRadioButton *p_propagate;
00066       QRadioButton *p_unsignedByte;
00067       QRadioButton *p_signedWord;
00068       QRadioButton *p_real;
00069       QLineEdit *p_minEdit;
00070       QLineEdit *p_maxEdit;
00071       QRadioButton *p_attached;
00072       QRadioButton *p_detached;
00073       QRadioButton *p_tiled;
00074       QRadioButton *p_bsq;
00075       QRadioButton *p_lsb;
00076       QRadioButton *p_msb;
00077       bool p_propagationEnabled;
00078   };
00079 };
00080 
00081 #endif
00082