blob: bf8f596a38fa6f6d09a3afc6d05451d09bb4df76 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
# Copyright (C) 2022 The Qt Company Ltd.
# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR BSD-3-Clause
"""PySide6 port of the bluetooth/btscanner example from Qt v6.x"""
import sys
from PySide6.QtCore import Qt
from PySide6.QtWidgets import QApplication, QWidget
from device import DeviceDiscoveryDialog
if __name__ == '__main__':
app = QApplication(sys.argv)
d = DeviceDiscoveryDialog()
d.exec()
sys.exit(0)
|