Engauge Digitizer  2
ChecklistGuideWizard.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_WIZARD_H
8 #define CHECKLIST_GUIDE_WIZARD_H
9 
10 #include "CoordSystemIndex.h"
11 #include <QList>
12 #include <QStringList>
13 #include <QWizard>
14 
18 class CurvesGraphs;
19 class MainWindow;
20 class QPushButton;
21 
23 class ChecklistGuideWizard : public QWizard
24 {
25  Q_OBJECT;
26 
27  public:
29  ChecklistGuideWizard(MainWindow &mainWindow,
30  unsigned int numberCoordSystem);
31 
33  QStringList curveNames(CoordSystemIndex coordSystemIndex) const;
34 
36  void populateCurvesGraphs (CoordSystemIndex coordSystemIndex,
37  CurvesGraphs &curvesGraphs);
38 
40  QString templateHtml (CoordSystemIndex coordSystemIndex) const;
41 
42  private:
44 
45  QString pageCurvesTitle (CoordSystemIndex coordSystemIndex,
46  unsigned int numberCoordSystem) const;
47  QString templateHtmlToAdjustColorFilterSettings () const;
48 
49  MainWindow &m_mainWindow;
50 
51  QPushButton *m_btnCancel;
52  QPushButton *m_btnOk;
53 
54  QString m_dialogName;
55 
56  ChecklistGuidePageIntro *m_pageIntro;
57  QList<ChecklistGuidePageCurves *> m_pageCurves; // One page per coordinate system
58  ChecklistGuidePageConclusion *m_pageConclusion;
59 };
60 
61 #endif // CHECKLIST_GUIDE_WIZARD_H
Container for all graph curves. The axes point curve is external to this class.
Definition: CurvesGraphs.h:24
This class sets up the introduction page.
Wizard for setting up the checklist guide.
QStringList curveNames(CoordSystemIndex coordSystemIndex) const
Curve names to be placed into Document.
This class adds validation to the Curves page.
This class uses the validation method of the Conclusion page to perform final processing for Checklis...
QString templateHtml(CoordSystemIndex coordSystemIndex) const
Template html comprising the checklist for display.
void populateCurvesGraphs(CoordSystemIndex coordSystemIndex, CurvesGraphs &curvesGraphs)
Create entries in CurvesGraphs for each curve name that user provided.
Main window consisting of menu, graphics scene, status bar and optional toolbars as a Single Document...
Definition: MainWindow.h:89