Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
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
27
29{
30public:
31 QPenPrivate(const QBrush &brush, qreal width, Qt::PenStyle, Qt::PenCapStyle,
32 Qt::PenJoinStyle _joinStyle);
34 QBrush brush;
42};
43
44QT_END_NAMESPACE
45
46#endif // QPEN_P_H
QPenDataHolder(const QBrush &brush, qreal width, Qt::PenStyle penStyle, Qt::PenCapStyle penCapStyle, Qt::PenJoinStyle _joinStyle)
Definition qpen.cpp:211
QPen::DataPtr pen
Definition qpen.cpp:210
~QPenDataHolder()=default
qreal dashOffset
Definition qpen_p.h:39
qreal width
Definition qpen_p.h:33
Qt::PenStyle style
Definition qpen_p.h:35
QPenPrivate(const QBrush &brush, qreal width, Qt::PenStyle, Qt::PenCapStyle, Qt::PenJoinStyle _joinStyle)
Definition qpen.cpp:192
Qt::PenCapStyle capStyle
Definition qpen_p.h:36
QBrush brush
Definition qpen_p.h:34
QList< qreal > dashPattern
Definition qpen_p.h:38
Qt::PenJoinStyle joinStyle
Definition qpen_p.h:37
uint cosmetic
Definition qpen_p.h:41
qreal miterLimit
Definition qpen_p.h:40
Combined button and popup list for selecting options.
QDebug operator<<(QDebug dbg, const QPen &p)
Definition qpen.cpp:1017
static constexpr Qt::PenJoinStyle qpen_default_join
Definition qpen.cpp:205
static constexpr Qt::PenCapStyle qpen_default_cap
Definition qpen.cpp:204
QDataStream & operator>>(QDataStream &s, QPen &p)
Definition qpen.cpp:952