Engauge Digitizer 2
Loading...
Searching...
No Matches
ChecklistGuidePageCurves.h
Go to the documentation of this file.
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
14class 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
This class adds validation to the Curves page.
void slotTableChanged()
Update after curve table update.
virtual bool isComplete() const
Validate the contents of this page.
QStringList curveNames() const
Wizard selection for curve names.
bool withLines() const
Drawn with lines, else points.
This class customizes QWizardPage for ChecklistGuideWizard.
Adds key event handling to QLineEdit.