Back to home page

EIC code displayed by LXR

 
 

    


Warning, file /include/QtWidgets/qsizegrip.h was not indexed or was modified since last indexation (in which case cross-reference links may be missing, inaccurate or erroneous).

0001 // Copyright (C) 2016 The Qt Company Ltd.
0002 // SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
0003 
0004 #ifndef QSIZEGRIP_H
0005 #define QSIZEGRIP_H
0006 
0007 #include <QtWidgets/qtwidgetsglobal.h>
0008 #include <QtWidgets/qwidget.h>
0009 
0010 QT_REQUIRE_CONFIG(sizegrip);
0011 
0012 QT_BEGIN_NAMESPACE
0013 
0014 class QSizeGripPrivate;
0015 class Q_WIDGETS_EXPORT QSizeGrip : public QWidget
0016 {
0017     Q_OBJECT
0018 public:
0019     explicit QSizeGrip(QWidget *parent);
0020     ~QSizeGrip();
0021 
0022     QSize sizeHint() const override;
0023     void setVisible(bool) override;
0024 
0025 protected:
0026     void paintEvent(QPaintEvent *) override;
0027     void mousePressEvent(QMouseEvent *) override;
0028     void mouseMoveEvent(QMouseEvent *) override;
0029     void mouseReleaseEvent(QMouseEvent *mouseEvent) override;
0030     void moveEvent(QMoveEvent *moveEvent) override;
0031     void showEvent(QShowEvent *showEvent) override;
0032     void hideEvent(QHideEvent *hideEvent) override;
0033     bool eventFilter(QObject *, QEvent *) override;
0034     bool event(QEvent *) override;
0035 
0036 public:
0037 
0038 private:
0039     Q_DECLARE_PRIVATE(QSizeGrip)
0040     Q_DISABLE_COPY(QSizeGrip)
0041     Q_PRIVATE_SLOT(d_func(), void _q_showIfNotHidden())
0042 };
0043 
0044 QT_END_NAMESPACE
0045 
0046 #endif // QSIZEGRIP_H