aboutsummaryrefslogtreecommitdiffstats
path: root/examples/widgets/effects/blurpicker/main.py
blob: 053ac60ec89864d6d530bbf01f71d7f3bc62dede (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
# Copyright (C) 2022 The Qt Company Ltd.
# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR BSD-3-Clause

"""PySide6 port of the widgets/effects/blurpicker example from Qt v6.x"""

import sys
from PySide6.QtWidgets import QApplication
from blurpicker import BlurPicker


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

    blur_picker = BlurPicker()
    blur_picker.setWindowTitle("Application Picker")

    blur_picker.setFixedSize(400, 300)
    blur_picker.show()

    sys.exit(app.exec())