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:
parent
bde2292247
commit
86d0f4a3c4
@ -4,6 +4,5 @@
|
|||||||
add_subdirectory(mainwindow)
|
add_subdirectory(mainwindow)
|
||||||
add_subdirectory(splitter)
|
add_subdirectory(splitter)
|
||||||
add_subdirectory(tableview)
|
add_subdirectory(tableview)
|
||||||
add_subdirectory(task141091)
|
|
||||||
add_subdirectory(toplevel)
|
add_subdirectory(toplevel)
|
||||||
add_subdirectory(widget)
|
add_subdirectory(widget)
|
||||||
|
@ -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
|
|
||||||
)
|
|
@ -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();
|
|
||||||
}
|
|
@ -1,3 +0,0 @@
|
|||||||
CONFIG += console
|
|
||||||
QT += widgets
|
|
||||||
SOURCES += main.cpp
|
|
Loading…
x
Reference in New Issue
Block a user