1 | // Copyright (C) 2016 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 QFRAME_P_H |
5 | #define QFRAME_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 <QtWidgets/private/qtwidgetsglobal_p.h> |
19 | #include "private/qwidget_p.h" |
20 | #include "qframe.h" |
21 | |
22 | QT_BEGIN_NAMESPACE |
23 | |
24 | class QFramePrivate : public QWidgetPrivate |
25 | { |
26 | Q_DECLARE_PUBLIC(QFrame) |
27 | public: |
28 | QFramePrivate(); |
29 | ~QFramePrivate(); |
30 | |
31 | void updateFrameWidth(); |
32 | void updateStyledFrameWidths(); |
33 | |
34 | QRect frect; |
35 | int frameStyle; |
36 | short lineWidth; |
37 | short midLineWidth; |
38 | short frameWidth; |
39 | short leftFrameWidth, rightFrameWidth; |
40 | short topFrameWidth, bottomFrameWidth; |
41 | |
42 | inline void init(); |
43 | |
44 | }; |
45 | |
46 | QT_END_NAMESPACE |
47 | |
48 | #endif // QFRAME_P_H |
49 | |