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
qscrollarea_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
// Qt-Security score:significant reason:default
4
5
#
ifndef
QSCROLLAREA_P_H
6
#
define
QSCROLLAREA_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
<
QtWidgets
/
private
/
qtwidgetsglobal_p
.
h
>
20
21
#
include
"private/qabstractscrollarea_p.h"
22
#
include
<
QtWidgets
/
qscrollbar
.
h
>
23
24
#
include
<
QtCore
/
qpointer
.
h
>
25
26
QT_REQUIRE_CONFIG
(
scrollarea
);
27
28
QT_BEGIN_NAMESPACE
29
30
class
QScrollAreaPrivate:
public
QAbstractScrollAreaPrivate
31
{
32
Q_DECLARE_PUBLIC(QScrollArea)
33
34
public
:
35
QScrollAreaPrivate(): resizable(
false
) {}
36
void
updateScrollBars();
37
void
updateWidgetPosition();
38
QPointer<QWidget> widget;
39
mutable
QSize widgetSize;
40
bool
resizable;
41
Qt::Alignment alignment;
42
};
43
44
QT_END_NAMESPACE
45
46
#
endif
QT_REQUIRE_CONFIG
QT_REQUIRE_CONFIG(scrollarea)
qtbase
src
widgets
widgets
qscrollarea_p.h
Generated on
for Qt by
1.18.0