This class adds validation to the Curves page.
More...
#include <ChecklistGuidePageCurves.h>
This class adds validation to the Curves page.
Definition at line 16 of file ChecklistGuidePageCurves.h.
◆ ChecklistGuidePageCurves()
| ChecklistGuidePageCurves::ChecklistGuidePageCurves |
( |
const QString & |
title | ) |
|
Single constructor.
Definition at line 16 of file ChecklistGuidePageCurves.cpp.
21 const QString WHATS_THIS_CURVE (tr (
"Curve name. Empty if unused."));
22 const QString WHATS_THIS_LINES (tr (
"Draw lines between points in each curve."));
23 const QString WHATS_THIS_POINTS (tr (
"Draw points in each curve, without lines between the points."));
26 .arg (tr (
"What are the names of the curves that are to be digitized? At least one entry is required.")));
30 for (
int i = 0; i < NUM_CURVE_NAMES(); i++) {
32 connect (m_edit [i], SIGNAL (signalKeyRelease()),
this, SLOT (
slotTableChanged()));
41 m_edit [0]->setText (curveName);
46 .arg (tr (
"How are those curves drawn?")));
53 m_btnLines->setChecked (
true);
◆ curveNames()
| QStringList ChecklistGuidePageCurves::curveNames |
( |
| ) |
const |
Wizard selection for curve names.
Definition at line 56 of file ChecklistGuidePageCurves.cpp.
60 for (
int i = 0; i < NUM_CURVE_NAMES(); i++) {
61 const QLineEdit *edit = m_edit [i];
62 QString text = edit->text();
63 if (!text.isEmpty()) {
◆ isComplete()
| bool ChecklistGuidePageCurves::isComplete |
( |
| ) |
const |
|
virtual |
◆ slotTableChanged
| void ChecklistGuidePageCurves::slotTableChanged |
( |
| ) |
|
|
slot |
◆ withLines
| bool ChecklistGuidePageCurves::withLines |
( |
| ) |
const |
|
slot |
The documentation for this class was generated from the following files:
QRadioButton * addLabelAndRadioButton(const QString &label, const QString &whatsThis)
Insert radio button and corresponding label.
void addLineEdit(ChecklistLineEdit *edit, const QString &whatsThis)
Insert line edit.
void addHtml(const QString &html)
Insert html for display.
This class customizes QWizardPage for ChecklistGuideWizard.
QStringList curveNames() const
Wizard selection for curve names.
void slotTableChanged()
Update after curve table update.