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
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
4#ifndef QCOLUMNVIEWGRIP_P_H
5#define QCOLUMNVIEWGRIP_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 other Qt classes. 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
22
24
26
28
30
32 void gripMoved(int offset);
33
34public:
35 explicit QColumnViewGrip(QWidget *parent = nullptr);
37 int moveGrip(int offset);
38
39protected:
40 QColumnViewGrip(QColumnViewGripPrivate &, QWidget *parent = nullptr, Qt::WindowFlags f = { });
41 void paintEvent(QPaintEvent *event) override;
43 void mouseMoveEvent(QMouseEvent *event) override;
44 void mouseReleaseEvent(QMouseEvent *event) override;
45 void mousePressEvent(QMouseEvent *event) override;
46
47private:
48 Q_DECLARE_PRIVATE(QColumnViewGrip)
49 Q_DISABLE_COPY_MOVE(QColumnViewGrip)
50};
51
53{
54 Q_DECLARE_PUBLIC(QColumnViewGrip)
55
56public:
59
61};
62
64
65#endif //QCOLUMNVIEWGRIP_P_H
void gripMoved(int offset)
\inmodule QtGui
Definition qevent.h:196
The QPaintEvent class contains event parameters for paint events.
Definition qevent.h:486
The QWidget class is the base class of all user interface objects.
Definition qwidget.h:99
virtual void mouseMoveEvent(QMouseEvent *event)
This event handler, for event event, can be reimplemented in a subclass to receive mouse move events ...
Definition qwidget.cpp:9461
virtual void mousePressEvent(QMouseEvent *event)
This event handler, for event event, can be reimplemented in a subclass to receive mouse press events...
Definition qwidget.cpp:9483
virtual void mouseDoubleClickEvent(QMouseEvent *event)
This event handler, for event event, can be reimplemented in a subclass to receive mouse double click...
Definition qwidget.cpp:9530
virtual void mouseReleaseEvent(QMouseEvent *event)
This event handler, for event event, can be reimplemented in a subclass to receive mouse release even...
Definition qwidget.cpp:9508
virtual void paintEvent(QPaintEvent *event)
This event handler can be reimplemented in a subclass to receive paint events passed in event.
Definition qwidget.cpp:9783
Combined button and popup list for selecting options.
GLfloat GLfloat f
GLenum GLuint GLintptr offset
struct _cl_event * event
#define Q_AUTOTEST_EXPORT
#define QT_REQUIRE_CONFIG(feature)
#define Q_OBJECT
#define Q_SIGNALS