Engauge Digitizer  2
ChecklistGuidePageCurves.h
1 /******************************************************************************************************
2  * (C) 2014 markummitchell@github.com. This file is part of Engauge Digitizer, which is released *
3  * under GNU General Public License version 2 (GPLv2) or (at your option) any later version. See file *
4  * LICENSE or go to gnu.org/licenses for details. Distribution requires prior written permission. *
5  ******************************************************************************************************/
6 
7 #ifndef CHECKLIST_GUIDE_PAGE_CURVES_H
8 #define CHECKLIST_GUIDE_PAGE_CURVES_H
9 
10 #include "ChecklistGuidePage.h"
11 #include <QStringList>
12 
13 class ChecklistLineEdit;
14 class QRadioButton;
15 
18 {
19  Q_OBJECT;
20 
21  public:
23  ChecklistGuidePageCurves (const QString &title);
24 
26  QStringList curveNames () const;
27 
29  virtual bool isComplete () const;
30 
31  public slots:
33  void slotTableChanged ();
34 
36  bool withLines() const;
37 
38  private:
40 
41  bool curveNamesAreAllUnique() const;
42  int NUM_CURVE_NAMES () const { return 6; }
43 
44  ChecklistLineEdit **m_edit; // Vector array of editors
45  QRadioButton *m_btnLines;
46  QRadioButton *m_btnPoints;
47 
48 };
49 
50 #endif // CHECKLIST_GUIDE_PAGE_CURVES_H
QStringList curveNames() const
Wizard selection for curve names.
This class customizes QWizardPage for ChecklistGuideWizard.
virtual bool isComplete() const
Validate the contents of this page.
This class adds validation to the Curves page.
Adds key event handling to QLineEdit.
bool withLines() const
Drawn with lines, else points.
void slotTableChanged()
Update after curve table update.