Engauge Digitizer 2
Loading...
Searching...
No Matches
ChecklistGuideWizard.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_WIZARD_H
8#define CHECKLIST_GUIDE_WIZARD_H
9
10#include "CoordSystemIndex.h"
11#include <QList>
12#include <QStringList>
13#include <QWizard>
14
18class CurvesGraphs;
19class MainWindow;
20class QPushButton;
21
23class ChecklistGuideWizard : public QWizard
24{
25 Q_OBJECT;
26
27 public:
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
unsigned int CoordSystemIndex
Zero-based index for identifying CoordSystem instantiations.
This class uses the validation method of the Conclusion page to perform final processing for Checklis...
This class adds validation to the Curves page.
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.
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.
Container for all graph curves. The axes point curve is external to this class.
Main window consisting of menu, graphics scene, status bar and optional toolbars as a Single Document...
Definition MainWindow.h:92