diff options
author | Liang Qi <liang.qi@qt.io> | 2022-07-04 13:31:25 +0200 |
---|---|---|
committer | Liang Qi <liang.qi@qt.io> | 2022-08-06 01:24:41 +0200 |
commit | aef55501bccd52f63a84228cb2ee201ec4f5c301 (patch) | |
tree | 447b4434e082d944de62939af239fde0338fd412 /tests/manual/xembed-raster/rasterwindow.h | |
parent | 8e9fdfec0afc01f192b222af60c13955a63b594f (diff) |
tests: replace gtk-embedder.py with a gtk3 app
All linux CI machines have gtk3 installed. And Python GTK things
are too complicate to setup.
Pick-to: 6.4 6.3 6.2 5.15
Change-Id: I3c0d967f61aebea508784df79569b9d0064f66e2
Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io>
Diffstat (limited to 'tests/manual/xembed-raster/rasterwindow.h')
-rw-r--r-- | tests/manual/xembed-raster/rasterwindow.h | 32 |
1 files changed, 0 insertions, 32 deletions
diff --git a/tests/manual/xembed-raster/rasterwindow.h b/tests/manual/xembed-raster/rasterwindow.h deleted file mode 100644 index b508471a69..0000000000 --- a/tests/manual/xembed-raster/rasterwindow.h +++ /dev/null @@ -1,32 +0,0 @@ -// Copyright (C) 2017 The Qt Company Ltd. -// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0 - -#ifndef RASTERWINDOW_H -#define RASTERWINDOW_H - -#include <QtGui> - -class RasterWindow : public QWindow -{ - Q_OBJECT -public: - explicit RasterWindow(QWindow *parent = nullptr); - - virtual void render(QPainter *painter); - -public slots: - void renderLater(); - void renderNow(); - -protected: - bool event(QEvent *event); - - void resizeEvent(QResizeEvent *event); - void exposeEvent(QExposeEvent *event); - -private: - QBackingStore *m_backingStore; - bool m_update_pending; -}; - -#endif // RASTERWINDOW_H |