Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-01-18 10:08:15

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 QRASTERWINDOW_H
0005 #define QRASTERWINDOW_H
0006 
0007 #include <QtGui/qtguiglobal.h>
0008 #include <QtGui/QPaintDeviceWindow>
0009 
0010 QT_BEGIN_NAMESPACE
0011 
0012 class QRasterWindowPrivate;
0013 
0014 class Q_GUI_EXPORT QRasterWindow : public QPaintDeviceWindow
0015 {
0016     Q_OBJECT
0017     Q_DECLARE_PRIVATE(QRasterWindow)
0018 
0019 public:
0020     explicit QRasterWindow(QWindow *parent = nullptr);
0021     ~QRasterWindow();
0022 
0023 protected:
0024     int metric(PaintDeviceMetric metric) const override;
0025     QPaintDevice *redirected(QPoint *) const override;
0026     void resizeEvent(QResizeEvent *event) override;
0027 
0028 private:
0029     Q_DISABLE_COPY(QRasterWindow)
0030 };
0031 
0032 QT_END_NAMESPACE
0033 
0034 #endif