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
qrasterwindow.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 QRASTERWINDOW_H
5#define QRASTERWINDOW_H
6
7#include <QtGui/qtguiglobal.h>
8#include <QtGui/QPaintDeviceWindow>
9
11
13
14class Q_GUI_EXPORT QRasterWindow : public QPaintDeviceWindow
15{
17 Q_DECLARE_PRIVATE(QRasterWindow)
18
19public:
20 explicit QRasterWindow(QWindow *parent = nullptr);
22
23protected:
24 int metric(PaintDeviceMetric metric) const override;
25 QPaintDevice *redirected(QPoint *) const override;
26 void resizeEvent(QResizeEvent *event) override;
27
28private:
29 Q_DISABLE_COPY(QRasterWindow)
30};
31
33
34#endif
\inmodule QtCore\reentrant
Definition qpoint.h:25
\inmodule QtGui
The QResizeEvent class contains event parameters for resize events.
Definition qevent.h:548
\inmodule QtGui
Definition qwindow.h:63
Combined button and popup list for selecting options.
struct _cl_event * event
#define Q_OBJECT