Engauge Digitizer  2
ChecklistGuidePage.h
1 #ifndef CHECKLIST_GUIDE_PAGE_H
2 #define CHECKLIST_GUIDE_PAGE_H
3 
4 #include <QWizardPage>
5 
7 class QGridLayout;
8 class QRadioButton;
9 class QString;
10 class QVBoxLayout;
11 
13 class ChecklistGuidePage : public QWizardPage
14 {
15  public:
17  ChecklistGuidePage(const QString &title);
18 
20  void addHtml (const QString &html);
21 
23  QRadioButton *addLabelAndRadioButton (const QString &label);
24 
26  void addLineEdit (ChecklistLineEdit *edit);
27 
28  private:
30 
31  QGridLayout *m_layout;
32  int m_row;
33 
34  // If ChecklistLineEdits are added, they are all put into a single QWidget since the spacing
35  // in that QWidget can be set to zero. This prevents huge ugly gaps between adjacent CheclistLineEdits
36  QWidget *m_checklineLineEditContainer; // 0 until used
37  QVBoxLayout *m_checklineLineEditLayout; // 0 until used
38 };
39 
40 #endif // CHECKLIST_GUIDE_PAGE_H
void addLineEdit(ChecklistLineEdit *edit)
Insert line edit.
This class customizes QWizardPage for ChecklistGuideWizard.
void addHtml(const QString &html)
Insert html for display.
QRadioButton * addLabelAndRadioButton(const QString &label)
Insert radio button and corresponding label.
Adds key event handling to QLineEdit.