Remove task14109 manual test as irrelevant

Tests setAttribute (Qt::OpaquePaintEvent) and setAttribute
(Qt::StaticContents) on a widget.

Remove task14109  manual test as irrelevant.

Change-Id: I2292c4b45bfadb847c23250a94d9bfeecaa47343
Reviewed-by: Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@qt.io>
Reviewed-by: Richard Moe Gustavsen <richard.gustavsen@qt.io>
Reviewed-by: Axel Spoerl <axel.spoerl@qt.io>
This commit is contained in:
Frédéric Lefebvre 2024-11-28 10:12:19 +01:00
parent bde2292247
commit 86d0f4a3c4
4 changed files with 0 additions and 46 deletions

View File

@ -4,6 +4,5 @@
add_subdirectory(mainwindow)
add_subdirectory(splitter)
add_subdirectory(tableview)
add_subdirectory(task141091)
add_subdirectory(toplevel)
add_subdirectory(widget)

View File

@ -1,14 +0,0 @@
# Copyright (C) 2022 The Qt Company Ltd.
# SPDX-License-Identifier: BSD-3-Clause
#####################################################################
## task141091 Binary:
#####################################################################
qt_internal_add_manual_test(task141091
SOURCES
main.cpp
LIBRARIES
Qt::Gui
Qt::Widgets
)

View File

@ -1,28 +0,0 @@
// Copyright (C) 2016 The Qt Company Ltd.
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only
#include <QApplication>
#include <QMainWindow>
#include <QPaintEvent>
#include <QDebug>
class MyWidget : public QWidget
{
public:
MyWidget() : QWidget()
{
setAttribute(Qt::WA_OpaquePaintEvent);
setAttribute(Qt::WA_StaticContents);
}
protected:
void paintEvent(QPaintEvent *e) { qDebug() << e->rect(); }
};
int main(int argc, char **argv)
{
QApplication a(argc, argv);
MyWidget w;
w.show();
return a.exec();
}

View File

@ -1,3 +0,0 @@
CONFIG += console
QT += widgets
SOURCES += main.cpp