Engauge Digitizer
2
Toggle main menu visibility
Loading...
Searching...
No Matches
Checklist
ChecklistGuidePage.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_PAGE_H
8
#define CHECKLIST_GUIDE_PAGE_H
9
10
#include <QWizardPage>
11
12
class
ChecklistLineEdit
;
13
class
QGridLayout;
14
class
QRadioButton;
15
class
QString;
16
class
QVBoxLayout;
17
19
class
ChecklistGuidePage
:
public
QWizardPage
20
{
21
public
:
23
ChecklistGuidePage
(
const
QString &title);
24
26
void
addHtml
(
const
QString &html);
27
29
QRadioButton *
addLabelAndRadioButton
(
const
QString &label,
30
const
QString &whatsThis);
31
33
void
addLineEdit
(
ChecklistLineEdit
*edit,
34
const
QString &whatsThis);
35
36
private
:
37
ChecklistGuidePage
();
38
39
QGridLayout *m_layout;
40
int
m_row;
41
42
// If ChecklistLineEdits are added, they are all put into a single QWidget since the spacing
43
// in that QWidget can be set to zero. This prevents huge ugly gaps between adjacent CheclistLineEdits
44
QWidget *m_checklineLineEditContainer;
// 0 until used
45
QVBoxLayout *m_checklineLineEditLayout;
// 0 until used
46
};
47
48
#endif
// CHECKLIST_GUIDE_PAGE_H
ChecklistGuidePage::addLabelAndRadioButton
QRadioButton * addLabelAndRadioButton(const QString &label, const QString &whatsThis)
Insert radio button and corresponding label.
Definition
ChecklistGuidePage.cpp:39
ChecklistGuidePage::addLineEdit
void addLineEdit(ChecklistLineEdit *edit, const QString &whatsThis)
Insert line edit.
Definition
ChecklistGuidePage.cpp:55
ChecklistGuidePage::ChecklistGuidePage
ChecklistGuidePage(const QString &title)
Single constructor.
Definition
ChecklistGuidePage.cpp:16
ChecklistGuidePage::addHtml
void addHtml(const QString &html)
Insert html for display.
Definition
ChecklistGuidePage.cpp:29
ChecklistLineEdit
Adds key event handling to QLineEdit.
Definition
ChecklistLineEdit.h:14
Generated on
for Engauge Digitizer by
1.17.0