src/eric7/Plugins/VcsPlugins/vcsGit/Ui_GitPatchFilesDialog.py

branch
eric7
changeset 10743
5d3a5a05114e
child 10745
2921faddeaec
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/src/eric7/Plugins/VcsPlugins/vcsGit/Ui_GitPatchFilesDialog.py	Fri Jun 07 10:05:06 2024 +0200
@@ -0,0 +1,99 @@
+# Form implementation generated from reading ui file '/home/detlev/Development/Python/Eric/eric7_default/src/eric7/Plugins/VcsPlugins/vcsGit/GitPatchFilesDialog.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_GitPatchFilesDialog(object):
+    def setupUi(self, GitPatchFilesDialog):
+        GitPatchFilesDialog.setObjectName("GitPatchFilesDialog")
+        GitPatchFilesDialog.resize(498, 411)
+        GitPatchFilesDialog.setSizeGripEnabled(True)
+        self.verticalLayout_2 = QtWidgets.QVBoxLayout(GitPatchFilesDialog)
+        self.verticalLayout_2.setObjectName("verticalLayout_2")
+        self.horizontalLayout_2 = QtWidgets.QHBoxLayout()
+        self.horizontalLayout_2.setObjectName("horizontalLayout_2")
+        self.patchFilesList = QtWidgets.QListWidget(parent=GitPatchFilesDialog)
+        self.patchFilesList.setAlternatingRowColors(True)
+        self.patchFilesList.setSelectionMode(QtWidgets.QAbstractItemView.SelectionMode.ExtendedSelection)
+        self.patchFilesList.setObjectName("patchFilesList")
+        self.horizontalLayout_2.addWidget(self.patchFilesList)
+        self.verticalLayout = QtWidgets.QVBoxLayout()
+        self.verticalLayout.setObjectName("verticalLayout")
+        self.addButton = QtWidgets.QToolButton(parent=GitPatchFilesDialog)
+        self.addButton.setObjectName("addButton")
+        self.verticalLayout.addWidget(self.addButton)
+        self.deleteButton = QtWidgets.QToolButton(parent=GitPatchFilesDialog)
+        self.deleteButton.setObjectName("deleteButton")
+        self.verticalLayout.addWidget(self.deleteButton)
+        self.line = QtWidgets.QFrame(parent=GitPatchFilesDialog)
+        self.line.setFrameShape(QtWidgets.QFrame.Shape.HLine)
+        self.line.setFrameShadow(QtWidgets.QFrame.Shadow.Sunken)
+        self.line.setObjectName("line")
+        self.verticalLayout.addWidget(self.line)
+        self.upButton = QtWidgets.QToolButton(parent=GitPatchFilesDialog)
+        self.upButton.setObjectName("upButton")
+        self.verticalLayout.addWidget(self.upButton)
+        self.downButton = QtWidgets.QToolButton(parent=GitPatchFilesDialog)
+        self.downButton.setObjectName("downButton")
+        self.verticalLayout.addWidget(self.downButton)
+        spacerItem = QtWidgets.QSpacerItem(20, 40, QtWidgets.QSizePolicy.Policy.Minimum, QtWidgets.QSizePolicy.Policy.Expanding)
+        self.verticalLayout.addItem(spacerItem)
+        self.horizontalLayout_2.addLayout(self.verticalLayout)
+        self.verticalLayout_2.addLayout(self.horizontalLayout_2)
+        self.horizontalLayout = QtWidgets.QHBoxLayout()
+        self.horizontalLayout.setObjectName("horizontalLayout")
+        self.label_4 = QtWidgets.QLabel(parent=GitPatchFilesDialog)
+        self.label_4.setObjectName("label_4")
+        self.horizontalLayout.addWidget(self.label_4)
+        self.stripSpinBox = QtWidgets.QSpinBox(parent=GitPatchFilesDialog)
+        self.stripSpinBox.setAlignment(QtCore.Qt.AlignmentFlag.AlignRight|QtCore.Qt.AlignmentFlag.AlignTrailing|QtCore.Qt.AlignmentFlag.AlignVCenter)
+        self.stripSpinBox.setMaximum(9)
+        self.stripSpinBox.setProperty("value", 1)
+        self.stripSpinBox.setObjectName("stripSpinBox")
+        self.horizontalLayout.addWidget(self.stripSpinBox)
+        spacerItem1 = QtWidgets.QSpacerItem(118, 20, QtWidgets.QSizePolicy.Policy.Expanding, QtWidgets.QSizePolicy.Policy.Minimum)
+        self.horizontalLayout.addItem(spacerItem1)
+        self.verticalLayout_2.addLayout(self.horizontalLayout)
+        self.eofCheckBox = QtWidgets.QCheckBox(parent=GitPatchFilesDialog)
+        self.eofCheckBox.setObjectName("eofCheckBox")
+        self.verticalLayout_2.addWidget(self.eofCheckBox)
+        self.lineCountsCheckBox = QtWidgets.QCheckBox(parent=GitPatchFilesDialog)
+        self.lineCountsCheckBox.setObjectName("lineCountsCheckBox")
+        self.verticalLayout_2.addWidget(self.lineCountsCheckBox)
+        self.buttonBox = QtWidgets.QDialogButtonBox(parent=GitPatchFilesDialog)
+        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(GitPatchFilesDialog)
+        self.buttonBox.accepted.connect(GitPatchFilesDialog.accept) # type: ignore
+        self.buttonBox.rejected.connect(GitPatchFilesDialog.reject) # type: ignore
+        QtCore.QMetaObject.connectSlotsByName(GitPatchFilesDialog)
+        GitPatchFilesDialog.setTabOrder(self.patchFilesList, self.addButton)
+        GitPatchFilesDialog.setTabOrder(self.addButton, self.deleteButton)
+        GitPatchFilesDialog.setTabOrder(self.deleteButton, self.upButton)
+        GitPatchFilesDialog.setTabOrder(self.upButton, self.downButton)
+        GitPatchFilesDialog.setTabOrder(self.downButton, self.stripSpinBox)
+        GitPatchFilesDialog.setTabOrder(self.stripSpinBox, self.eofCheckBox)
+        GitPatchFilesDialog.setTabOrder(self.eofCheckBox, self.lineCountsCheckBox)
+
+    def retranslateUi(self, GitPatchFilesDialog):
+        _translate = QtCore.QCoreApplication.translate
+        GitPatchFilesDialog.setWindowTitle(_translate("GitPatchFilesDialog", "Patch Files"))
+        self.addButton.setToolTip(_translate("GitPatchFilesDialog", "Press to add patch files to the list"))
+        self.deleteButton.setToolTip(_translate("GitPatchFilesDialog", "Press to delete the selected patch files from the list"))
+        self.upButton.setToolTip(_translate("GitPatchFilesDialog", "Press to move the selected file up"))
+        self.downButton.setToolTip(_translate("GitPatchFilesDialog", "Press to move the selected file down"))
+        self.label_4.setText(_translate("GitPatchFilesDialog", "Strip Count:"))
+        self.stripSpinBox.setToolTip(_translate("GitPatchFilesDialog", "Enter number of leading directories to strip off (default 1)"))
+        self.eofCheckBox.setToolTip(_translate("GitPatchFilesDialog", "Select, if the patch has inaccurate end-of-file markers"))
+        self.eofCheckBox.setText(_translate("GitPatchFilesDialog", "Patch has inaccurate end-of-file"))
+        self.lineCountsCheckBox.setToolTip(_translate("GitPatchFilesDialog", "Select, if the line counts of the patch header may be wrong"))
+        self.lineCountsCheckBox.setText(_translate("GitPatchFilesDialog", "Don\'t trust line counts"))

eric ide

mercurial