BibleTime
Toggle main menu visibility
Main Page
Related Pages
Namespaces
Namespace List
Namespace Members
All
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
Functions
a
b
c
d
e
f
g
h
i
l
m
n
p
q
r
s
t
v
Variables
a
b
c
d
g
h
i
k
l
m
p
r
s
u
Typedefs
Enumerations
Enumerator
Classes
Class List
Class Index
Class Hierarchy
Class Members
All
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
~
Functions
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
~
Variables
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
Typedefs
Enumerations
Enumerator
a
b
c
d
e
f
g
h
i
l
m
n
p
r
s
t
u
w
Properties
Related Symbols
Files
File List
File Members
All
a
b
c
e
f
h
i
j
k
l
m
o
p
r
s
t
u
w
Functions
b
c
f
i
j
l
m
o
p
r
t
Variables
Typedefs
Enumerations
Enumerator
Macros
a
b
c
i
l
m
r
s
t
u
w
src
frontend
display
btcolorwidget.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 <QFrame>
16
17
#include <QColor>
18
#include <QObject>
19
#include <QSize>
20
#include <QString>
21
22
23
class
QMouseEvent;
24
class
QWidget
;
25
26
class
BtColorWidget
:
public
QFrame
{
27
28
Q_OBJECT
29
30
public
:
31
32
BtColorWidget
(
QWidget
* parent =
nullptr
);
33
34
QSize
sizeHint
()
const override
;
35
36
public
Q_SLOTS:
37
38
void
setColor
(QColor
const
& color);
39
40
protected
:
// methods:
41
42
void
mouseReleaseEvent
(QMouseEvent * event)
override
;
43
44
Q_SIGNALS:
45
46
void
changed
(QColor
const
& color);
47
48
};
26
class
BtColorWidget
:
public
QFrame
{
…
};
BtColorWidget
Definition
btcolorwidget.h:26
BtColorWidget::setColor
void setColor(QColor const &color)
Definition
btcolorwidget.cpp:34
BtColorWidget::changed
void changed(QColor const &color)
BtColorWidget::sizeHint
QSize sizeHint() const override
Definition
btcolorwidget.cpp:32
BtColorWidget::mouseReleaseEvent
void mouseReleaseEvent(QMouseEvent *event) override
Definition
btcolorwidget.cpp:41
QFrame
QWidget
Generated by
1.9.8