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.
# Form implementation generated from reading ui file 'MqttMonitor/MqttUserPropertiesEditor.ui' # # Created by: PyQt6 UI code generator 6.7.1 # # WARNING: Any manual changes made to this file will be lost when pyuic6 is # run again. Do not edit this file unless you know what you are doing. from PyQt6 import QtCore, QtGui, QtWidgets class Ui_MqttUserPropertiesEditor(object): def setupUi(self, MqttUserPropertiesEditor): MqttUserPropertiesEditor.setObjectName("MqttUserPropertiesEditor") MqttUserPropertiesEditor.resize(400, 250) MqttUserPropertiesEditor.setProperty("sizeGripEnabled", True) self.horizontalLayout = QtWidgets.QHBoxLayout(MqttUserPropertiesEditor) self.horizontalLayout.setContentsMargins(0, 0, 0, 0) self.horizontalLayout.setObjectName("horizontalLayout") self.propertiesTable = QtWidgets.QTableWidget(parent=MqttUserPropertiesEditor) self.propertiesTable.setAlternatingRowColors(True) self.propertiesTable.setSelectionBehavior(QtWidgets.QAbstractItemView.SelectionBehavior.SelectRows) self.propertiesTable.setRowCount(10) self.propertiesTable.setColumnCount(2) self.propertiesTable.setObjectName("propertiesTable") item = QtWidgets.QTableWidgetItem() self.propertiesTable.setHorizontalHeaderItem(0, item) item = QtWidgets.QTableWidgetItem() self.propertiesTable.setHorizontalHeaderItem(1, item) self.propertiesTable.horizontalHeader().setStretchLastSection(True) self.horizontalLayout.addWidget(self.propertiesTable) self.verticalLayout = QtWidgets.QVBoxLayout() self.verticalLayout.setObjectName("verticalLayout") self.addButton = QtWidgets.QToolButton(parent=MqttUserPropertiesEditor) self.addButton.setText("") self.addButton.setObjectName("addButton") self.verticalLayout.addWidget(self.addButton) self.deleteButton = QtWidgets.QToolButton(parent=MqttUserPropertiesEditor) self.deleteButton.setText("") self.deleteButton.setObjectName("deleteButton") self.verticalLayout.addWidget(self.deleteButton) self.clearButton = QtWidgets.QToolButton(parent=MqttUserPropertiesEditor) self.clearButton.setText("") self.clearButton.setObjectName("clearButton") self.verticalLayout.addWidget(self.clearButton) spacerItem = QtWidgets.QSpacerItem(20, 40, QtWidgets.QSizePolicy.Policy.Minimum, QtWidgets.QSizePolicy.Policy.Expanding) self.verticalLayout.addItem(spacerItem) self.horizontalLayout.addLayout(self.verticalLayout) self.retranslateUi(MqttUserPropertiesEditor) QtCore.QMetaObject.connectSlotsByName(MqttUserPropertiesEditor) def retranslateUi(self, MqttUserPropertiesEditor): _translate = QtCore.QCoreApplication.translate MqttUserPropertiesEditor.setWindowTitle(_translate("MqttUserPropertiesEditor", "User Properties")) item = self.propertiesTable.horizontalHeaderItem(0) item.setText(_translate("MqttUserPropertiesEditor", "Key")) item = self.propertiesTable.horizontalHeaderItem(1) item.setText(_translate("MqttUserPropertiesEditor", "Value")) self.addButton.setToolTip(_translate("MqttUserPropertiesEditor", "Press to add a new empty row")) self.deleteButton.setToolTip(_translate("MqttUserPropertiesEditor", "Press to delete the selected properties")) self.clearButton.setToolTip(_translate("MqttUserPropertiesEditor", "Press to delete all properties"))