Thu, 01 Aug 2024 11:30:50 +0200
Redid the archive to include the compiled forms and changed the plug-in header to the new format.
148
187406bcc8ae
Redid the archive to include the compiled forms and changed the plug-in header to the new format.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
1 | # Form implementation generated from reading ui file 'MqttMonitor/MqttUserPropertiesEditor.ui' |
187406bcc8ae
Redid the archive to include the compiled forms and changed the plug-in header to the new format.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
2 | # |
187406bcc8ae
Redid the archive to include the compiled forms and changed the plug-in header to the new format.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
3 | # Created by: PyQt6 UI code generator 6.7.1 |
187406bcc8ae
Redid the archive to include the compiled forms and changed the plug-in header to the new format.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
4 | # |
187406bcc8ae
Redid the archive to include the compiled forms and changed the plug-in header to the new format.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
5 | # WARNING: Any manual changes made to this file will be lost when pyuic6 is |
187406bcc8ae
Redid the archive to include the compiled forms and changed the plug-in header to the new format.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
6 | # run again. Do not edit this file unless you know what you are doing. |
187406bcc8ae
Redid the archive to include the compiled forms and changed the plug-in header to the new format.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
7 | |
187406bcc8ae
Redid the archive to include the compiled forms and changed the plug-in header to the new format.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
8 | |
187406bcc8ae
Redid the archive to include the compiled forms and changed the plug-in header to the new format.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
9 | from PyQt6 import QtCore, QtGui, QtWidgets |
187406bcc8ae
Redid the archive to include the compiled forms and changed the plug-in header to the new format.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
10 | |
187406bcc8ae
Redid the archive to include the compiled forms and changed the plug-in header to the new format.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
11 | |
187406bcc8ae
Redid the archive to include the compiled forms and changed the plug-in header to the new format.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
12 | class Ui_MqttUserPropertiesEditor(object): |
187406bcc8ae
Redid the archive to include the compiled forms and changed the plug-in header to the new format.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
13 | def setupUi(self, MqttUserPropertiesEditor): |
187406bcc8ae
Redid the archive to include the compiled forms and changed the plug-in header to the new format.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
14 | MqttUserPropertiesEditor.setObjectName("MqttUserPropertiesEditor") |
187406bcc8ae
Redid the archive to include the compiled forms and changed the plug-in header to the new format.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
15 | MqttUserPropertiesEditor.resize(400, 250) |
187406bcc8ae
Redid the archive to include the compiled forms and changed the plug-in header to the new format.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
16 | MqttUserPropertiesEditor.setProperty("sizeGripEnabled", True) |
187406bcc8ae
Redid the archive to include the compiled forms and changed the plug-in header to the new format.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
17 | self.horizontalLayout = QtWidgets.QHBoxLayout(MqttUserPropertiesEditor) |
187406bcc8ae
Redid the archive to include the compiled forms and changed the plug-in header to the new format.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
18 | self.horizontalLayout.setContentsMargins(0, 0, 0, 0) |
187406bcc8ae
Redid the archive to include the compiled forms and changed the plug-in header to the new format.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
19 | self.horizontalLayout.setObjectName("horizontalLayout") |
187406bcc8ae
Redid the archive to include the compiled forms and changed the plug-in header to the new format.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
20 | self.propertiesTable = QtWidgets.QTableWidget(parent=MqttUserPropertiesEditor) |
187406bcc8ae
Redid the archive to include the compiled forms and changed the plug-in header to the new format.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
21 | self.propertiesTable.setAlternatingRowColors(True) |
187406bcc8ae
Redid the archive to include the compiled forms and changed the plug-in header to the new format.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
22 | self.propertiesTable.setSelectionBehavior(QtWidgets.QAbstractItemView.SelectionBehavior.SelectRows) |
187406bcc8ae
Redid the archive to include the compiled forms and changed the plug-in header to the new format.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
23 | self.propertiesTable.setRowCount(10) |
187406bcc8ae
Redid the archive to include the compiled forms and changed the plug-in header to the new format.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
24 | self.propertiesTable.setColumnCount(2) |
187406bcc8ae
Redid the archive to include the compiled forms and changed the plug-in header to the new format.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
25 | self.propertiesTable.setObjectName("propertiesTable") |
187406bcc8ae
Redid the archive to include the compiled forms and changed the plug-in header to the new format.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
26 | item = QtWidgets.QTableWidgetItem() |
187406bcc8ae
Redid the archive to include the compiled forms and changed the plug-in header to the new format.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
27 | self.propertiesTable.setHorizontalHeaderItem(0, item) |
187406bcc8ae
Redid the archive to include the compiled forms and changed the plug-in header to the new format.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
28 | item = QtWidgets.QTableWidgetItem() |
187406bcc8ae
Redid the archive to include the compiled forms and changed the plug-in header to the new format.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
29 | self.propertiesTable.setHorizontalHeaderItem(1, item) |
187406bcc8ae
Redid the archive to include the compiled forms and changed the plug-in header to the new format.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
30 | self.propertiesTable.horizontalHeader().setStretchLastSection(True) |
187406bcc8ae
Redid the archive to include the compiled forms and changed the plug-in header to the new format.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
31 | self.horizontalLayout.addWidget(self.propertiesTable) |
187406bcc8ae
Redid the archive to include the compiled forms and changed the plug-in header to the new format.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
32 | self.verticalLayout = QtWidgets.QVBoxLayout() |
187406bcc8ae
Redid the archive to include the compiled forms and changed the plug-in header to the new format.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
33 | self.verticalLayout.setObjectName("verticalLayout") |
187406bcc8ae
Redid the archive to include the compiled forms and changed the plug-in header to the new format.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
34 | self.addButton = QtWidgets.QToolButton(parent=MqttUserPropertiesEditor) |
187406bcc8ae
Redid the archive to include the compiled forms and changed the plug-in header to the new format.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
35 | self.addButton.setText("") |
187406bcc8ae
Redid the archive to include the compiled forms and changed the plug-in header to the new format.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
36 | self.addButton.setObjectName("addButton") |
187406bcc8ae
Redid the archive to include the compiled forms and changed the plug-in header to the new format.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
37 | self.verticalLayout.addWidget(self.addButton) |
187406bcc8ae
Redid the archive to include the compiled forms and changed the plug-in header to the new format.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
38 | self.deleteButton = QtWidgets.QToolButton(parent=MqttUserPropertiesEditor) |
187406bcc8ae
Redid the archive to include the compiled forms and changed the plug-in header to the new format.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
39 | self.deleteButton.setText("") |
187406bcc8ae
Redid the archive to include the compiled forms and changed the plug-in header to the new format.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
40 | self.deleteButton.setObjectName("deleteButton") |
187406bcc8ae
Redid the archive to include the compiled forms and changed the plug-in header to the new format.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
41 | self.verticalLayout.addWidget(self.deleteButton) |
187406bcc8ae
Redid the archive to include the compiled forms and changed the plug-in header to the new format.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
42 | self.clearButton = QtWidgets.QToolButton(parent=MqttUserPropertiesEditor) |
187406bcc8ae
Redid the archive to include the compiled forms and changed the plug-in header to the new format.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
43 | self.clearButton.setText("") |
187406bcc8ae
Redid the archive to include the compiled forms and changed the plug-in header to the new format.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
44 | self.clearButton.setObjectName("clearButton") |
187406bcc8ae
Redid the archive to include the compiled forms and changed the plug-in header to the new format.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
45 | self.verticalLayout.addWidget(self.clearButton) |
187406bcc8ae
Redid the archive to include the compiled forms and changed the plug-in header to the new format.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
46 | spacerItem = QtWidgets.QSpacerItem(20, 40, QtWidgets.QSizePolicy.Policy.Minimum, QtWidgets.QSizePolicy.Policy.Expanding) |
187406bcc8ae
Redid the archive to include the compiled forms and changed the plug-in header to the new format.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
47 | self.verticalLayout.addItem(spacerItem) |
187406bcc8ae
Redid the archive to include the compiled forms and changed the plug-in header to the new format.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
48 | self.horizontalLayout.addLayout(self.verticalLayout) |
187406bcc8ae
Redid the archive to include the compiled forms and changed the plug-in header to the new format.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
49 | |
187406bcc8ae
Redid the archive to include the compiled forms and changed the plug-in header to the new format.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
50 | self.retranslateUi(MqttUserPropertiesEditor) |
187406bcc8ae
Redid the archive to include the compiled forms and changed the plug-in header to the new format.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
51 | QtCore.QMetaObject.connectSlotsByName(MqttUserPropertiesEditor) |
187406bcc8ae
Redid the archive to include the compiled forms and changed the plug-in header to the new format.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
52 | |
187406bcc8ae
Redid the archive to include the compiled forms and changed the plug-in header to the new format.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
53 | def retranslateUi(self, MqttUserPropertiesEditor): |
187406bcc8ae
Redid the archive to include the compiled forms and changed the plug-in header to the new format.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
54 | _translate = QtCore.QCoreApplication.translate |
187406bcc8ae
Redid the archive to include the compiled forms and changed the plug-in header to the new format.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
55 | MqttUserPropertiesEditor.setWindowTitle(_translate("MqttUserPropertiesEditor", "User Properties")) |
187406bcc8ae
Redid the archive to include the compiled forms and changed the plug-in header to the new format.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
56 | item = self.propertiesTable.horizontalHeaderItem(0) |
187406bcc8ae
Redid the archive to include the compiled forms and changed the plug-in header to the new format.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
57 | item.setText(_translate("MqttUserPropertiesEditor", "Key")) |
187406bcc8ae
Redid the archive to include the compiled forms and changed the plug-in header to the new format.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
58 | item = self.propertiesTable.horizontalHeaderItem(1) |
187406bcc8ae
Redid the archive to include the compiled forms and changed the plug-in header to the new format.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
59 | item.setText(_translate("MqttUserPropertiesEditor", "Value")) |
187406bcc8ae
Redid the archive to include the compiled forms and changed the plug-in header to the new format.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
60 | self.addButton.setToolTip(_translate("MqttUserPropertiesEditor", "Press to add a new empty row")) |
187406bcc8ae
Redid the archive to include the compiled forms and changed the plug-in header to the new format.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
61 | self.deleteButton.setToolTip(_translate("MqttUserPropertiesEditor", "Press to delete the selected properties")) |
187406bcc8ae
Redid the archive to include the compiled forms and changed the plug-in header to the new format.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
diff
changeset
|
62 | self.clearButton.setToolTip(_translate("MqttUserPropertiesEditor", "Press to delete all properties")) |