Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
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// Qt-Security score:significant reason:default
4
5#ifndef QRASTERWINDOW_H
6#define QRASTERWINDOW_H
7
8#include <QtGui/qtguiglobal.h>
9#include <QtGui/QPaintDeviceWindow>
10
11QT_BEGIN_NAMESPACE
12
13class QRasterWindowPrivate;
14
15class Q_GUI_EXPORT QRasterWindow : public QPaintDeviceWindow
16{
17 Q_OBJECT
18 Q_DECLARE_PRIVATE(QRasterWindow)
19
20public:
21 explicit QRasterWindow(QWindow *parent = nullptr);
22 ~QRasterWindow();
23
24protected:
25 int metric(PaintDeviceMetric metric) const override;
26 QPaintDevice *redirected(QPoint *) const override;
27 void resizeEvent(QResizeEvent *event) override;
28
29private:
30 Q_DISABLE_COPY(QRasterWindow)
31};
32
33QT_END_NAMESPACE
34
35#endif
\inmodule QtGui
Combined button and popup list for selecting options.