|
1 # Form implementation generated from reading ui file '/home/detlev/Development/Python/Eric/eric7_default/src/eric7/MicroPython/BluetoothDialogs/BluetoothScanWindow.ui' |
|
2 # |
|
3 # Created by: PyQt6 UI code generator 6.7.0 |
|
4 # |
|
5 # WARNING: Any manual changes made to this file will be lost when pyuic6 is |
|
6 # run again. Do not edit this file unless you know what you are doing. |
|
7 |
|
8 |
|
9 from PyQt6 import QtCore, QtGui, QtWidgets |
|
10 |
|
11 |
|
12 class Ui_BluetoothScanWindow(object): |
|
13 def setupUi(self, BluetoothScanWindow): |
|
14 BluetoothScanWindow.setObjectName("BluetoothScanWindow") |
|
15 BluetoothScanWindow.resize(650, 600) |
|
16 self.verticalLayout = QtWidgets.QVBoxLayout(BluetoothScanWindow) |
|
17 self.verticalLayout.setObjectName("verticalLayout") |
|
18 self.devicesList = QtWidgets.QTreeWidget(parent=BluetoothScanWindow) |
|
19 self.devicesList.setAlternatingRowColors(True) |
|
20 self.devicesList.setSelectionMode(QtWidgets.QAbstractItemView.SelectionMode.NoSelection) |
|
21 self.devicesList.setObjectName("devicesList") |
|
22 self.verticalLayout.addWidget(self.devicesList) |
|
23 self.statusLabel = QtWidgets.QLabel(parent=BluetoothScanWindow) |
|
24 self.statusLabel.setObjectName("statusLabel") |
|
25 self.verticalLayout.addWidget(self.statusLabel) |
|
26 self.horizontalLayout = QtWidgets.QHBoxLayout() |
|
27 self.horizontalLayout.setObjectName("horizontalLayout") |
|
28 self.label = QtWidgets.QLabel(parent=BluetoothScanWindow) |
|
29 self.label.setObjectName("label") |
|
30 self.horizontalLayout.addWidget(self.label) |
|
31 self.durationSpinBox = QtWidgets.QSpinBox(parent=BluetoothScanWindow) |
|
32 self.durationSpinBox.setAlignment(QtCore.Qt.AlignmentFlag.AlignRight|QtCore.Qt.AlignmentFlag.AlignTrailing|QtCore.Qt.AlignmentFlag.AlignVCenter) |
|
33 self.durationSpinBox.setMinimum(1) |
|
34 self.durationSpinBox.setMaximum(60) |
|
35 self.durationSpinBox.setProperty("value", 10) |
|
36 self.durationSpinBox.setObjectName("durationSpinBox") |
|
37 self.horizontalLayout.addWidget(self.durationSpinBox) |
|
38 self.scanButton = QtWidgets.QPushButton(parent=BluetoothScanWindow) |
|
39 sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Policy.Expanding, QtWidgets.QSizePolicy.Policy.Fixed) |
|
40 sizePolicy.setHorizontalStretch(0) |
|
41 sizePolicy.setVerticalStretch(0) |
|
42 sizePolicy.setHeightForWidth(self.scanButton.sizePolicy().hasHeightForWidth()) |
|
43 self.scanButton.setSizePolicy(sizePolicy) |
|
44 self.scanButton.setObjectName("scanButton") |
|
45 self.horizontalLayout.addWidget(self.scanButton) |
|
46 self.verticalLayout.addLayout(self.horizontalLayout) |
|
47 self.buttonBox = QtWidgets.QDialogButtonBox(parent=BluetoothScanWindow) |
|
48 self.buttonBox.setStandardButtons(QtWidgets.QDialogButtonBox.StandardButton.Close) |
|
49 self.buttonBox.setObjectName("buttonBox") |
|
50 self.verticalLayout.addWidget(self.buttonBox) |
|
51 |
|
52 self.retranslateUi(BluetoothScanWindow) |
|
53 self.buttonBox.rejected.connect(BluetoothScanWindow.close) # type: ignore |
|
54 QtCore.QMetaObject.connectSlotsByName(BluetoothScanWindow) |
|
55 BluetoothScanWindow.setTabOrder(self.devicesList, self.durationSpinBox) |
|
56 BluetoothScanWindow.setTabOrder(self.durationSpinBox, self.scanButton) |
|
57 |
|
58 def retranslateUi(self, BluetoothScanWindow): |
|
59 _translate = QtCore.QCoreApplication.translate |
|
60 BluetoothScanWindow.setWindowTitle(_translate("BluetoothScanWindow", "Bluetooth Scan")) |
|
61 self.devicesList.setSortingEnabled(True) |
|
62 self.devicesList.headerItem().setText(0, _translate("BluetoothScanWindow", "Name")) |
|
63 self.devicesList.headerItem().setText(1, _translate("BluetoothScanWindow", "MAC-Address")) |
|
64 self.devicesList.headerItem().setText(2, _translate("BluetoothScanWindow", "RSSI [dBm]")) |
|
65 self.label.setText(_translate("BluetoothScanWindow", "Scan Duration:")) |
|
66 self.durationSpinBox.setToolTip(_translate("BluetoothScanWindow", "Enter the scan duration in seconds")) |
|
67 self.durationSpinBox.setSuffix(_translate("BluetoothScanWindow", " s")) |
|
68 self.scanButton.setToolTip(_translate("BluetoothScanWindow", "Press to scan for Bluetooth devices.")) |
|
69 self.scanButton.setText(_translate("BluetoothScanWindow", "Scan")) |