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
qsizegrip.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 QSIZEGRIP_H
5#define QSIZEGRIP_H
6
7#include <QtWidgets/qtwidgetsglobal.h>
8#include <QtWidgets/qwidget.h>
9
11
13
15class Q_WIDGETS_EXPORT QSizeGrip : public QWidget
16{
18public:
19 explicit QSizeGrip(QWidget *parent);
20 ~QSizeGrip();
21
22 QSize sizeHint() const override;
23 void setVisible(bool) override;
24
25protected:
26 void paintEvent(QPaintEvent *) override;
27 void mousePressEvent(QMouseEvent *) override;
28 void mouseMoveEvent(QMouseEvent *) override;
29 void mouseReleaseEvent(QMouseEvent *mouseEvent) override;
30 void moveEvent(QMoveEvent *moveEvent) override;
31 void showEvent(QShowEvent *showEvent) override;
32 void hideEvent(QHideEvent *hideEvent) override;
33 bool eventFilter(QObject *, QEvent *) override;
34 bool event(QEvent *) override;
35
36public:
37
38private:
39 Q_DECLARE_PRIVATE(QSizeGrip)
40 Q_DISABLE_COPY(QSizeGrip)
41 Q_PRIVATE_SLOT(d_func(), void _q_showIfNotHidden())
42};
43
45
46#endif // QSIZEGRIP_H
\inmodule QtCore
Definition qcoreevent.h:45
The QHideEvent class provides an event which is sent after a widget is hidden.
Definition qevent.h:586
\inmodule QtGui
Definition qevent.h:196
The QMoveEvent class contains event parameters for move events.
Definition qevent.h:502
\inmodule QtCore
Definition qobject.h:103
The QPaintEvent class contains event parameters for paint events.
Definition qevent.h:486
The QShowEvent class provides an event that is sent when a widget is shown.
Definition qevent.h:578
The QSizeGrip class provides a resize handle for resizing top-level windows.
Definition qsizegrip.h:16
\inmodule QtCore
Definition qsize.h:25
The QWidget class is the base class of all user interface objects.
Definition qwidget.h:99
Combined button and popup list for selecting options.
struct _cl_event * event
#define QT_REQUIRE_CONFIG(feature)
#define Q_OBJECT
#define Q_PRIVATE_SLOT(d, signature)