2 |
2 |
3 # Copyright (c) 2023 Detlev Offenbach <detlev@die-offenbachs.de> |
3 # Copyright (c) 2023 Detlev Offenbach <detlev@die-offenbachs.de> |
4 # |
4 # |
5 |
5 |
6 """ |
6 """ |
7 Module implementing BluetoothStatusDialog. |
7 Module implementing a dialog to show Bluetooth related status information. |
8 """ |
8 """ |
9 |
9 |
10 from PyQt6.QtCore import Qt |
10 from PyQt6.QtCore import Qt |
11 from PyQt6.QtWidgets import QDialog, QDialogButtonBox, QTreeWidgetItem |
11 from PyQt6.QtWidgets import QDialog, QDialogButtonBox, QTreeWidgetItem |
12 |
12 |
13 from .Ui_BluetoothStatusDialog import Ui_BluetoothStatusDialog |
13 from .Ui_BluetoothStatusDialog import Ui_BluetoothStatusDialog |
14 |
14 |
15 |
15 |
16 class BluetoothStatusDialog(QDialog, Ui_BluetoothStatusDialog): |
16 class BluetoothStatusDialog(QDialog, Ui_BluetoothStatusDialog): |
17 """ |
17 """ |
18 Class documentation goes here. |
18 Class implementing a dialog to show Bluetooth related status information. |
19 """ |
19 """ |
20 |
20 |
21 def __init__(self, status, parent=None): |
21 def __init__(self, status, parent=None): |
22 """ |
22 """ |
23 Constructor |
23 Constructor |