diff options
Diffstat (limited to 'examples/widgets/tools/regularexpression/regularexpression.py')
-rw-r--r-- | examples/widgets/tools/regularexpression/regularexpression.py | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/examples/widgets/tools/regularexpression/regularexpression.py b/examples/widgets/tools/regularexpression/regularexpression.py new file mode 100644 index 000000000..261e26196 --- /dev/null +++ b/examples/widgets/tools/regularexpression/regularexpression.py @@ -0,0 +1,21 @@ +# Copyright (C) 2022 The Qt Company Ltd. +# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR BSD-3-Clause + +""" +PySide6 port of Qt6 example qtbase/examples/widgets/tools/regularexpression + +More Information: https://doc.qt.io/qt-6/qtwidgets-tools-regularexpression-example.html +""" +import sys + +from regularexpressiondialog import RegularExpressionDialog + +from PySide6.QtWidgets import QApplication + +if __name__ == "__main__": + app = QApplication(sys.argv) + + dialog = RegularExpressionDialog() + dialog.show() + + sys.exit(app.exec()) |