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