Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
Loading...
Searching...
No Matches
qproxystyle_p.h
Go to the documentation of this file.
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 QPROXYSTYLE_P_H
5
#define QPROXYSTYLE_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 for the convenience
12
// of qapplication_*.cpp, qwidget*.cpp and qfiledialog.cpp. This header
13
// file may change from version to version without notice, or even be removed.
14
//
15
// We mean it.
16
//
17
18
#include <QtWidgets/private/qtwidgetsglobal_p.h>
19
#include "
qcommonstyle.h
"
20
#include "
qcommonstyle_p.h
"
21
#include "
qproxystyle.h
"
22
23
#include <QtCore/qpointer.h>
24
25
#ifndef QT_NO_STYLE_PROXY
26
27
QT_BEGIN_NAMESPACE
28
29
class
QProxyStylePrivate
:
public
QCommonStylePrivate
30
{
31
Q_DECLARE_PUBLIC(
QProxyStyle
)
32
public
:
33
void
ensureBaseStyle
()
const
;
34
private
:
35
QProxyStylePrivate
() :
36
QCommonStylePrivate
(), baseStyle(
nullptr
) {}
37
mutable
QPointer <QStyle> baseStyle;
38
};
39
40
QT_END_NAMESPACE
41
42
#endif
// QT_NO_STYLE_PROXY
43
44
#endif
//QPROXYSTYLE_P_H
QCommonStylePrivate
Definition
qcommonstyle_p.h:33
QCommonStylePrivate::QCommonStylePrivate
QCommonStylePrivate()
Definition
qcommonstyle_p.h:36
QProxyStylePrivate
Definition
qproxystyle_p.h:30
QProxyStylePrivate::ensureBaseStyle
void ensureBaseStyle() const
Definition
qproxystyle.cpp:51
QProxyStyle
The QProxyStyle class is a convenience class that simplifies dynamically overriding QStyle elements.
Definition
qproxystyle.h:17
QT_BEGIN_NAMESPACE
Combined button and popup list for selecting options.
Definition
qstandardpaths_haiku.cpp:21
QT_END_NAMESPACE
Definition
qsharedpointer.cpp:1590
qcommonstyle.h
qcommonstyle_p.h
qproxystyle.h
qtbase
src
widgets
styles
qproxystyle_p.h
Generated by
1.10.0