src/eric7/Plugins/VcsPlugins/vcsMercurial/HisteditExtension/Ui_HgHisteditCommitEditor.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/vcsMercurial/HisteditExtension/HgHisteditCommitEditor.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_HgHisteditCommitEditor(object):
    def setupUi(self, HgHisteditCommitEditor):
        HgHisteditCommitEditor.setObjectName("HgHisteditCommitEditor")
        HgHisteditCommitEditor.resize(500, 600)
        HgHisteditCommitEditor.setSizeGripEnabled(True)
        self.verticalLayout_2 = QtWidgets.QVBoxLayout(HgHisteditCommitEditor)
        self.verticalLayout_2.setObjectName("verticalLayout_2")
        self.splitter = QtWidgets.QSplitter(parent=HgHisteditCommitEditor)
        self.splitter.setOrientation(QtCore.Qt.Orientation.Vertical)
        self.splitter.setObjectName("splitter")
        self.groupBox = QtWidgets.QGroupBox(parent=self.splitter)
        self.groupBox.setObjectName("groupBox")
        self.verticalLayout_3 = QtWidgets.QVBoxLayout(self.groupBox)
        self.verticalLayout_3.setObjectName("verticalLayout_3")
        self.messageEdit = EricSpellCheckedPlainTextEdit(parent=self.groupBox)
        self.messageEdit.setTabChangesFocus(True)
        self.messageEdit.setObjectName("messageEdit")
        self.verticalLayout_3.addWidget(self.messageEdit)
        self.label_2 = QtWidgets.QLabel(parent=self.groupBox)
        self.label_2.setObjectName("label_2")
        self.verticalLayout_3.addWidget(self.label_2)
        self.recentComboBox = QtWidgets.QComboBox(parent=self.groupBox)
        self.recentComboBox.setObjectName("recentComboBox")
        self.verticalLayout_3.addWidget(self.recentComboBox)
        self.groupBox_2 = QtWidgets.QGroupBox(parent=self.splitter)
        self.groupBox_2.setObjectName("groupBox_2")
        self.verticalLayout = QtWidgets.QVBoxLayout(self.groupBox_2)
        self.verticalLayout.setObjectName("verticalLayout")
        self.infoEdit = EricSpellCheckedPlainTextEdit(parent=self.groupBox_2)
        self.infoEdit.setReadOnly(True)
        self.infoEdit.setObjectName("infoEdit")
        self.verticalLayout.addWidget(self.infoEdit)
        self.verticalLayout_2.addWidget(self.splitter)
        self.buttonBox = QtWidgets.QDialogButtonBox(parent=HgHisteditCommitEditor)
        self.buttonBox.setOrientation(QtCore.Qt.Orientation.Horizontal)
        self.buttonBox.setStandardButtons(QtWidgets.QDialogButtonBox.StandardButton.Cancel|QtWidgets.QDialogButtonBox.StandardButton.Ok)
        self.buttonBox.setObjectName("buttonBox")
        self.verticalLayout_2.addWidget(self.buttonBox)

        self.retranslateUi(HgHisteditCommitEditor)
        QtCore.QMetaObject.connectSlotsByName(HgHisteditCommitEditor)

    def retranslateUi(self, HgHisteditCommitEditor):
        _translate = QtCore.QCoreApplication.translate
        HgHisteditCommitEditor.setWindowTitle(_translate("HgHisteditCommitEditor", "Commit Message"))
        self.groupBox.setTitle(_translate("HgHisteditCommitEditor", "Commit Message"))
        self.messageEdit.setToolTip(_translate("HgHisteditCommitEditor", "Edit the commit message"))
        self.label_2.setText(_translate("HgHisteditCommitEditor", "Recent commit messages"))
        self.recentComboBox.setToolTip(_translate("HgHisteditCommitEditor", "Select a recent commit message to use"))
        self.groupBox_2.setTitle(_translate("HgHisteditCommitEditor", "Information"))
from eric7.EricWidgets.EricSpellCheckedTextEdit import EricSpellCheckedPlainTextEdit

eric ide

mercurial