00001
00002
00003
00004
00005
00006
00007 #ifndef CHECKLIST_GUIDE_PAGE_CURVES_H
00008 #define CHECKLIST_GUIDE_PAGE_CURVES_H
00009
00010 #include "ChecklistGuidePage.h"
00011 #include <QStringList>
00012
00013 class ChecklistLineEdit;
00014 class QRadioButton;
00015
00017 class ChecklistGuidePageCurves : public ChecklistGuidePage
00018 {
00019 Q_OBJECT;
00020
00021 public:
00023 ChecklistGuidePageCurves (const QString &title);
00024
00026 QStringList curveNames () const;
00027
00029 virtual bool isComplete () const;
00030
00031 public slots:
00033 void slotTableChanged ();
00034
00036 bool withLines() const;
00037
00038 private:
00039 ChecklistGuidePageCurves ();
00040
00041 bool curveNamesAreAllUnique() const;
00042 int NUM_CURVE_NAMES () const { return 6; }
00043
00044 ChecklistLineEdit **m_edit;
00045 QRadioButton *m_btnLines;
00046 QRadioButton *m_btnPoints;
00047
00048 };
00049
00050 #endif // CHECKLIST_GUIDE_PAGE_CURVES_H