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
qscrollbar_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 QSCROLLBAR_P_H
5#define QSCROLLBAR_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/qabstractslider_p.h"
20#include "qstyle.h"
21
23
25
27{
28 Q_DECLARE_PUBLIC(QScrollBar)
29public:
32
34
35 void activateControl(uint control, int threshold = 500);
36 void stopRepeatAction();
37 int pixelPosToRangeValue(int pos) const;
38 void init();
39 bool updateHoverControl(const QPoint &pos);
41
44
46 void setTransient(bool value);
47
48 bool flashed;
50 void flash();
51};
52
54
55#endif // QSCROLLBAR_P_H
\inmodule QtCore\reentrant
Definition qpoint.h:25
\inmodule QtCore\reentrant
Definition qrect.h:30
QStyle::SubControl newHoverControl(const QPoint &pos)
void activateControl(uint control, int threshold=500)
void setTransient(bool value)
QStyle::SubControl pressedControl
QStyle::SubControl hoverControl
bool pointerOutsidePressedControl
int pixelPosToRangeValue(int pos) const
bool updateHoverControl(const QPoint &pos)
The QScrollBar widget provides a vertical or horizontal scroll bar.
Definition qscrollbar.h:20
SubControl
This enum describes the available sub controls.
Definition qstyle.h:347
Combined button and popup list for selecting options.
EGLOutputLayerEXT EGLint EGLAttrib value
[5]
#define QT_REQUIRE_CONFIG(feature)
unsigned int uint
Definition qtypes.h:34