USGS

Isis 3.0 Developer's Reference (API)

Home

CubePlotCurveConfigureDialog.h

Go to the documentation of this file.
00001 #ifndef CubePlotCurveConfigureDialog_h
00002 #define CubePlotCurveConfigureDialog_h
00003 
00004 #include <QDialog>
00005 
00006 #include <QPointer>
00007 
00008 class QCheckBox;
00009 class QComboBox;
00010 class QLineEdit;
00011 class QPushButton;
00012 class QWidget;
00013 
00014 namespace Isis {
00015   class CubePlotCurve;
00016 
00027   class CubePlotCurveConfigureDialog : public QDialog {
00028       Q_OBJECT
00029 
00030     public:
00031       CubePlotCurveConfigureDialog(CubePlotCurve *curve,
00032                                    QWidget *parent = NULL);
00033       virtual ~CubePlotCurveConfigureDialog();
00034 
00035     public slots:
00036       void applySettingsToCurve();
00037       void readSettingsFromCurve();
00038 
00039     private slots:
00040       void askUserForColor();
00041 
00042     private:
00048       CubePlotCurveConfigureDialog(const CubePlotCurveConfigureDialog &other);
00049 
00057       CubePlotCurveConfigureDialog &operator=(
00058           const CubePlotCurveConfigureDialog &other);
00059 
00060     private:
00062       QPointer<QLineEdit>   m_nameEdit;
00064       QPointer<QPushButton> m_colorButton;
00066       QPointer<QComboBox>   m_sizeCombo;
00068       QPointer<QComboBox>   m_styleCombo;
00070       QPointer<QComboBox>   m_symbolCombo;
00071 
00073       QPointer<CubePlotCurve> m_plotCurve;
00074   };
00075 }
00076 
00077 #endif