summaryrefslogtreecommitdiffstats
path: root/tests/auto/tools
diff options
context:
space:
mode:
authorCristian Maureira-Fredes <Cristian.Maureira-Fredes@qt.io>2020-05-04 11:08:31 +0200
committerFriedemann Kleint <Friedemann.Kleint@qt.io>2020-05-05 22:04:51 +0200
commit2f975b39a967cd2ac1c234a200eb6b9c11d8b5b2 (patch)
tree97e12fd3c1d330c25021ddd58e7ab416dd579a60 /tests/auto/tools
parent5290027e3bab75f14fc0a2b7c206594d9cb91e76 (diff)
uic/Python: import all the classes for QtCore and QtGui
We already had this approach for QtWidgets, so to avoid adding the specific cases every time, we import all the classes from QtCore and QtGui. Change-Id: I38dd2eec3bbdfb83f156a48f35a2f4fda44528c7 Pick-to: 5.15 Fixes: PYSIDE-1287 Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
Diffstat (limited to 'tests/auto/tools')
-rw-r--r--tests/auto/tools/uic/baseline/config.ui.py7
1 files changed, 2 insertions, 5 deletions
diff --git a/tests/auto/tools/uic/baseline/config.ui.py b/tests/auto/tools/uic/baseline/config.ui.py
index 7acd379fd5..be8e939f5e 100644
--- a/tests/auto/tools/uic/baseline/config.ui.py
+++ b/tests/auto/tools/uic/baseline/config.ui.py
@@ -36,11 +36,8 @@
## WARNING! All changes made in this file will be lost when recompiling UI file!
################################################################################
-from PySide2.QtCore import (QCoreApplication, QDate, QDateTime, QMetaObject,
- QObject, QPoint, QRect, QSize, QTime, QUrl, Qt)
-from PySide2.QtGui import (QBrush, QColor, QConicalGradient, QCursor, QFont,
- QFontDatabase, QIcon, QKeySequence, QLinearGradient, QPalette, QPainter,
- QPixmap, QRadialGradient)
+from PySide2.QtCore import *
+from PySide2.QtGui import *
from PySide2.QtWidgets import *
from gammaview import GammaView