BibleTime
btedittextwizard.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-2025 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 <QWizard>
16
17#include <QObject>
18#include <QString>
19#include <Qt>
20
21
23class BtEditTextPage;
24class QFont;
25class QWidget;
26
27/** \brief The Edit Text wizard for editing the personal commentary. */
28class BtEditTextWizard final: public QWizard {
29
30 Q_OBJECT
31
32public: // methods:
33
34 BtEditTextWizard(QWidget * parent = nullptr, Qt::WindowFlags flags = Qt::WindowFlags());
35
36 bool htmlMode() const;
37 void setFont(const QFont& font);
38 void setText(const QString& text);
39 void setTitle(const QString& text);
40 QString text() const;
41
42public Q_SLOTS:
43
44 void accept() final override;
45
46private:
47
48 void retranslateUi();
49
52
53}; /* class BtEditTextWizard */
The Edit Text wizard for editing the personal commentary.
QString text() const
void accept() final override
BtPlainOrHtmlPage *const m_plainOrHtmlPage
void setFont(const QFont &font)
void setText(const QString &text)
BtEditTextPage *const m_editTextPage
void setTitle(const QString &text)