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
4#ifndef QPEN_P_H
5#define QPEN_P_H
6
7//
8// W A R N I N G
9// -------------
10//
11// This file is not part of the Qt API. It exists purely as an
12// implementation detail. This header file may change from version to
13// version without notice, or even be removed.
14//
15// We mean it.
16//
17
18#include <QtGui/qbrush.h>
19
20#include <QtCore/private/qglobal_p.h>
21#include <QtCore/qlist.h>
22#include <QtCore/qnamespace.h>
23#include <QtCore/qshareddata.h>
24
26
28{
29public:
30 QPenPrivate(const QBrush &brush, qreal width, Qt::PenStyle, Qt::PenCapStyle,
31 Qt::PenJoinStyle _joinStyle);
33 QBrush brush;
41};
42
43QT_END_NAMESPACE
44
45#endif // QPEN_P_H
QPenDataHolder(const QBrush &brush, qreal width, Qt::PenStyle penStyle, Qt::PenCapStyle penCapStyle, Qt::PenJoinStyle _joinStyle)
Definition qpen.cpp:209
QPen::DataPtr pen
Definition qpen.cpp:208
~QPenDataHolder()=default
qreal dashOffset
Definition qpen_p.h:38
qreal width
Definition qpen_p.h:32
Qt::PenStyle style
Definition qpen_p.h:34
QPenPrivate(const QBrush &brush, qreal width, Qt::PenStyle, Qt::PenCapStyle, Qt::PenJoinStyle _joinStyle)
Definition qpen.cpp:190
Qt::PenCapStyle capStyle
Definition qpen_p.h:35
QBrush brush
Definition qpen_p.h:33
QList< qreal > dashPattern
Definition qpen_p.h:37
Qt::PenJoinStyle joinStyle
Definition qpen_p.h:36
uint cosmetic
Definition qpen_p.h:40
qreal miterLimit
Definition qpen_p.h:39
Combined button and popup list for selecting options.
QDebug operator<<(QDebug dbg, const QPen &p)
Definition qpen.cpp:1015
static constexpr Qt::PenJoinStyle qpen_default_join
Definition qpen.cpp:203
static constexpr Qt::PenCapStyle qpen_default_cap
Definition qpen.cpp:202
QDataStream & operator>>(QDataStream &s, QPen &p)
Definition qpen.cpp:950