19 LOG4CPP_INFO_S ((*mainCat)) <<
"ChecklistGuidePageCurves::ChecklistGuidePageCurves";
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."));
25 addHtml (tr (
"<p>What are the names of the curves that are to be digitized? At least one entry is required.</p>"));
29 for (
int i = 0; i < NUM_CURVE_NAMES(); i++) {
31 connect (m_edit [i], SIGNAL (signalKeyRelease()),
this, SLOT (
slotTableChanged()));
38 DEFAULT_GRAPH_CURVE_NAME);
40 m_edit [0]->setText (curveName);
44 addHtml (tr (
"<p>How are those curves drawn?</p>"));
51 m_btnLines->setChecked (
true);
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.
ChecklistGuidePageCurves(const QString &title)
Single constructor.
bool withLines() const
Drawn with lines, else points.
This class customizes QWizardPage for ChecklistGuideWizard.
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.