src/eric7/MicroPython/Ui_MicroPythonWidget.py

Sun, 09 Mar 2025 14:16:35 +0100

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Sun, 09 Mar 2025 14:16:35 +0100
branch
eric7
changeset 11166
fd914f897dcf
parent 10745
2921faddeaec
permissions
-rw-r--r--

MicroPython Interface
- Changed the WiFi and Bluetooth status dialogs to non-modal windows with a 'Refresh' button.

10745
2921faddeaec Regenerated the Ui_*.py files with project relative paths.
Detlev Offenbach <detlev@die-offenbachs.de>
parents: 10743
diff changeset
1 # Form implementation generated from reading ui file 'src/eric7/MicroPython/MicroPythonWidget.ui'
10743
5d3a5a05114e Changed code structure and install script to include the Ui_*.py files in the code repository and do not compile *.ui files at installation time anymore. This is to cope with a backward incompatible change of Qt 6.7.0.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
2 #
5d3a5a05114e Changed code structure and install script to include the Ui_*.py files in the code repository and do not compile *.ui files at installation time anymore. This is to cope with a backward incompatible change of Qt 6.7.0.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
3 # Created by: PyQt6 UI code generator 6.7.0
5d3a5a05114e Changed code structure and install script to include the Ui_*.py files in the code repository and do not compile *.ui files at installation time anymore. This is to cope with a backward incompatible change of Qt 6.7.0.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
4 #
5d3a5a05114e Changed code structure and install script to include the Ui_*.py files in the code repository and do not compile *.ui files at installation time anymore. This is to cope with a backward incompatible change of Qt 6.7.0.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
5 # WARNING: Any manual changes made to this file will be lost when pyuic6 is
5d3a5a05114e Changed code structure and install script to include the Ui_*.py files in the code repository and do not compile *.ui files at installation time anymore. This is to cope with a backward incompatible change of Qt 6.7.0.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
6 # run again. Do not edit this file unless you know what you are doing.
5d3a5a05114e Changed code structure and install script to include the Ui_*.py files in the code repository and do not compile *.ui files at installation time anymore. This is to cope with a backward incompatible change of Qt 6.7.0.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
7
5d3a5a05114e Changed code structure and install script to include the Ui_*.py files in the code repository and do not compile *.ui files at installation time anymore. This is to cope with a backward incompatible change of Qt 6.7.0.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
8
5d3a5a05114e Changed code structure and install script to include the Ui_*.py files in the code repository and do not compile *.ui files at installation time anymore. This is to cope with a backward incompatible change of Qt 6.7.0.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
9 from PyQt6 import QtCore, QtGui, QtWidgets
5d3a5a05114e Changed code structure and install script to include the Ui_*.py files in the code repository and do not compile *.ui files at installation time anymore. This is to cope with a backward incompatible change of Qt 6.7.0.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
10
5d3a5a05114e Changed code structure and install script to include the Ui_*.py files in the code repository and do not compile *.ui files at installation time anymore. This is to cope with a backward incompatible change of Qt 6.7.0.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
11
5d3a5a05114e Changed code structure and install script to include the Ui_*.py files in the code repository and do not compile *.ui files at installation time anymore. This is to cope with a backward incompatible change of Qt 6.7.0.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
12 class Ui_MicroPythonWidget(object):
5d3a5a05114e Changed code structure and install script to include the Ui_*.py files in the code repository and do not compile *.ui files at installation time anymore. This is to cope with a backward incompatible change of Qt 6.7.0.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
13 def setupUi(self, MicroPythonWidget):
5d3a5a05114e Changed code structure and install script to include the Ui_*.py files in the code repository and do not compile *.ui files at installation time anymore. This is to cope with a backward incompatible change of Qt 6.7.0.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
14 MicroPythonWidget.setObjectName("MicroPythonWidget")
5d3a5a05114e Changed code structure and install script to include the Ui_*.py files in the code repository and do not compile *.ui files at installation time anymore. This is to cope with a backward incompatible change of Qt 6.7.0.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
15 MicroPythonWidget.resize(456, 548)
5d3a5a05114e Changed code structure and install script to include the Ui_*.py files in the code repository and do not compile *.ui files at installation time anymore. This is to cope with a backward incompatible change of Qt 6.7.0.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
16 sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Policy.Expanding, QtWidgets.QSizePolicy.Policy.Expanding)
5d3a5a05114e Changed code structure and install script to include the Ui_*.py files in the code repository and do not compile *.ui files at installation time anymore. This is to cope with a backward incompatible change of Qt 6.7.0.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
17 sizePolicy.setHorizontalStretch(0)
5d3a5a05114e Changed code structure and install script to include the Ui_*.py files in the code repository and do not compile *.ui files at installation time anymore. This is to cope with a backward incompatible change of Qt 6.7.0.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
18 sizePolicy.setVerticalStretch(0)
5d3a5a05114e Changed code structure and install script to include the Ui_*.py files in the code repository and do not compile *.ui files at installation time anymore. This is to cope with a backward incompatible change of Qt 6.7.0.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
19 sizePolicy.setHeightForWidth(MicroPythonWidget.sizePolicy().hasHeightForWidth())
5d3a5a05114e Changed code structure and install script to include the Ui_*.py files in the code repository and do not compile *.ui files at installation time anymore. This is to cope with a backward incompatible change of Qt 6.7.0.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
20 MicroPythonWidget.setSizePolicy(sizePolicy)
5d3a5a05114e Changed code structure and install script to include the Ui_*.py files in the code repository and do not compile *.ui files at installation time anymore. This is to cope with a backward incompatible change of Qt 6.7.0.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
21 self.verticalLayout = QtWidgets.QVBoxLayout(MicroPythonWidget)
5d3a5a05114e Changed code structure and install script to include the Ui_*.py files in the code repository and do not compile *.ui files at installation time anymore. This is to cope with a backward incompatible change of Qt 6.7.0.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
22 self.verticalLayout.setObjectName("verticalLayout")
5d3a5a05114e Changed code structure and install script to include the Ui_*.py files in the code repository and do not compile *.ui files at installation time anymore. This is to cope with a backward incompatible change of Qt 6.7.0.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
23 self.horizontalLayout = QtWidgets.QHBoxLayout()
5d3a5a05114e Changed code structure and install script to include the Ui_*.py files in the code repository and do not compile *.ui files at installation time anymore. This is to cope with a backward incompatible change of Qt 6.7.0.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
24 self.horizontalLayout.setObjectName("horizontalLayout")
5d3a5a05114e Changed code structure and install script to include the Ui_*.py files in the code repository and do not compile *.ui files at installation time anymore. This is to cope with a backward incompatible change of Qt 6.7.0.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
25 self.deviceIconLabel = QtWidgets.QLabel(parent=MicroPythonWidget)
5d3a5a05114e Changed code structure and install script to include the Ui_*.py files in the code repository and do not compile *.ui files at installation time anymore. This is to cope with a backward incompatible change of Qt 6.7.0.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
26 sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Policy.Fixed, QtWidgets.QSizePolicy.Policy.Fixed)
5d3a5a05114e Changed code structure and install script to include the Ui_*.py files in the code repository and do not compile *.ui files at installation time anymore. This is to cope with a backward incompatible change of Qt 6.7.0.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
27 sizePolicy.setHorizontalStretch(0)
5d3a5a05114e Changed code structure and install script to include the Ui_*.py files in the code repository and do not compile *.ui files at installation time anymore. This is to cope with a backward incompatible change of Qt 6.7.0.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
28 sizePolicy.setVerticalStretch(0)
5d3a5a05114e Changed code structure and install script to include the Ui_*.py files in the code repository and do not compile *.ui files at installation time anymore. This is to cope with a backward incompatible change of Qt 6.7.0.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
29 sizePolicy.setHeightForWidth(self.deviceIconLabel.sizePolicy().hasHeightForWidth())
5d3a5a05114e Changed code structure and install script to include the Ui_*.py files in the code repository and do not compile *.ui files at installation time anymore. This is to cope with a backward incompatible change of Qt 6.7.0.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
30 self.deviceIconLabel.setSizePolicy(sizePolicy)
5d3a5a05114e Changed code structure and install script to include the Ui_*.py files in the code repository and do not compile *.ui files at installation time anymore. This is to cope with a backward incompatible change of Qt 6.7.0.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
31 self.deviceIconLabel.setMinimumSize(QtCore.QSize(48, 48))
5d3a5a05114e Changed code structure and install script to include the Ui_*.py files in the code repository and do not compile *.ui files at installation time anymore. This is to cope with a backward incompatible change of Qt 6.7.0.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
32 self.deviceIconLabel.setAlignment(QtCore.Qt.AlignmentFlag.AlignLeading|QtCore.Qt.AlignmentFlag.AlignLeft|QtCore.Qt.AlignmentFlag.AlignTop)
5d3a5a05114e Changed code structure and install script to include the Ui_*.py files in the code repository and do not compile *.ui files at installation time anymore. This is to cope with a backward incompatible change of Qt 6.7.0.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
33 self.deviceIconLabel.setObjectName("deviceIconLabel")
5d3a5a05114e Changed code structure and install script to include the Ui_*.py files in the code repository and do not compile *.ui files at installation time anymore. This is to cope with a backward incompatible change of Qt 6.7.0.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
34 self.horizontalLayout.addWidget(self.deviceIconLabel)
5d3a5a05114e Changed code structure and install script to include the Ui_*.py files in the code repository and do not compile *.ui files at installation time anymore. This is to cope with a backward incompatible change of Qt 6.7.0.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
35 self.gridLayout = QtWidgets.QGridLayout()
5d3a5a05114e Changed code structure and install script to include the Ui_*.py files in the code repository and do not compile *.ui files at installation time anymore. This is to cope with a backward incompatible change of Qt 6.7.0.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
36 self.gridLayout.setObjectName("gridLayout")
5d3a5a05114e Changed code structure and install script to include the Ui_*.py files in the code repository and do not compile *.ui files at installation time anymore. This is to cope with a backward incompatible change of Qt 6.7.0.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
37 self.repopulateButton = QtWidgets.QToolButton(parent=MicroPythonWidget)
5d3a5a05114e Changed code structure and install script to include the Ui_*.py files in the code repository and do not compile *.ui files at installation time anymore. This is to cope with a backward incompatible change of Qt 6.7.0.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
38 self.repopulateButton.setObjectName("repopulateButton")
5d3a5a05114e Changed code structure and install script to include the Ui_*.py files in the code repository and do not compile *.ui files at installation time anymore. This is to cope with a backward incompatible change of Qt 6.7.0.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
39 self.gridLayout.addWidget(self.repopulateButton, 0, 1, 1, 1)
5d3a5a05114e Changed code structure and install script to include the Ui_*.py files in the code repository and do not compile *.ui files at installation time anymore. This is to cope with a backward incompatible change of Qt 6.7.0.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
40 self.menuButton = EricToolButton(parent=MicroPythonWidget)
5d3a5a05114e Changed code structure and install script to include the Ui_*.py files in the code repository and do not compile *.ui files at installation time anymore. This is to cope with a backward incompatible change of Qt 6.7.0.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
41 self.menuButton.setObjectName("menuButton")
5d3a5a05114e Changed code structure and install script to include the Ui_*.py files in the code repository and do not compile *.ui files at installation time anymore. This is to cope with a backward incompatible change of Qt 6.7.0.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
42 self.gridLayout.addWidget(self.menuButton, 0, 3, 1, 1)
5d3a5a05114e Changed code structure and install script to include the Ui_*.py files in the code repository and do not compile *.ui files at installation time anymore. This is to cope with a backward incompatible change of Qt 6.7.0.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
43 self.deviceTypeComboBox = QtWidgets.QComboBox(parent=MicroPythonWidget)
5d3a5a05114e Changed code structure and install script to include the Ui_*.py files in the code repository and do not compile *.ui files at installation time anymore. This is to cope with a backward incompatible change of Qt 6.7.0.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
44 sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Policy.Expanding, QtWidgets.QSizePolicy.Policy.Fixed)
5d3a5a05114e Changed code structure and install script to include the Ui_*.py files in the code repository and do not compile *.ui files at installation time anymore. This is to cope with a backward incompatible change of Qt 6.7.0.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
45 sizePolicy.setHorizontalStretch(0)
5d3a5a05114e Changed code structure and install script to include the Ui_*.py files in the code repository and do not compile *.ui files at installation time anymore. This is to cope with a backward incompatible change of Qt 6.7.0.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
46 sizePolicy.setVerticalStretch(0)
5d3a5a05114e Changed code structure and install script to include the Ui_*.py files in the code repository and do not compile *.ui files at installation time anymore. This is to cope with a backward incompatible change of Qt 6.7.0.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
47 sizePolicy.setHeightForWidth(self.deviceTypeComboBox.sizePolicy().hasHeightForWidth())
5d3a5a05114e Changed code structure and install script to include the Ui_*.py files in the code repository and do not compile *.ui files at installation time anymore. This is to cope with a backward incompatible change of Qt 6.7.0.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
48 self.deviceTypeComboBox.setSizePolicy(sizePolicy)
5d3a5a05114e Changed code structure and install script to include the Ui_*.py files in the code repository and do not compile *.ui files at installation time anymore. This is to cope with a backward incompatible change of Qt 6.7.0.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
49 self.deviceTypeComboBox.setSizeAdjustPolicy(QtWidgets.QComboBox.SizeAdjustPolicy.AdjustToMinimumContentsLengthWithIcon)
5d3a5a05114e Changed code structure and install script to include the Ui_*.py files in the code repository and do not compile *.ui files at installation time anymore. This is to cope with a backward incompatible change of Qt 6.7.0.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
50 self.deviceTypeComboBox.setObjectName("deviceTypeComboBox")
5d3a5a05114e Changed code structure and install script to include the Ui_*.py files in the code repository and do not compile *.ui files at installation time anymore. This is to cope with a backward incompatible change of Qt 6.7.0.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
51 self.gridLayout.addWidget(self.deviceTypeComboBox, 0, 0, 1, 1)
5d3a5a05114e Changed code structure and install script to include the Ui_*.py files in the code repository and do not compile *.ui files at installation time anymore. This is to cope with a backward incompatible change of Qt 6.7.0.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
52 self.deviceInfoLabel = QtWidgets.QLabel(parent=MicroPythonWidget)
5d3a5a05114e Changed code structure and install script to include the Ui_*.py files in the code repository and do not compile *.ui files at installation time anymore. This is to cope with a backward incompatible change of Qt 6.7.0.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
53 sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Policy.Expanding, QtWidgets.QSizePolicy.Policy.Preferred)
5d3a5a05114e Changed code structure and install script to include the Ui_*.py files in the code repository and do not compile *.ui files at installation time anymore. This is to cope with a backward incompatible change of Qt 6.7.0.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
54 sizePolicy.setHorizontalStretch(0)
5d3a5a05114e Changed code structure and install script to include the Ui_*.py files in the code repository and do not compile *.ui files at installation time anymore. This is to cope with a backward incompatible change of Qt 6.7.0.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
55 sizePolicy.setVerticalStretch(0)
5d3a5a05114e Changed code structure and install script to include the Ui_*.py files in the code repository and do not compile *.ui files at installation time anymore. This is to cope with a backward incompatible change of Qt 6.7.0.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
56 sizePolicy.setHeightForWidth(self.deviceInfoLabel.sizePolicy().hasHeightForWidth())
5d3a5a05114e Changed code structure and install script to include the Ui_*.py files in the code repository and do not compile *.ui files at installation time anymore. This is to cope with a backward incompatible change of Qt 6.7.0.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
57 self.deviceInfoLabel.setSizePolicy(sizePolicy)
5d3a5a05114e Changed code structure and install script to include the Ui_*.py files in the code repository and do not compile *.ui files at installation time anymore. This is to cope with a backward incompatible change of Qt 6.7.0.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
58 self.deviceInfoLabel.setWordWrap(True)
5d3a5a05114e Changed code structure and install script to include the Ui_*.py files in the code repository and do not compile *.ui files at installation time anymore. This is to cope with a backward incompatible change of Qt 6.7.0.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
59 self.deviceInfoLabel.setObjectName("deviceInfoLabel")
5d3a5a05114e Changed code structure and install script to include the Ui_*.py files in the code repository and do not compile *.ui files at installation time anymore. This is to cope with a backward incompatible change of Qt 6.7.0.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
60 self.gridLayout.addWidget(self.deviceInfoLabel, 1, 0, 1, 5)
5d3a5a05114e Changed code structure and install script to include the Ui_*.py files in the code repository and do not compile *.ui files at installation time anymore. This is to cope with a backward incompatible change of Qt 6.7.0.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
61 self.deviceConnectedLed = EricLed(parent=MicroPythonWidget)
5d3a5a05114e Changed code structure and install script to include the Ui_*.py files in the code repository and do not compile *.ui files at installation time anymore. This is to cope with a backward incompatible change of Qt 6.7.0.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
62 self.deviceConnectedLed.setObjectName("deviceConnectedLed")
5d3a5a05114e Changed code structure and install script to include the Ui_*.py files in the code repository and do not compile *.ui files at installation time anymore. This is to cope with a backward incompatible change of Qt 6.7.0.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
63 self.gridLayout.addWidget(self.deviceConnectedLed, 0, 4, 1, 1)
5d3a5a05114e Changed code structure and install script to include the Ui_*.py files in the code repository and do not compile *.ui files at installation time anymore. This is to cope with a backward incompatible change of Qt 6.7.0.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
64 self.webreplConfigButton = QtWidgets.QToolButton(parent=MicroPythonWidget)
5d3a5a05114e Changed code structure and install script to include the Ui_*.py files in the code repository and do not compile *.ui files at installation time anymore. This is to cope with a backward incompatible change of Qt 6.7.0.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
65 self.webreplConfigButton.setObjectName("webreplConfigButton")
5d3a5a05114e Changed code structure and install script to include the Ui_*.py files in the code repository and do not compile *.ui files at installation time anymore. This is to cope with a backward incompatible change of Qt 6.7.0.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
66 self.gridLayout.addWidget(self.webreplConfigButton, 0, 2, 1, 1)
5d3a5a05114e Changed code structure and install script to include the Ui_*.py files in the code repository and do not compile *.ui files at installation time anymore. This is to cope with a backward incompatible change of Qt 6.7.0.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
67 self.horizontalLayout.addLayout(self.gridLayout)
5d3a5a05114e Changed code structure and install script to include the Ui_*.py files in the code repository and do not compile *.ui files at installation time anymore. This is to cope with a backward incompatible change of Qt 6.7.0.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
68 self.verticalLayout.addLayout(self.horizontalLayout)
5d3a5a05114e Changed code structure and install script to include the Ui_*.py files in the code repository and do not compile *.ui files at installation time anymore. This is to cope with a backward incompatible change of Qt 6.7.0.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
69 self.horizontalLayout_2 = QtWidgets.QHBoxLayout()
5d3a5a05114e Changed code structure and install script to include the Ui_*.py files in the code repository and do not compile *.ui files at installation time anymore. This is to cope with a backward incompatible change of Qt 6.7.0.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
70 self.horizontalLayout_2.setObjectName("horizontalLayout_2")
5d3a5a05114e Changed code structure and install script to include the Ui_*.py files in the code repository and do not compile *.ui files at installation time anymore. This is to cope with a backward incompatible change of Qt 6.7.0.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
71 self.runButton = QtWidgets.QToolButton(parent=MicroPythonWidget)
5d3a5a05114e Changed code structure and install script to include the Ui_*.py files in the code repository and do not compile *.ui files at installation time anymore. This is to cope with a backward incompatible change of Qt 6.7.0.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
72 self.runButton.setObjectName("runButton")
5d3a5a05114e Changed code structure and install script to include the Ui_*.py files in the code repository and do not compile *.ui files at installation time anymore. This is to cope with a backward incompatible change of Qt 6.7.0.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
73 self.horizontalLayout_2.addWidget(self.runButton)
5d3a5a05114e Changed code structure and install script to include the Ui_*.py files in the code repository and do not compile *.ui files at installation time anymore. This is to cope with a backward incompatible change of Qt 6.7.0.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
74 self.replButton = QtWidgets.QToolButton(parent=MicroPythonWidget)
5d3a5a05114e Changed code structure and install script to include the Ui_*.py files in the code repository and do not compile *.ui files at installation time anymore. This is to cope with a backward incompatible change of Qt 6.7.0.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
75 self.replButton.setCheckable(True)
5d3a5a05114e Changed code structure and install script to include the Ui_*.py files in the code repository and do not compile *.ui files at installation time anymore. This is to cope with a backward incompatible change of Qt 6.7.0.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
76 self.replButton.setObjectName("replButton")
5d3a5a05114e Changed code structure and install script to include the Ui_*.py files in the code repository and do not compile *.ui files at installation time anymore. This is to cope with a backward incompatible change of Qt 6.7.0.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
77 self.horizontalLayout_2.addWidget(self.replButton)
5d3a5a05114e Changed code structure and install script to include the Ui_*.py files in the code repository and do not compile *.ui files at installation time anymore. This is to cope with a backward incompatible change of Qt 6.7.0.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
78 self.filesButton = QtWidgets.QToolButton(parent=MicroPythonWidget)
5d3a5a05114e Changed code structure and install script to include the Ui_*.py files in the code repository and do not compile *.ui files at installation time anymore. This is to cope with a backward incompatible change of Qt 6.7.0.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
79 self.filesButton.setCheckable(True)
5d3a5a05114e Changed code structure and install script to include the Ui_*.py files in the code repository and do not compile *.ui files at installation time anymore. This is to cope with a backward incompatible change of Qt 6.7.0.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
80 self.filesButton.setObjectName("filesButton")
5d3a5a05114e Changed code structure and install script to include the Ui_*.py files in the code repository and do not compile *.ui files at installation time anymore. This is to cope with a backward incompatible change of Qt 6.7.0.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
81 self.horizontalLayout_2.addWidget(self.filesButton)
5d3a5a05114e Changed code structure and install script to include the Ui_*.py files in the code repository and do not compile *.ui files at installation time anymore. This is to cope with a backward incompatible change of Qt 6.7.0.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
82 self.chartButton = QtWidgets.QToolButton(parent=MicroPythonWidget)
5d3a5a05114e Changed code structure and install script to include the Ui_*.py files in the code repository and do not compile *.ui files at installation time anymore. This is to cope with a backward incompatible change of Qt 6.7.0.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
83 self.chartButton.setCheckable(True)
5d3a5a05114e Changed code structure and install script to include the Ui_*.py files in the code repository and do not compile *.ui files at installation time anymore. This is to cope with a backward incompatible change of Qt 6.7.0.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
84 self.chartButton.setObjectName("chartButton")
5d3a5a05114e Changed code structure and install script to include the Ui_*.py files in the code repository and do not compile *.ui files at installation time anymore. This is to cope with a backward incompatible change of Qt 6.7.0.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
85 self.horizontalLayout_2.addWidget(self.chartButton)
5d3a5a05114e Changed code structure and install script to include the Ui_*.py files in the code repository and do not compile *.ui files at installation time anymore. This is to cope with a backward incompatible change of Qt 6.7.0.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
86 spacerItem = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Policy.Expanding, QtWidgets.QSizePolicy.Policy.Minimum)
5d3a5a05114e Changed code structure and install script to include the Ui_*.py files in the code repository and do not compile *.ui files at installation time anymore. This is to cope with a backward incompatible change of Qt 6.7.0.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
87 self.horizontalLayout_2.addItem(spacerItem)
5d3a5a05114e Changed code structure and install script to include the Ui_*.py files in the code repository and do not compile *.ui files at installation time anymore. This is to cope with a backward incompatible change of Qt 6.7.0.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
88 self.connectButton = QtWidgets.QToolButton(parent=MicroPythonWidget)
5d3a5a05114e Changed code structure and install script to include the Ui_*.py files in the code repository and do not compile *.ui files at installation time anymore. This is to cope with a backward incompatible change of Qt 6.7.0.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
89 self.connectButton.setObjectName("connectButton")
5d3a5a05114e Changed code structure and install script to include the Ui_*.py files in the code repository and do not compile *.ui files at installation time anymore. This is to cope with a backward incompatible change of Qt 6.7.0.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
90 self.horizontalLayout_2.addWidget(self.connectButton)
5d3a5a05114e Changed code structure and install script to include the Ui_*.py files in the code repository and do not compile *.ui files at installation time anymore. This is to cope with a backward incompatible change of Qt 6.7.0.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
91 self.verticalLayout.addLayout(self.horizontalLayout_2)
5d3a5a05114e Changed code structure and install script to include the Ui_*.py files in the code repository and do not compile *.ui files at installation time anymore. This is to cope with a backward incompatible change of Qt 6.7.0.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
92 self.replWidget = MicroPythonReplWidget(parent=MicroPythonWidget)
5d3a5a05114e Changed code structure and install script to include the Ui_*.py files in the code repository and do not compile *.ui files at installation time anymore. This is to cope with a backward incompatible change of Qt 6.7.0.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
93 sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Policy.Expanding, QtWidgets.QSizePolicy.Policy.Expanding)
5d3a5a05114e Changed code structure and install script to include the Ui_*.py files in the code repository and do not compile *.ui files at installation time anymore. This is to cope with a backward incompatible change of Qt 6.7.0.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
94 sizePolicy.setHorizontalStretch(0)
5d3a5a05114e Changed code structure and install script to include the Ui_*.py files in the code repository and do not compile *.ui files at installation time anymore. This is to cope with a backward incompatible change of Qt 6.7.0.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
95 sizePolicy.setVerticalStretch(0)
5d3a5a05114e Changed code structure and install script to include the Ui_*.py files in the code repository and do not compile *.ui files at installation time anymore. This is to cope with a backward incompatible change of Qt 6.7.0.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
96 sizePolicy.setHeightForWidth(self.replWidget.sizePolicy().hasHeightForWidth())
5d3a5a05114e Changed code structure and install script to include the Ui_*.py files in the code repository and do not compile *.ui files at installation time anymore. This is to cope with a backward incompatible change of Qt 6.7.0.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
97 self.replWidget.setSizePolicy(sizePolicy)
5d3a5a05114e Changed code structure and install script to include the Ui_*.py files in the code repository and do not compile *.ui files at installation time anymore. This is to cope with a backward incompatible change of Qt 6.7.0.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
98 self.replWidget.setFocusPolicy(QtCore.Qt.FocusPolicy.StrongFocus)
5d3a5a05114e Changed code structure and install script to include the Ui_*.py files in the code repository and do not compile *.ui files at installation time anymore. This is to cope with a backward incompatible change of Qt 6.7.0.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
99 self.replWidget.setObjectName("replWidget")
5d3a5a05114e Changed code structure and install script to include the Ui_*.py files in the code repository and do not compile *.ui files at installation time anymore. This is to cope with a backward incompatible change of Qt 6.7.0.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
100 self.verticalLayout.addWidget(self.replWidget)
5d3a5a05114e Changed code structure and install script to include the Ui_*.py files in the code repository and do not compile *.ui files at installation time anymore. This is to cope with a backward incompatible change of Qt 6.7.0.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
101
5d3a5a05114e Changed code structure and install script to include the Ui_*.py files in the code repository and do not compile *.ui files at installation time anymore. This is to cope with a backward incompatible change of Qt 6.7.0.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
102 self.retranslateUi(MicroPythonWidget)
5d3a5a05114e Changed code structure and install script to include the Ui_*.py files in the code repository and do not compile *.ui files at installation time anymore. This is to cope with a backward incompatible change of Qt 6.7.0.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
103 QtCore.QMetaObject.connectSlotsByName(MicroPythonWidget)
5d3a5a05114e Changed code structure and install script to include the Ui_*.py files in the code repository and do not compile *.ui files at installation time anymore. This is to cope with a backward incompatible change of Qt 6.7.0.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
104 MicroPythonWidget.setTabOrder(self.deviceTypeComboBox, self.repopulateButton)
5d3a5a05114e Changed code structure and install script to include the Ui_*.py files in the code repository and do not compile *.ui files at installation time anymore. This is to cope with a backward incompatible change of Qt 6.7.0.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
105 MicroPythonWidget.setTabOrder(self.repopulateButton, self.webreplConfigButton)
5d3a5a05114e Changed code structure and install script to include the Ui_*.py files in the code repository and do not compile *.ui files at installation time anymore. This is to cope with a backward incompatible change of Qt 6.7.0.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
106 MicroPythonWidget.setTabOrder(self.webreplConfigButton, self.menuButton)
5d3a5a05114e Changed code structure and install script to include the Ui_*.py files in the code repository and do not compile *.ui files at installation time anymore. This is to cope with a backward incompatible change of Qt 6.7.0.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
107 MicroPythonWidget.setTabOrder(self.menuButton, self.runButton)
5d3a5a05114e Changed code structure and install script to include the Ui_*.py files in the code repository and do not compile *.ui files at installation time anymore. This is to cope with a backward incompatible change of Qt 6.7.0.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
108 MicroPythonWidget.setTabOrder(self.runButton, self.replButton)
5d3a5a05114e Changed code structure and install script to include the Ui_*.py files in the code repository and do not compile *.ui files at installation time anymore. This is to cope with a backward incompatible change of Qt 6.7.0.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
109 MicroPythonWidget.setTabOrder(self.replButton, self.filesButton)
5d3a5a05114e Changed code structure and install script to include the Ui_*.py files in the code repository and do not compile *.ui files at installation time anymore. This is to cope with a backward incompatible change of Qt 6.7.0.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
110 MicroPythonWidget.setTabOrder(self.filesButton, self.chartButton)
5d3a5a05114e Changed code structure and install script to include the Ui_*.py files in the code repository and do not compile *.ui files at installation time anymore. This is to cope with a backward incompatible change of Qt 6.7.0.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
111 MicroPythonWidget.setTabOrder(self.chartButton, self.connectButton)
5d3a5a05114e Changed code structure and install script to include the Ui_*.py files in the code repository and do not compile *.ui files at installation time anymore. This is to cope with a backward incompatible change of Qt 6.7.0.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
112 MicroPythonWidget.setTabOrder(self.connectButton, self.replWidget)
5d3a5a05114e Changed code structure and install script to include the Ui_*.py files in the code repository and do not compile *.ui files at installation time anymore. This is to cope with a backward incompatible change of Qt 6.7.0.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
113
5d3a5a05114e Changed code structure and install script to include the Ui_*.py files in the code repository and do not compile *.ui files at installation time anymore. This is to cope with a backward incompatible change of Qt 6.7.0.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
114 def retranslateUi(self, MicroPythonWidget):
5d3a5a05114e Changed code structure and install script to include the Ui_*.py files in the code repository and do not compile *.ui files at installation time anymore. This is to cope with a backward incompatible change of Qt 6.7.0.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
115 _translate = QtCore.QCoreApplication.translate
5d3a5a05114e Changed code structure and install script to include the Ui_*.py files in the code repository and do not compile *.ui files at installation time anymore. This is to cope with a backward incompatible change of Qt 6.7.0.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
116 self.repopulateButton.setToolTip(_translate("MicroPythonWidget", "Press to detect connected devices and repopulate the device selector."))
5d3a5a05114e Changed code structure and install script to include the Ui_*.py files in the code repository and do not compile *.ui files at installation time anymore. This is to cope with a backward incompatible change of Qt 6.7.0.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
117 self.webreplConfigButton.setToolTip(_translate("MicroPythonWidget", "Press to edit the list of configured WebREPL connections."))
5d3a5a05114e Changed code structure and install script to include the Ui_*.py files in the code repository and do not compile *.ui files at installation time anymore. This is to cope with a backward incompatible change of Qt 6.7.0.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
118 self.runButton.setToolTip(_translate("MicroPythonWidget", "Press to run the current script on the selected device"))
5d3a5a05114e Changed code structure and install script to include the Ui_*.py files in the code repository and do not compile *.ui files at installation time anymore. This is to cope with a backward incompatible change of Qt 6.7.0.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
119 self.replButton.setToolTip(_translate("MicroPythonWidget", "Press to open a terminal (REPL) on the selected device"))
5d3a5a05114e Changed code structure and install script to include the Ui_*.py files in the code repository and do not compile *.ui files at installation time anymore. This is to cope with a backward incompatible change of Qt 6.7.0.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
120 self.filesButton.setToolTip(_translate("MicroPythonWidget", "Press to open a file manager on the selected device"))
5d3a5a05114e Changed code structure and install script to include the Ui_*.py files in the code repository and do not compile *.ui files at installation time anymore. This is to cope with a backward incompatible change of Qt 6.7.0.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
121 self.chartButton.setToolTip(_translate("MicroPythonWidget", "Press to open a chart window to display data receive from the selected device"))
5d3a5a05114e Changed code structure and install script to include the Ui_*.py files in the code repository and do not compile *.ui files at installation time anymore. This is to cope with a backward incompatible change of Qt 6.7.0.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
122 self.connectButton.setToolTip(_translate("MicroPythonWidget", "Press to connect the selected device"))
5d3a5a05114e Changed code structure and install script to include the Ui_*.py files in the code repository and do not compile *.ui files at installation time anymore. This is to cope with a backward incompatible change of Qt 6.7.0.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
123 from eric7.EricWidgets.EricLed import EricLed
5d3a5a05114e Changed code structure and install script to include the Ui_*.py files in the code repository and do not compile *.ui files at installation time anymore. This is to cope with a backward incompatible change of Qt 6.7.0.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
124 from eric7.EricWidgets.EricToolButton import EricToolButton
5d3a5a05114e Changed code structure and install script to include the Ui_*.py files in the code repository and do not compile *.ui files at installation time anymore. This is to cope with a backward incompatible change of Qt 6.7.0.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff changeset
125 from eric7.MicroPython.MicroPythonReplWidget import MicroPythonReplWidget

eric ide

mercurial