BibleTime
btfontsizewidget.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 <QComboBox>
16
17#include <QObject>
18#include <QString>
19
20
21class QIntValidator;
22class QWidget;
23
25
26 Q_OBJECT
27
28public: // methods:
29
30 BtFontSizeWidget(QWidget * parent = nullptr);
31
32 int fontSize() const;
33
34public Q_SLOTS:
35
36 void setFontSize(int size);
37
38Q_SIGNALS:
39
40 void fontSizeChanged(int);
41
42private: // fields:
43
44 QIntValidator * const m_validator;
45
46}; /* class BtFontSizeWidget { */
QIntValidator *const m_validator
void setFontSize(int size)
void fontSizeChanged(int)