BibleTime
btplainorhtmlpage.h
Go to the documentation of this file.
1 /*********
2 *
3 * In the name of the Father, and of the Son, and of the Holy Spirit.
4 *
5 * This file is part of BibleTime's source code, https://bibletime.info/
6 *
7 * Copyright 1999-2021 by the BibleTime developers.
8 * The BibleTime source code is licensed under the GNU General Public License
9 * version 2.0.
10 *
11 **********/
12 
13 #pragma once
14 
15 #include <QWizardPage>
16 
17 #include <QObject>
18 #include <QString>
19 
20 
21 class QGroupBox;
22 class QRadioButton;
23 class QVBoxLayout;
24 class QWidget;
25 
26 class BtPlainOrHtmlPage final: public QWizardPage {
27 
28  Q_OBJECT
29 
30 public:
31 
32  BtPlainOrHtmlPage(QWidget * parent = nullptr);
33  bool htmlMode() const;
34  void setHtmlMode(bool html);
35 
36 private:
37 
38  void retranslateUi();
39 
40  QRadioButton * m_plainTextRadioButton;
41  QRadioButton * m_htmlRadioButton;
42  QGroupBox * m_groupBox;
43  QVBoxLayout * m_verticalLayout;
44 };
QRadioButton * m_htmlRadioButton
BtPlainOrHtmlPage(QWidget *parent=nullptr)
QVBoxLayout * m_verticalLayout
void setHtmlMode(bool html)
QRadioButton * m_plainTextRadioButton
QGroupBox * m_groupBox