--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/eric7/Plugins/VcsPlugins/vcsGit/Ui_GitCommandDialog.py Fri Jun 07 10:05:06 2024 +0200 @@ -0,0 +1,73 @@ +# Form implementation generated from reading ui file '/home/detlev/Development/Python/Eric/eric7_default/src/eric7/Plugins/VcsPlugins/vcsGit/GitCommandDialog.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_GitCommandDialog(object): + def setupUi(self, GitCommandDialog): + GitCommandDialog.setObjectName("GitCommandDialog") + GitCommandDialog.resize(628, 99) + GitCommandDialog.setSizeGripEnabled(True) + self.gridLayout = QtWidgets.QGridLayout(GitCommandDialog) + self.gridLayout.setObjectName("gridLayout") + self.textLabel1 = QtWidgets.QLabel(parent=GitCommandDialog) + self.textLabel1.setObjectName("textLabel1") + self.gridLayout.addWidget(self.textLabel1, 0, 0, 1, 1) + self.commandCombo = QtWidgets.QComboBox(parent=GitCommandDialog) + sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Policy.Expanding, QtWidgets.QSizePolicy.Policy.Fixed) + sizePolicy.setHorizontalStretch(0) + sizePolicy.setVerticalStretch(0) + sizePolicy.setHeightForWidth(self.commandCombo.sizePolicy().hasHeightForWidth()) + self.commandCombo.setSizePolicy(sizePolicy) + self.commandCombo.setEditable(True) + self.commandCombo.setInsertPolicy(QtWidgets.QComboBox.InsertPolicy.InsertAtTop) + self.commandCombo.setDuplicatesEnabled(False) + self.commandCombo.setObjectName("commandCombo") + self.gridLayout.addWidget(self.commandCombo, 0, 1, 1, 1) + self.textLabel3 = QtWidgets.QLabel(parent=GitCommandDialog) + sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Policy.Minimum, QtWidgets.QSizePolicy.Policy.Preferred) + sizePolicy.setHorizontalStretch(0) + sizePolicy.setVerticalStretch(0) + sizePolicy.setHeightForWidth(self.textLabel3.sizePolicy().hasHeightForWidth()) + self.textLabel3.setSizePolicy(sizePolicy) + self.textLabel3.setObjectName("textLabel3") + self.gridLayout.addWidget(self.textLabel3, 1, 0, 1, 1) + self.projectDirLabel = QtWidgets.QLabel(parent=GitCommandDialog) + sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Policy.Expanding, QtWidgets.QSizePolicy.Policy.Preferred) + sizePolicy.setHorizontalStretch(0) + sizePolicy.setVerticalStretch(0) + sizePolicy.setHeightForWidth(self.projectDirLabel.sizePolicy().hasHeightForWidth()) + self.projectDirLabel.setSizePolicy(sizePolicy) + self.projectDirLabel.setObjectName("projectDirLabel") + self.gridLayout.addWidget(self.projectDirLabel, 1, 1, 1, 1) + self.buttonBox = QtWidgets.QDialogButtonBox(parent=GitCommandDialog) + self.buttonBox.setOrientation(QtCore.Qt.Orientation.Horizontal) + self.buttonBox.setStandardButtons(QtWidgets.QDialogButtonBox.StandardButton.Cancel|QtWidgets.QDialogButtonBox.StandardButton.Ok) + self.buttonBox.setObjectName("buttonBox") + self.gridLayout.addWidget(self.buttonBox, 2, 0, 1, 2) + + self.retranslateUi(GitCommandDialog) + self.buttonBox.accepted.connect(GitCommandDialog.accept) # type: ignore + self.buttonBox.rejected.connect(GitCommandDialog.reject) # type: ignore + QtCore.QMetaObject.connectSlotsByName(GitCommandDialog) + GitCommandDialog.setTabOrder(self.commandCombo, self.buttonBox) + + def retranslateUi(self, GitCommandDialog): + _translate = QtCore.QCoreApplication.translate + GitCommandDialog.setWindowTitle(_translate("GitCommandDialog", "Git Command")) + self.textLabel1.setText(_translate("GitCommandDialog", "Git Command:")) + self.commandCombo.setToolTip(_translate("GitCommandDialog", "Enter the Git command to be executed with all necessary parameters")) + self.commandCombo.setWhatsThis(_translate("GitCommandDialog", "<b>Git Command</b>\n" +"<p>Enter the Git command to be executed including all necessary \n" +"parameters. If a parameter of the commandline includes a space you have to \n" +"surround this parameter by single or double quotes. Do not include the name \n" +"of the Git client executable (i.e. git).</p>")) + self.textLabel3.setText(_translate("GitCommandDialog", "Project Directory:")) + self.projectDirLabel.setToolTip(_translate("GitCommandDialog", "This shows the root directory of the current project.")) + self.projectDirLabel.setText(_translate("GitCommandDialog", "project directory"))