Template html comprising the checklist for display.
115{
117
118 QStringList
curveNames = m_pageCurves [signed (coordSystemIndex)]->curveNames();
119 bool withLines = m_pageCurves [signed (coordSystemIndex)]->withLines();
120
121 QString html;
122 QTextStream str (&html);
123
124
125 str << "<style type='text/css'>li { margin-top: 10px 0; }</style>";
126
127 str << "<p>" << tr ("Follow this checklist of steps to digitize your image. Each step will show a check when it has been completed.");
128 str << "<p>" << tr ("The coordinates are defined by creating axis points") << ":</p>\n";
131 str << "<ul>\n";
132 str << "<li>" << tr ("Click on") << " <img src="":/engauge/img/16-DigitAxis""> " << tr ("for Axis Points mode") << "</li>\n";
133 str << "<li>" << tr ("Click on an axis tick mark, or intersection of two grid lines, with labeled coordinates") << "</li>\n";
134 str << "<li>" << tr ("Enter the coordinates of the axis point") << "</li>\n";
135 str << "<li>" << tr ("Click on Ok") << "</li>\n";
136 str << "</ul>\n";
140 str << "<ul>\n";
141 str << "<li>" << tr ("Click on") << " <img src="":/engauge/img/16-DigitAxis""> " << tr ("for Axis Points mode") << "</li>\n";
142 str << "<li>" << tr ("Click on an axis tick mark, or intersection of two grid lines, with labeled coordinates, away from the other axis point") << "</li>\n";
143 str << "<li>" << tr ("Enter the coordinates of the axis point") << "</li>\n";
144 str << "<li>" << tr ("Click on Ok") << "</li>\n";
145 str << "</ul>\n";
149 str << "<ul>\n";
150 str << "<li>" << tr ("Click on") << " <img src="":/engauge/img/16-DigitAxis""> " << tr ("for Axis Points mode") << "</li>\n";
151 str << "<li>" << tr ("Click on an axis tick mark, or intersection of two grid lines, with labeled coordinates, away from the other axis points") << "</li>\n";
152 str << "<li>" << tr ("Enter the coordinates of the axis point") << "</li>\n";
153 str << "<li>" << tr ("Click on Ok") << "</li>\n";
154 str << "</ul>\n";
156
157 str << "<p> </p>\n";
158 str << "<p>" << tr ("Points are digitized along each curve") << ":</p>\n";
159 QStringList::const_iterator itr;
161
162 QString curveName = *itr;
163
164 QString tagACurve = QString ("%1%2%3")
166 .arg (curveName)
168
170 << " " << tr ("Add points for curve") << " <b>" << curveName << "</b>. " << tagACurve << "</p>\n";
172 str << "<ul>\n";
173
174 if (withLines) {
175
176 str << "<li>" << tr ("Click on") << " <img src="":/engauge/img/16-DigitSegment""> " << tr ("for Segment Fill mode") << "</li>\n";
177 str << "<li>" << tr ("Select curve") << " <b>" << curveName << "</b> " << tr ("in the drop-down list") << "</li>\n";
178 str << "<li>" << tr ("Move the cursor over the curve. If a line does not appear then adjust the Color Filter settings for this curve") << ":\n";
179 str << templateHtmlToAdjustColorFilterSettings () << "</li>\n";
180 str << "<li>" << tr ("Move the cursor over the curve again. When the Segment Fill line appears, click on it to generate points") << "</li>\n";
181 str << "</ul>\n";
182
183 } else {
184
185 str << "<li>" << tr ("Click on") << " <img src="":/engauge/img/16-DigitPointMatch""> " << tr ("for Point Match mode") << "</li>\n";
186 str << "<li>" << tr ("Select curve") << " <b>" << curveName << "</b> " << tr ("in the drop-down list") << "</li>\n";
187 str << "<li>" << tr ("Move the cursor over a typical point in the curve. If the cursor circle does not change color then adjust "
188 "the Color Filter settings for this curve") << ":\n";
189 str << templateHtmlToAdjustColorFilterSettings () << "</li>\n";
190 str << "<li>" << tr ("Move the cursor over a typical point in the curve again. Click on the point to start point matching") << "</li>\n";
191 str << "<li>" << tr ("Engauge will display a candidate point. To accept that candidate point, press the right arrow key") << "</li>\n";
192 str << "<li>" << tr ("The previous step repeats until you select a different mode") << "</li>\n";
193 str << "</ul>\n";
194 }
195
197 }
198
199 str << "<p> </p>\n";
200 str << "<p>" << tr ("The digitized points can be exported") << ":</p>\n";
203 str << "<ul>\n";
204 str << "<li>" << tr ("Select menu option File / Export") << "</li>\n";
205 str << "<li>" << tr ("Enter the file name") << "</li>\n";
206 str << "<li>" << tr ("Click on Ok") << "</li>\n";
207 str << "<li>" << tr ("Congratulations!") << "</li>\n";
208 str << "</ul>\n";
210
211 str << "<p> </p>\n";
212 str <<
"<p>" << tr (
"Hint - The background image can be switched between the original image and filtered image.") <<
" " <<
TAG_AHREF_BACKGROUND <<
"</p>\n";
214 str << "<ul>\n";
215 str << "<li>" << tr ("Select menu option View / Background / Show Original Image to see the original image") << "</li>\n";
216 str << "<li>" << tr ("Select menu option View / Background / Show Filtered Image to see the image from Color Filter") << "</li>\n";
217 str << "</ul>\n";
219
220 return html;
221}
const QString TAG_DIV_AXIS_END_3
const QString TAG_DIV_BACKGROUND_END
const QString TAG_ANCHOR_AXIS_2
const QString TAG_DIV_AXIS_START_3
const QString TAG_DIV_AXIS_END_1
const QString TAG_DIV_EXPORT_END
const QString TAG_DIV_BACKGROUND_START
const QString TAG_ANCHOR_EXPORT
const QString TAG_DIV_DELIMITER_END
const QString TAG_DIV_AXIS_START_1
const QString TAG_AHREF_BACKGROUND
const QString TAG_ANCHOR_AXIS_3
const QString TAG_AHREF_DELIMITER_END
const QString TAG_DIV_AXIS_START_2
const QString TAG_AHREF_EXPORT
const QString TAG_DIV_DELIMITER_START_SLASH
const QString TAG_AHREF_AXIS_1
const QString TAG_ANCHOR_AXIS_1
const QString TAG_ANCHOR_DELIMITER_END
const QString TAG_AHREF_DELIMITER_START
const QString TAG_AHREF_AXIS_3
const QString TAG_DIV_AXIS_END_2
const QString TAG_AHREF_AXIS_2
const QString TAG_DIV_DELIMITER_START
const QString TAG_ANCHOR_DELIMITER_START
const QString TAG_DIV_EXPORT_START