MqttMonitor/Ui_MqttConnectionOptionsDialog.py

Tue, 10 Dec 2024 15:48:55 +0100

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Tue, 10 Dec 2024 15:48:55 +0100
branch
eric7
changeset 154
b66cfd856e93
parent 148
187406bcc8ae
permissions
-rw-r--r--

Updated copyright for 2025.

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/MqttConnectionOptionsDialog.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_MqttConnectionOptionsDialog(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, MqttConnectionOptionsDialog):
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 MqttConnectionOptionsDialog.setObjectName("MqttConnectionOptionsDialog")
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 MqttConnectionOptionsDialog.resize(450, 350)
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 MqttConnectionOptionsDialog.setSizeGripEnabled(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.verticalLayout = QtWidgets.QVBoxLayout(MqttConnectionOptionsDialog)
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.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
19 self.optionsWidget = QtWidgets.QTabWidget(parent=MqttConnectionOptionsDialog)
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.optionsWidget.setObjectName("optionsWidget")
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.generalTab = QtWidgets.QWidget()
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.generalTab.setObjectName("generalTab")
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.verticalLayout_2 = QtWidgets.QVBoxLayout(self.generalTab)
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.verticalLayout_2.setObjectName("verticalLayout_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.horizontalLayout = QtWidgets.QHBoxLayout()
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 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
27 self.label = QtWidgets.QLabel(parent=self.generalTab)
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 self.label.setObjectName("label")
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.horizontalLayout.addWidget(self.label)
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.clientIdEdit = QtWidgets.QLineEdit(parent=self.generalTab)
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.clientIdEdit.setClearButtonEnabled(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
32 self.clientIdEdit.setObjectName("clientIdEdit")
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.horizontalLayout.addWidget(self.clientIdEdit)
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.generateIdButton = QtWidgets.QPushButton(parent=self.generalTab)
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.generateIdButton.setObjectName("generateIdButton")
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.horizontalLayout.addWidget(self.generateIdButton)
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_2.addLayout(self.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
38 self.groupBox_5 = QtWidgets.QGroupBox(parent=self.generalTab)
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.groupBox_5.setObjectName("groupBox_5")
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.horizontalLayout_3 = QtWidgets.QHBoxLayout(self.groupBox_5)
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.horizontalLayout_3.setObjectName("horizontalLayout_3")
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.mqttv31Button = QtWidgets.QRadioButton(parent=self.groupBox_5)
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.mqttv31Button.setObjectName("mqttv31Button")
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.horizontalLayout_3.addWidget(self.mqttv31Button)
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.mqttv311Button = QtWidgets.QRadioButton(parent=self.groupBox_5)
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 self.mqttv311Button.setChecked(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
47 self.mqttv311Button.setObjectName("mqttv311Button")
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_3.addWidget(self.mqttv311Button)
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 self.mqttv5Button = QtWidgets.QRadioButton(parent=self.groupBox_5)
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.mqttv5Button.setObjectName("mqttv5Button")
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 self.horizontalLayout_3.addWidget(self.mqttv5Button)
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 self.verticalLayout_2.addWidget(self.groupBox_5)
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 self.gridLayout = QtWidgets.QGridLayout()
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 self.gridLayout.setObjectName("gridLayout")
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 self.label_6 = QtWidgets.QLabel(parent=self.generalTab)
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 self.label_6.setObjectName("label_6")
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 self.gridLayout.addWidget(self.label_6, 0, 0, 1, 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
58 self.connectionTimeoutSpinBox = QtWidgets.QSpinBox(parent=self.generalTab)
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 self.connectionTimeoutSpinBox.setAlignment(QtCore.Qt.AlignmentFlag.AlignRight|QtCore.Qt.AlignmentFlag.AlignTrailing|QtCore.Qt.AlignmentFlag.AlignVCenter)
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.connectionTimeoutSpinBox.setMaximum(300)
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.connectionTimeoutSpinBox.setSingleStep(5)
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.connectionTimeoutSpinBox.setProperty("value", 15)
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
63 self.connectionTimeoutSpinBox.setObjectName("connectionTimeoutSpinBox")
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
64 self.gridLayout.addWidget(self.connectionTimeoutSpinBox, 0, 1, 1, 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
65 spacerItem = QtWidgets.QSpacerItem(148, 20, QtWidgets.QSizePolicy.Policy.Expanding, QtWidgets.QSizePolicy.Policy.Minimum)
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
66 self.gridLayout.addItem(spacerItem, 0, 2, 1, 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
67 self.label_2 = QtWidgets.QLabel(parent=self.generalTab)
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
68 self.label_2.setObjectName("label_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
69 self.gridLayout.addWidget(self.label_2, 1, 0, 1, 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
70 self.keepaliveSpinBox = QtWidgets.QSpinBox(parent=self.generalTab)
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
71 self.keepaliveSpinBox.setAlignment(QtCore.Qt.AlignmentFlag.AlignRight|QtCore.Qt.AlignmentFlag.AlignTrailing|QtCore.Qt.AlignmentFlag.AlignVCenter)
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
72 self.keepaliveSpinBox.setMaximum(300)
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
73 self.keepaliveSpinBox.setSingleStep(5)
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
74 self.keepaliveSpinBox.setProperty("value", 60)
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
75 self.keepaliveSpinBox.setObjectName("keepaliveSpinBox")
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
76 self.gridLayout.addWidget(self.keepaliveSpinBox, 1, 1, 1, 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
77 spacerItem1 = QtWidgets.QSpacerItem(148, 20, QtWidgets.QSizePolicy.Policy.Expanding, QtWidgets.QSizePolicy.Policy.Minimum)
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
78 self.gridLayout.addItem(spacerItem1, 1, 2, 1, 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
79 self.verticalLayout_2.addLayout(self.gridLayout)
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
80 self.cleanSessionCheckBox = QtWidgets.QCheckBox(parent=self.generalTab)
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
81 self.cleanSessionCheckBox.setObjectName("cleanSessionCheckBox")
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
82 self.verticalLayout_2.addWidget(self.cleanSessionCheckBox)
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
83 spacerItem2 = QtWidgets.QSpacerItem(20, 92, 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
84 self.verticalLayout_2.addItem(spacerItem2)
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
85 self.optionsWidget.addTab(self.generalTab, "")
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
86 self.credentialsTab = QtWidgets.QWidget()
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
87 self.credentialsTab.setObjectName("credentialsTab")
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
88 self.gridLayout_5 = QtWidgets.QGridLayout(self.credentialsTab)
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
89 self.gridLayout_5.setObjectName("gridLayout_5")
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
90 self.label_3 = QtWidgets.QLabel(parent=self.credentialsTab)
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
91 self.label_3.setObjectName("label_3")
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
92 self.gridLayout_5.addWidget(self.label_3, 0, 0, 1, 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
93 self.usernameEdit = QtWidgets.QLineEdit(parent=self.credentialsTab)
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
94 self.usernameEdit.setClearButtonEnabled(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
95 self.usernameEdit.setObjectName("usernameEdit")
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
96 self.gridLayout_5.addWidget(self.usernameEdit, 0, 1, 1, 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
97 self.label_4 = QtWidgets.QLabel(parent=self.credentialsTab)
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
98 self.label_4.setObjectName("label_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
99 self.gridLayout_5.addWidget(self.label_4, 1, 0, 1, 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
100 self.passwordEdit = QtWidgets.QLineEdit(parent=self.credentialsTab)
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
101 self.passwordEdit.setEchoMode(QtWidgets.QLineEdit.EchoMode.Password)
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
102 self.passwordEdit.setClearButtonEnabled(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
103 self.passwordEdit.setObjectName("passwordEdit")
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
104 self.gridLayout_5.addWidget(self.passwordEdit, 1, 1, 1, 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
105 spacerItem3 = QtWidgets.QSpacerItem(20, 204, 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
106 self.gridLayout_5.addItem(spacerItem3, 2, 1, 1, 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
107 self.optionsWidget.addTab(self.credentialsTab, "")
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
108 self.lastWillTab = QtWidgets.QWidget()
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
109 self.lastWillTab.setObjectName("lastWillTab")
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
110 self.gridLayout_2 = QtWidgets.QGridLayout(self.lastWillTab)
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
111 self.gridLayout_2.setObjectName("gridLayout_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
112 self.willTopicEdit = QtWidgets.QLineEdit(parent=self.lastWillTab)
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
113 self.willTopicEdit.setClearButtonEnabled(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
114 self.willTopicEdit.setObjectName("willTopicEdit")
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
115 self.gridLayout_2.addWidget(self.willTopicEdit, 0, 0, 1, 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
116 self.label_5 = QtWidgets.QLabel(parent=self.lastWillTab)
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
117 self.label_5.setObjectName("label_5")
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
118 self.gridLayout_2.addWidget(self.label_5, 0, 1, 1, 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
119 self.willQosSpinBox = QtWidgets.QSpinBox(parent=self.lastWillTab)
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
120 self.willQosSpinBox.setAlignment(QtCore.Qt.AlignmentFlag.AlignRight|QtCore.Qt.AlignmentFlag.AlignTrailing|QtCore.Qt.AlignmentFlag.AlignVCenter)
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
121 self.willQosSpinBox.setMaximum(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
122 self.willQosSpinBox.setObjectName("willQosSpinBox")
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
123 self.gridLayout_2.addWidget(self.willQosSpinBox, 0, 2, 1, 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
124 self.willRetainCheckBox = QtWidgets.QCheckBox(parent=self.lastWillTab)
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
125 self.willRetainCheckBox.setObjectName("willRetainCheckBox")
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
126 self.gridLayout_2.addWidget(self.willRetainCheckBox, 0, 3, 1, 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
127 self.willPropertiesButton = QtWidgets.QToolButton(parent=self.lastWillTab)
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
128 self.willPropertiesButton.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
129 self.willPropertiesButton.setObjectName("willPropertiesButton")
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
130 self.gridLayout_2.addWidget(self.willPropertiesButton, 0, 4, 1, 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
131 self.willMessageEdit = QtWidgets.QPlainTextEdit(parent=self.lastWillTab)
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
132 self.willMessageEdit.setMaximumSize(QtCore.QSize(16777215, 300))
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
133 self.willMessageEdit.setObjectName("willMessageEdit")
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
134 self.gridLayout_2.addWidget(self.willMessageEdit, 1, 0, 1, 5)
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
135 self.optionsWidget.addTab(self.lastWillTab, "")
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
136 self.tlsTab = QtWidgets.QWidget()
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
137 self.tlsTab.setObjectName("tlsTab")
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
138 self.gridLayout_3 = QtWidgets.QGridLayout(self.tlsTab)
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
139 self.gridLayout_3.setObjectName("gridLayout_3")
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
140 self.tlsEnableCheckBox = QtWidgets.QCheckBox(parent=self.tlsTab)
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
141 self.tlsEnableCheckBox.setObjectName("tlsEnableCheckBox")
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
142 self.gridLayout_3.addWidget(self.tlsEnableCheckBox, 0, 0, 1, 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
143 self.label_8 = QtWidgets.QLabel(parent=self.tlsTab)
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
144 self.label_8.setObjectName("label_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
145 self.gridLayout_3.addWidget(self.label_8, 1, 0, 1, 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
146 self.tlsCertsFilePicker = EricPathPicker(parent=self.tlsTab)
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
147 self.tlsCertsFilePicker.setEnabled(False)
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
148 sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Policy.Expanding, QtWidgets.QSizePolicy.Policy.Preferred)
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
149 sizePolicy.setHorizontalStretch(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
150 sizePolicy.setVerticalStretch(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
151 sizePolicy.setHeightForWidth(self.tlsCertsFilePicker.sizePolicy().hasHeightForWidth())
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
152 self.tlsCertsFilePicker.setSizePolicy(sizePolicy)
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
153 self.tlsCertsFilePicker.setFocusPolicy(QtCore.Qt.FocusPolicy.StrongFocus)
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
154 self.tlsCertsFilePicker.setObjectName("tlsCertsFilePicker")
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
155 self.gridLayout_3.addWidget(self.tlsCertsFilePicker, 1, 1, 1, 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
156 spacerItem4 = QtWidgets.QSpacerItem(20, 214, 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
157 self.gridLayout_3.addItem(spacerItem4, 2, 0, 1, 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
158 self.optionsWidget.addTab(self.tlsTab, "")
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
159 self.propertiesTab = QtWidgets.QWidget()
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
160 self.propertiesTab.setObjectName("propertiesTab")
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
161 self.verticalLayout_3 = QtWidgets.QVBoxLayout(self.propertiesTab)
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
162 self.verticalLayout_3.setObjectName("verticalLayout_3")
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
163 self.horizontalLayout_2 = QtWidgets.QHBoxLayout()
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
164 self.horizontalLayout_2.setObjectName("horizontalLayout_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
165 self.connectPropertiesButton = QtWidgets.QRadioButton(parent=self.propertiesTab)
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
166 self.connectPropertiesButton.setChecked(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
167 self.connectPropertiesButton.setObjectName("connectPropertiesButton")
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
168 self.horizontalLayout_2.addWidget(self.connectPropertiesButton)
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
169 self.disconnectPropertiesButton = QtWidgets.QRadioButton(parent=self.propertiesTab)
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
170 self.disconnectPropertiesButton.setObjectName("disconnectPropertiesButton")
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
171 self.horizontalLayout_2.addWidget(self.disconnectPropertiesButton)
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
172 self.verticalLayout_3.addLayout(self.horizontalLayout_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
173 self.propertiesWidget = MqttUserPropertiesEditor(parent=self.propertiesTab)
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
174 sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Policy.Expanding, 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
175 sizePolicy.setHorizontalStretch(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
176 sizePolicy.setVerticalStretch(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
177 sizePolicy.setHeightForWidth(self.propertiesWidget.sizePolicy().hasHeightForWidth())
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
178 self.propertiesWidget.setSizePolicy(sizePolicy)
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
179 self.propertiesWidget.setFocusPolicy(QtCore.Qt.FocusPolicy.StrongFocus)
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
180 self.propertiesWidget.setObjectName("propertiesWidget")
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
181 self.verticalLayout_3.addWidget(self.propertiesWidget)
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
182 self.samePropertiesCheckBox = QtWidgets.QCheckBox(parent=self.propertiesTab)
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
183 self.samePropertiesCheckBox.setObjectName("samePropertiesCheckBox")
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
184 self.verticalLayout_3.addWidget(self.samePropertiesCheckBox)
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
185 self.optionsWidget.addTab(self.propertiesTab, "")
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
186 self.verticalLayout.addWidget(self.optionsWidget)
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
187 self.buttonBox = QtWidgets.QDialogButtonBox(parent=MqttConnectionOptionsDialog)
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
188 self.buttonBox.setOrientation(QtCore.Qt.Orientation.Horizontal)
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
189 self.buttonBox.setStandardButtons(QtWidgets.QDialogButtonBox.StandardButton.Cancel|QtWidgets.QDialogButtonBox.StandardButton.Ok|QtWidgets.QDialogButtonBox.StandardButton.RestoreDefaults)
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
190 self.buttonBox.setObjectName("buttonBox")
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
191 self.verticalLayout.addWidget(self.buttonBox)
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
192
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
193 self.retranslateUi(MqttConnectionOptionsDialog)
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
194 self.optionsWidget.setCurrentIndex(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
195 self.buttonBox.accepted.connect(MqttConnectionOptionsDialog.accept) # type: ignore
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
196 self.buttonBox.rejected.connect(MqttConnectionOptionsDialog.reject) # type: ignore
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
197 self.tlsEnableCheckBox.toggled['bool'].connect(self.tlsCertsFilePicker.setEnabled) # type: ignore
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
198 QtCore.QMetaObject.connectSlotsByName(MqttConnectionOptionsDialog)
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
199 MqttConnectionOptionsDialog.setTabOrder(self.optionsWidget, self.clientIdEdit)
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
200 MqttConnectionOptionsDialog.setTabOrder(self.clientIdEdit, self.generateIdButton)
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
201 MqttConnectionOptionsDialog.setTabOrder(self.generateIdButton, self.mqttv31Button)
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
202 MqttConnectionOptionsDialog.setTabOrder(self.mqttv31Button, self.mqttv311Button)
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
203 MqttConnectionOptionsDialog.setTabOrder(self.mqttv311Button, self.mqttv5Button)
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
204 MqttConnectionOptionsDialog.setTabOrder(self.mqttv5Button, self.connectionTimeoutSpinBox)
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
205 MqttConnectionOptionsDialog.setTabOrder(self.connectionTimeoutSpinBox, self.keepaliveSpinBox)
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
206 MqttConnectionOptionsDialog.setTabOrder(self.keepaliveSpinBox, self.cleanSessionCheckBox)
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
207 MqttConnectionOptionsDialog.setTabOrder(self.cleanSessionCheckBox, self.usernameEdit)
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
208 MqttConnectionOptionsDialog.setTabOrder(self.usernameEdit, self.passwordEdit)
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
209 MqttConnectionOptionsDialog.setTabOrder(self.passwordEdit, self.willTopicEdit)
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
210 MqttConnectionOptionsDialog.setTabOrder(self.willTopicEdit, self.willMessageEdit)
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
211 MqttConnectionOptionsDialog.setTabOrder(self.willMessageEdit, self.willQosSpinBox)
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
212 MqttConnectionOptionsDialog.setTabOrder(self.willQosSpinBox, self.willRetainCheckBox)
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
213 MqttConnectionOptionsDialog.setTabOrder(self.willRetainCheckBox, self.willPropertiesButton)
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
214 MqttConnectionOptionsDialog.setTabOrder(self.willPropertiesButton, self.tlsEnableCheckBox)
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
215 MqttConnectionOptionsDialog.setTabOrder(self.tlsEnableCheckBox, self.tlsCertsFilePicker)
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
216 MqttConnectionOptionsDialog.setTabOrder(self.tlsCertsFilePicker, self.connectPropertiesButton)
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
217 MqttConnectionOptionsDialog.setTabOrder(self.connectPropertiesButton, self.disconnectPropertiesButton)
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
218 MqttConnectionOptionsDialog.setTabOrder(self.disconnectPropertiesButton, self.propertiesWidget)
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
219 MqttConnectionOptionsDialog.setTabOrder(self.propertiesWidget, self.samePropertiesCheckBox)
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
220
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
221 def retranslateUi(self, MqttConnectionOptionsDialog):
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
222 _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
223 MqttConnectionOptionsDialog.setWindowTitle(_translate("MqttConnectionOptionsDialog", "MQTT Connection Options"))
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
224 self.label.setText(_translate("MqttConnectionOptionsDialog", "Client ID:"))
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
225 self.clientIdEdit.setToolTip(_translate("MqttConnectionOptionsDialog", "Enter the ID string for this client"))
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
226 self.generateIdButton.setToolTip(_translate("MqttConnectionOptionsDialog", "Press to generate a client ID"))
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
227 self.generateIdButton.setText(_translate("MqttConnectionOptionsDialog", "Generate"))
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
228 self.groupBox_5.setTitle(_translate("MqttConnectionOptionsDialog", "MQTT Protocol"))
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
229 self.mqttv31Button.setToolTip(_translate("MqttConnectionOptionsDialog", "Select to use the MQTT 3.1 protocol"))
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
230 self.mqttv31Button.setText(_translate("MqttConnectionOptionsDialog", "v 3.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
231 self.mqttv311Button.setToolTip(_translate("MqttConnectionOptionsDialog", "Select to use the MQTT 3.1.1 protocol"))
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
232 self.mqttv311Button.setText(_translate("MqttConnectionOptionsDialog", "v 3.1.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
233 self.mqttv5Button.setToolTip(_translate("MqttConnectionOptionsDialog", "Select to use the MQTT 5.0 protocol"))
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
234 self.mqttv5Button.setText(_translate("MqttConnectionOptionsDialog", "v 5.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
235 self.label_6.setText(_translate("MqttConnectionOptionsDialog", "Connection Timeout:"))
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
236 self.connectionTimeoutSpinBox.setToolTip(_translate("MqttConnectionOptionsDialog", "Enter the connection timeout in seconds"))
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
237 self.connectionTimeoutSpinBox.setSuffix(_translate("MqttConnectionOptionsDialog", " s"))
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
238 self.label_2.setText(_translate("MqttConnectionOptionsDialog", "Keep Alive Interval:"))
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
239 self.keepaliveSpinBox.setToolTip(_translate("MqttConnectionOptionsDialog", "Enter the keep alive interval in seconds"))
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
240 self.keepaliveSpinBox.setSuffix(_translate("MqttConnectionOptionsDialog", " s"))
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
241 self.cleanSessionCheckBox.setToolTip(_translate("MqttConnectionOptionsDialog", "Select to start with a clean session"))
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
242 self.cleanSessionCheckBox.setText(_translate("MqttConnectionOptionsDialog", "Clean Session"))
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
243 self.optionsWidget.setTabText(self.optionsWidget.indexOf(self.generalTab), _translate("MqttConnectionOptionsDialog", "General"))
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
244 self.label_3.setText(_translate("MqttConnectionOptionsDialog", "User Name:"))
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
245 self.usernameEdit.setToolTip(_translate("MqttConnectionOptionsDialog", "Enter the user name"))
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
246 self.label_4.setText(_translate("MqttConnectionOptionsDialog", "Password:"))
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
247 self.passwordEdit.setToolTip(_translate("MqttConnectionOptionsDialog", "Enter the password"))
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
248 self.optionsWidget.setTabText(self.optionsWidget.indexOf(self.credentialsTab), _translate("MqttConnectionOptionsDialog", "User Credentials"))
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
249 self.willTopicEdit.setToolTip(_translate("MqttConnectionOptionsDialog", "Enter the topic of the last will"))
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
250 self.label_5.setText(_translate("MqttConnectionOptionsDialog", "QoS:"))
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
251 self.willQosSpinBox.setToolTip(_translate("MqttConnectionOptionsDialog", "Enter the desired QoS 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
252 self.willRetainCheckBox.setToolTip(_translate("MqttConnectionOptionsDialog", "Select to retain the last will message"))
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
253 self.willRetainCheckBox.setText(_translate("MqttConnectionOptionsDialog", "Retain"))
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
254 self.willPropertiesButton.setToolTip(_translate("MqttConnectionOptionsDialog", "Press to edit the 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
255 self.willMessageEdit.setToolTip(_translate("MqttConnectionOptionsDialog", "Enter the last will message to be sent"))
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
256 self.optionsWidget.setTabText(self.optionsWidget.indexOf(self.lastWillTab), _translate("MqttConnectionOptionsDialog", "Last Will"))
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
257 self.tlsEnableCheckBox.setToolTip(_translate("MqttConnectionOptionsDialog", "Select to enable SSL/TLS connections"))
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
258 self.tlsEnableCheckBox.setText(_translate("MqttConnectionOptionsDialog", "SSL/TLS Enabled"))
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
259 self.label_8.setText(_translate("MqttConnectionOptionsDialog", "CA File:"))
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
260 self.tlsCertsFilePicker.setToolTip(_translate("MqttConnectionOptionsDialog", "Enter the full path to the CA certificate file; leave empty to use platform default"))
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
261 self.optionsWidget.setTabText(self.optionsWidget.indexOf(self.tlsTab), _translate("MqttConnectionOptionsDialog", "SSL/TLS"))
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
262 self.connectPropertiesButton.setToolTip(_translate("MqttConnectionOptionsDialog", "Select to edit the CONNECT 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
263 self.connectPropertiesButton.setText(_translate("MqttConnectionOptionsDialog", "CONNECT"))
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
264 self.disconnectPropertiesButton.setToolTip(_translate("MqttConnectionOptionsDialog", "Select to edit the DISCONNECT 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
265 self.disconnectPropertiesButton.setText(_translate("MqttConnectionOptionsDialog", "DISCONNECT"))
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
266 self.samePropertiesCheckBox.setToolTip(_translate("MqttConnectionOptionsDialog", "Select to use the CONNECT user properties when disconnecting"))
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
267 self.samePropertiesCheckBox.setText(_translate("MqttConnectionOptionsDialog", "Use CONNECT properties for DISCONNECT"))
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
268 self.optionsWidget.setTabText(self.optionsWidget.indexOf(self.propertiesTab), _translate("MqttConnectionOptionsDialog", "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
269 from MqttMonitor.MqttUserPropertiesEditor import 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
270 from eric7.EricWidgets.EricPathPicker import EricPathPicker

eric ide

mercurial