BibleTime
src
frontend
edittextwizard
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
};
BtPlainOrHtmlPage
Definition:
btplainorhtmlpage.h:26
BtPlainOrHtmlPage::m_htmlRadioButton
QRadioButton * m_htmlRadioButton
Definition:
btplainorhtmlpage.h:41
BtPlainOrHtmlPage::BtPlainOrHtmlPage
BtPlainOrHtmlPage(QWidget *parent=nullptr)
Definition:
btplainorhtmlpage.cpp:22
BtPlainOrHtmlPage::retranslateUi
void retranslateUi()
Definition:
btplainorhtmlpage.cpp:56
BtPlainOrHtmlPage::m_verticalLayout
QVBoxLayout * m_verticalLayout
Definition:
btplainorhtmlpage.h:43
BtPlainOrHtmlPage::setHtmlMode
void setHtmlMode(bool html)
Definition:
btplainorhtmlpage.cpp:51
BtPlainOrHtmlPage::htmlMode
bool htmlMode() const
Definition:
btplainorhtmlpage.cpp:47
BtPlainOrHtmlPage::m_plainTextRadioButton
QRadioButton * m_plainTextRadioButton
Definition:
btplainorhtmlpage.h:40
BtPlainOrHtmlPage::m_groupBox
QGroupBox * m_groupBox
Definition:
btplainorhtmlpage.h:42
QWidget
QWizardPage
Generated by
1.9.1