aboutsummaryrefslogtreecommitdiffstats
path: root/examples/widgets/tools/regularexpression/regularexpression.py
blob: fca24f6178c4b03fcced994d4bc3c3a87558c071 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# 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

import re

if __name__ == "__main__":
    app = QApplication(sys.argv)

    dialog = RegularExpressionDialog()
    dialog.show()

    sys.exit(app.exec())