Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Toggle main menu visibility
Loading...
Searching...
No Matches
qpen_p.h
Go to the documentation of this file.
1
// Copyright (C) 2020 The Qt Company Ltd.
2
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
3
// Qt-Security score:significant reason:default
4
5
#
ifndef
QPEN_P_H
6
#
define
QPEN_P_H
7
8
//
9
// W A R N I N G
10
// -------------
11
//
12
// This file is not part of the Qt API. It exists purely as an
13
// implementation detail. This header file may change from version to
14
// version without notice, or even be removed.
15
//
16
// We mean it.
17
//
18
19
#
include
<
QtGui
/
qbrush
.
h
>
20
21
#
include
<
QtCore
/
private
/
qglobal_p
.
h
>
22
#
include
<
QtCore
/
qlist
.
h
>
23
#
include
<
QtCore
/
qnamespace
.
h
>
24
#
include
<
QtCore
/
qshareddata
.
h
>
25
26
QT_BEGIN_NAMESPACE
27
28
class
QPenPrivate
:
public
QSharedData
29
{
30
public
:
31
QPenPrivate
(
const
QBrush &brush, qreal width,
Qt
::
PenStyle
,
Qt
::
PenCapStyle
,
32
Qt::PenJoinStyle _joinStyle);
33
qreal
width
;
34
QBrush
brush
;
35
Qt
::
PenStyle
style
;
36
Qt
::
PenCapStyle
capStyle
;
37
Qt
::
PenJoinStyle
joinStyle
;
38
mutable
QList
<
qreal
>
dashPattern
;
39
qreal
dashOffset
;
40
qreal
miterLimit
;
41
uint
cosmetic
: 1;
42
};
43
44
QT_END_NAMESPACE
45
46
#
endif
// QPEN_P_H
QPenDataHolder
Definition
qpen.cpp:213
QPenDataHolder::QPenDataHolder
QPenDataHolder(const QBrush &brush, qreal width, Qt::PenStyle penStyle, Qt::PenCapStyle penCapStyle, Qt::PenJoinStyle _joinStyle)
Definition
qpen.cpp:216
QPenDataHolder::pen
QPen::DataPtr pen
Definition
qpen.cpp:215
QPenDataHolder::~QPenDataHolder
~QPenDataHolder()=default
QPenPrivate
Definition
qpen_p.h:29
QPenPrivate::dashOffset
qreal dashOffset
Definition
qpen_p.h:39
QPenPrivate::width
qreal width
Definition
qpen_p.h:33
QPenPrivate::style
Qt::PenStyle style
Definition
qpen_p.h:35
QPenPrivate::QPenPrivate
QPenPrivate(const QBrush &brush, qreal width, Qt::PenStyle, Qt::PenCapStyle, Qt::PenJoinStyle _joinStyle)
Definition
qpen.cpp:197
QPenPrivate::capStyle
Qt::PenCapStyle capStyle
Definition
qpen_p.h:36
QPenPrivate::brush
QBrush brush
Definition
qpen_p.h:34
QPenPrivate::dashPattern
QList< qreal > dashPattern
Definition
qpen_p.h:38
QPenPrivate::joinStyle
Qt::PenJoinStyle joinStyle
Definition
qpen_p.h:37
QPenPrivate::cosmetic
uint cosmetic
Definition
qpen_p.h:41
QPenPrivate::miterLimit
qreal miterLimit
Definition
qpen_p.h:40
QT_BEGIN_NAMESPACE
Combined button and popup list for selecting options.
Definition
qsequentialanimationgroup.cpp:47
operator<<
QDebug operator<<(QDebug dbg, const QPen &p)
Definition
qpen.cpp:1024
qpen_default_join
static constexpr Qt::PenJoinStyle qpen_default_join
Definition
qpen.cpp:210
qpen_default_cap
static constexpr Qt::PenCapStyle qpen_default_cap
Definition
qpen.cpp:209
operator>>
QDataStream & operator>>(QDataStream &s, QPen &p)
Definition
qpen.cpp:959
qtbase
src
gui
painting
qpen_p.h
Generated on
for Qt by
1.18.0