diff options
author | Friedemann Kleint <Friedemann.Kleint@qt.io> | 2020-06-05 11:00:08 +0200 |
---|---|---|
committer | Friedemann Kleint <Friedemann.Kleint@qt.io> | 2020-06-05 11:20:06 +0200 |
commit | 4f52e7b65cde36fb13178fa4b41279761859df2c (patch) | |
tree | 3badd19dc61a182f2e79a771aca7732d8da31511 /sources/pyside2/PySide2/QtGui | |
parent | a576b6264472769c4bfbf8d17ed82bacf189096e (diff) |
PySide2: Add QRegularExpressionValidator
It replaces the deprecated QRegExpValidator.
Change-Id: I18833a3f83bdaf2e72d05c529d846aa07582884c
Reviewed-by: Christian Tismer <tismer@stackless.com>
Diffstat (limited to 'sources/pyside2/PySide2/QtGui')
-rw-r--r-- | sources/pyside2/PySide2/QtGui/CMakeLists.txt | 1 | ||||
-rw-r--r-- | sources/pyside2/PySide2/QtGui/typesystem_gui_common.xml | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/sources/pyside2/PySide2/QtGui/CMakeLists.txt b/sources/pyside2/PySide2/QtGui/CMakeLists.txt index e16f077c7..0001d51d6 100644 --- a/sources/pyside2/PySide2/QtGui/CMakeLists.txt +++ b/sources/pyside2/PySide2/QtGui/CMakeLists.txt @@ -138,6 +138,7 @@ ${QtGui_GEN_DIR}/qpytextobject_wrapper.cpp ${QtGui_GEN_DIR}/qquaternion_wrapper.cpp ${QtGui_GEN_DIR}/qradialgradient_wrapper.cpp ${QtGui_GEN_DIR}/qregexpvalidator_wrapper.cpp +${QtGui_GEN_DIR}/qregularexpressionvalidator_wrapper.cpp ${QtGui_GEN_DIR}/qregion_wrapper.cpp ${QtGui_GEN_DIR}/qresizeevent_wrapper.cpp ${QtGui_GEN_DIR}/qsessionmanager_wrapper.cpp diff --git a/sources/pyside2/PySide2/QtGui/typesystem_gui_common.xml b/sources/pyside2/PySide2/QtGui/typesystem_gui_common.xml index 13f8f3cbf..f72259569 100644 --- a/sources/pyside2/PySide2/QtGui/typesystem_gui_common.xml +++ b/sources/pyside2/PySide2/QtGui/typesystem_gui_common.xml @@ -1273,6 +1273,7 @@ </object-type> <object-type name="QRegExpValidator"/> + <object-type name="QRegularExpressionValidator"/> <object-type name="QStandardItem"> <enum-type name="ItemType"/> |