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
qcolumnviewgrip_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
QCOLUMNVIEWGRIP_P_H
6
#
define
QCOLUMNVIEWGRIP_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 for the convenience
13
// of other Qt classes. 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
#
include
<
private
/
qwidget_p
.
h
>
21
22
QT_REQUIRE_CONFIG
(
columnview
);
23
24
QT_BEGIN_NAMESPACE
25
26
class
QColumnViewGripPrivate;
27
28
class
Q_AUTOTEST_EXPORT
QColumnViewGrip
:
public
QWidget {
29
30
Q_OBJECT
31
32
Q_SIGNALS:
33
void
gripMoved(
int
offset);
34
35
public
:
36
explicit
QColumnViewGrip(QWidget *parent =
nullptr
);
37
~QColumnViewGrip();
38
int
moveGrip(
int
offset);
39
40
protected
:
41
QColumnViewGrip(QColumnViewGripPrivate &, QWidget *parent =
nullptr
, Qt::WindowFlags f = { });
42
void
paintEvent(QPaintEvent *event) override;
43
void
mouseDoubleClickEvent(QMouseEvent *event) override;
44
void
mouseMoveEvent(QMouseEvent *event) override;
45
void
mouseReleaseEvent(QMouseEvent *event) override;
46
void
mousePressEvent(QMouseEvent *event) override;
47
48
private
:
49
Q_DECLARE_PRIVATE(QColumnViewGrip)
50
Q_DISABLE_COPY_MOVE(QColumnViewGrip)
51
};
52
53
class
QColumnViewGripPrivate
:
public
QWidgetPrivate
54
{
55
Q_DECLARE_PUBLIC(QColumnViewGrip)
56
57
public
:
58
QColumnViewGripPrivate
();
59
~
QColumnViewGripPrivate
() {}
60
61
int
originalXLocation
;
62
};
63
64
QT_END_NAMESPACE
65
66
#
endif
//QCOLUMNVIEWGRIP_P_H
QColumnViewGripPrivate
Definition
qcolumnviewgrip_p.h:54
QColumnViewGripPrivate::~QColumnViewGripPrivate
~QColumnViewGripPrivate()
Definition
qcolumnviewgrip_p.h:59
QColumnViewGripPrivate::originalXLocation
int originalXLocation
Definition
qcolumnviewgrip_p.h:61
QColumnViewGrip
\inmodule QtWidgets
Definition
qcolumnviewgrip_p.h:28
QT_BEGIN_NAMESPACE
Combined button and popup list for selecting options.
Definition
qsequentialanimationgroup.cpp:47
QT_REQUIRE_CONFIG
QT_REQUIRE_CONFIG(columnview)
qtbase
src
widgets
itemviews
qcolumnviewgrip_p.h
Generated on
for Qt by
1.18.0