--- a/src/eric7/WebBrowser/WebAuth/Ui_Fido2ManagementDialog.py Sat Jul 20 11:14:51 2024 +0200 +++ b/src/eric7/WebBrowser/WebAuth/Ui_Fido2ManagementDialog.py Mon Jul 22 10:15:41 2024 +0200 @@ -1,6 +1,6 @@ # Form implementation generated from reading ui file 'src/eric7/WebBrowser/WebAuth/Fido2ManagementDialog.ui' # -# Created by: PyQt6 UI code generator 6.7.0 +# 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. @@ -36,17 +36,10 @@ self.pinButton = QtWidgets.QPushButton(parent=Fido2ManagementDialog) self.pinButton.setObjectName("pinButton") self.horizontalLayout.addWidget(self.pinButton) - self.showInfoButton = QtWidgets.QPushButton(parent=Fido2ManagementDialog) - self.showInfoButton.setObjectName("showInfoButton") - self.horizontalLayout.addWidget(self.showInfoButton) - self.line_2 = QtWidgets.QFrame(parent=Fido2ManagementDialog) - self.line_2.setFrameShape(QtWidgets.QFrame.Shape.VLine) - self.line_2.setFrameShadow(QtWidgets.QFrame.Shadow.Sunken) - self.line_2.setObjectName("line_2") - self.horizontalLayout.addWidget(self.line_2) - self.resetButton = QtWidgets.QPushButton(parent=Fido2ManagementDialog) - self.resetButton.setObjectName("resetButton") - self.horizontalLayout.addWidget(self.resetButton) + self.menuButton = EricToolButton(parent=Fido2ManagementDialog) + self.menuButton.setPopupMode(QtWidgets.QToolButton.ToolButtonPopupMode.InstantPopup) + self.menuButton.setObjectName("menuButton") + self.horizontalLayout.addWidget(self.menuButton) self.verticalLayout_2.addLayout(self.horizontalLayout) self.groupBox = QtWidgets.QGroupBox(parent=Fido2ManagementDialog) self.groupBox.setObjectName("groupBox") @@ -118,12 +111,12 @@ QtCore.QMetaObject.connectSlotsByName(Fido2ManagementDialog) Fido2ManagementDialog.setTabOrder(self.securityKeysComboBox, self.lockButton) Fido2ManagementDialog.setTabOrder(self.lockButton, self.pinButton) - Fido2ManagementDialog.setTabOrder(self.pinButton, self.showInfoButton) - Fido2ManagementDialog.setTabOrder(self.showInfoButton, self.loadPasskeysButton) + Fido2ManagementDialog.setTabOrder(self.pinButton, self.loadPasskeysButton) Fido2ManagementDialog.setTabOrder(self.loadPasskeysButton, self.passkeysList) Fido2ManagementDialog.setTabOrder(self.passkeysList, self.editButton) Fido2ManagementDialog.setTabOrder(self.editButton, self.deleteButton) Fido2ManagementDialog.setTabOrder(self.deleteButton, self.reloadButton) + Fido2ManagementDialog.setTabOrder(self.reloadButton, self.menuButton) def retranslateUi(self, Fido2ManagementDialog): _translate = QtCore.QCoreApplication.translate @@ -133,10 +126,6 @@ self.lockButton.setToolTip(_translate("Fido2ManagementDialog", "Press to unlock the security key, release to lock it again.")) self.pinButton.setToolTip(_translate("Fido2ManagementDialog", "Press to set or change the PIN of the selected security key.")) self.pinButton.setText(_translate("Fido2ManagementDialog", "Set PIN")) - self.showInfoButton.setToolTip(_translate("Fido2ManagementDialog", "Press to show a dialog with technical data of the selected security key.")) - self.showInfoButton.setText(_translate("Fido2ManagementDialog", "Show Info")) - self.resetButton.setToolTip(_translate("Fido2ManagementDialog", "Press to reset the selected security key.")) - self.resetButton.setText(_translate("Fido2ManagementDialog", "Reset Key")) self.groupBox.setTitle(_translate("Fido2ManagementDialog", "Passkeys")) self.loadPasskeysButton.setToolTip(_translate("Fido2ManagementDialog", "Press ro load the passkeys of the selected security key.")) self.loadPasskeysButton.setText(_translate("Fido2ManagementDialog", "Load Passkeys")) @@ -151,3 +140,4 @@ self.deleteButton.setText(_translate("Fido2ManagementDialog", "Delete")) self.label.setText(_translate("Fido2ManagementDialog", "Existing Passkeys:")) self.label_2.setText(_translate("Fido2ManagementDialog", "Max. Remaining Passkeys:")) +from eric7.EricWidgets.EricToolButton import EricToolButton