src/eric7/Plugins/VcsPlugins/vcsPySvn/Ui_SvnLoginDialog.py

Fri, 07 Jun 2024 10:05:06 +0200

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Fri, 07 Jun 2024 10:05:06 +0200
branch
eric7
changeset 10743
5d3a5a05114e
child 10745
2921faddeaec
permissions
-rw-r--r--

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.

# Form implementation generated from reading ui file '/home/detlev/Development/Python/Eric/eric7_default/src/eric7/Plugins/VcsPlugins/vcsPySvn/SvnLoginDialog.ui'
#
# Created by: PyQt6 UI code generator 6.7.0
#
# 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_SvnLoginDialog(object):
    def setupUi(self, SvnLoginDialog):
        SvnLoginDialog.setObjectName("SvnLoginDialog")
        SvnLoginDialog.resize(400, 145)
        SvnLoginDialog.setSizeGripEnabled(True)
        self.vboxlayout = QtWidgets.QVBoxLayout(SvnLoginDialog)
        self.vboxlayout.setObjectName("vboxlayout")
        self.gridlayout = QtWidgets.QGridLayout()
        self.gridlayout.setObjectName("gridlayout")
        self.saveCheckBox = QtWidgets.QCheckBox(parent=SvnLoginDialog)
        self.saveCheckBox.setObjectName("saveCheckBox")
        self.gridlayout.addWidget(self.saveCheckBox, 3, 0, 1, 2)
        self.passwordEdit = QtWidgets.QLineEdit(parent=SvnLoginDialog)
        self.passwordEdit.setEchoMode(QtWidgets.QLineEdit.EchoMode.Password)
        self.passwordEdit.setObjectName("passwordEdit")
        self.gridlayout.addWidget(self.passwordEdit, 2, 1, 1, 1)
        self.label_2 = QtWidgets.QLabel(parent=SvnLoginDialog)
        self.label_2.setObjectName("label_2")
        self.gridlayout.addWidget(self.label_2, 2, 0, 1, 1)
        self.label = QtWidgets.QLabel(parent=SvnLoginDialog)
        self.label.setObjectName("label")
        self.gridlayout.addWidget(self.label, 1, 0, 1, 1)
        self.realmLabel = QtWidgets.QLabel(parent=SvnLoginDialog)
        self.realmLabel.setText("")
        self.realmLabel.setObjectName("realmLabel")
        self.gridlayout.addWidget(self.realmLabel, 0, 0, 1, 2)
        self.usernameEdit = QtWidgets.QLineEdit(parent=SvnLoginDialog)
        self.usernameEdit.setObjectName("usernameEdit")
        self.gridlayout.addWidget(self.usernameEdit, 1, 1, 1, 1)
        self.vboxlayout.addLayout(self.gridlayout)
        self.buttonBox = QtWidgets.QDialogButtonBox(parent=SvnLoginDialog)
        self.buttonBox.setOrientation(QtCore.Qt.Orientation.Horizontal)
        self.buttonBox.setStandardButtons(QtWidgets.QDialogButtonBox.StandardButton.Cancel|QtWidgets.QDialogButtonBox.StandardButton.Ok)
        self.buttonBox.setObjectName("buttonBox")
        self.vboxlayout.addWidget(self.buttonBox)

        self.retranslateUi(SvnLoginDialog)
        self.buttonBox.accepted.connect(SvnLoginDialog.accept) # type: ignore
        self.buttonBox.rejected.connect(SvnLoginDialog.reject) # type: ignore
        QtCore.QMetaObject.connectSlotsByName(SvnLoginDialog)
        SvnLoginDialog.setTabOrder(self.usernameEdit, self.passwordEdit)
        SvnLoginDialog.setTabOrder(self.passwordEdit, self.saveCheckBox)

    def retranslateUi(self, SvnLoginDialog):
        _translate = QtCore.QCoreApplication.translate
        SvnLoginDialog.setWindowTitle(_translate("SvnLoginDialog", "Subversion Login"))
        self.saveCheckBox.setToolTip(_translate("SvnLoginDialog", "Select, if the login data should be saved."))
        self.saveCheckBox.setText(_translate("SvnLoginDialog", "Save login data"))
        self.passwordEdit.setToolTip(_translate("SvnLoginDialog", "Enter password"))
        self.label_2.setText(_translate("SvnLoginDialog", "Password:"))
        self.label.setText(_translate("SvnLoginDialog", "Username:"))
        self.usernameEdit.setToolTip(_translate("SvnLoginDialog", "Enter username"))

eric ide

mercurial