|
1 # Form implementation generated from reading ui file '/home/detlev/Development/Python/Eric/eric7_default/src/eric7/Plugins/VcsPlugins/vcsGit/GitPatchFilesDialog.ui' |
|
2 # |
|
3 # Created by: PyQt6 UI code generator 6.7.0 |
|
4 # |
|
5 # WARNING: Any manual changes made to this file will be lost when pyuic6 is |
|
6 # run again. Do not edit this file unless you know what you are doing. |
|
7 |
|
8 |
|
9 from PyQt6 import QtCore, QtGui, QtWidgets |
|
10 |
|
11 |
|
12 class Ui_GitPatchFilesDialog(object): |
|
13 def setupUi(self, GitPatchFilesDialog): |
|
14 GitPatchFilesDialog.setObjectName("GitPatchFilesDialog") |
|
15 GitPatchFilesDialog.resize(498, 411) |
|
16 GitPatchFilesDialog.setSizeGripEnabled(True) |
|
17 self.verticalLayout_2 = QtWidgets.QVBoxLayout(GitPatchFilesDialog) |
|
18 self.verticalLayout_2.setObjectName("verticalLayout_2") |
|
19 self.horizontalLayout_2 = QtWidgets.QHBoxLayout() |
|
20 self.horizontalLayout_2.setObjectName("horizontalLayout_2") |
|
21 self.patchFilesList = QtWidgets.QListWidget(parent=GitPatchFilesDialog) |
|
22 self.patchFilesList.setAlternatingRowColors(True) |
|
23 self.patchFilesList.setSelectionMode(QtWidgets.QAbstractItemView.SelectionMode.ExtendedSelection) |
|
24 self.patchFilesList.setObjectName("patchFilesList") |
|
25 self.horizontalLayout_2.addWidget(self.patchFilesList) |
|
26 self.verticalLayout = QtWidgets.QVBoxLayout() |
|
27 self.verticalLayout.setObjectName("verticalLayout") |
|
28 self.addButton = QtWidgets.QToolButton(parent=GitPatchFilesDialog) |
|
29 self.addButton.setObjectName("addButton") |
|
30 self.verticalLayout.addWidget(self.addButton) |
|
31 self.deleteButton = QtWidgets.QToolButton(parent=GitPatchFilesDialog) |
|
32 self.deleteButton.setObjectName("deleteButton") |
|
33 self.verticalLayout.addWidget(self.deleteButton) |
|
34 self.line = QtWidgets.QFrame(parent=GitPatchFilesDialog) |
|
35 self.line.setFrameShape(QtWidgets.QFrame.Shape.HLine) |
|
36 self.line.setFrameShadow(QtWidgets.QFrame.Shadow.Sunken) |
|
37 self.line.setObjectName("line") |
|
38 self.verticalLayout.addWidget(self.line) |
|
39 self.upButton = QtWidgets.QToolButton(parent=GitPatchFilesDialog) |
|
40 self.upButton.setObjectName("upButton") |
|
41 self.verticalLayout.addWidget(self.upButton) |
|
42 self.downButton = QtWidgets.QToolButton(parent=GitPatchFilesDialog) |
|
43 self.downButton.setObjectName("downButton") |
|
44 self.verticalLayout.addWidget(self.downButton) |
|
45 spacerItem = QtWidgets.QSpacerItem(20, 40, QtWidgets.QSizePolicy.Policy.Minimum, QtWidgets.QSizePolicy.Policy.Expanding) |
|
46 self.verticalLayout.addItem(spacerItem) |
|
47 self.horizontalLayout_2.addLayout(self.verticalLayout) |
|
48 self.verticalLayout_2.addLayout(self.horizontalLayout_2) |
|
49 self.horizontalLayout = QtWidgets.QHBoxLayout() |
|
50 self.horizontalLayout.setObjectName("horizontalLayout") |
|
51 self.label_4 = QtWidgets.QLabel(parent=GitPatchFilesDialog) |
|
52 self.label_4.setObjectName("label_4") |
|
53 self.horizontalLayout.addWidget(self.label_4) |
|
54 self.stripSpinBox = QtWidgets.QSpinBox(parent=GitPatchFilesDialog) |
|
55 self.stripSpinBox.setAlignment(QtCore.Qt.AlignmentFlag.AlignRight|QtCore.Qt.AlignmentFlag.AlignTrailing|QtCore.Qt.AlignmentFlag.AlignVCenter) |
|
56 self.stripSpinBox.setMaximum(9) |
|
57 self.stripSpinBox.setProperty("value", 1) |
|
58 self.stripSpinBox.setObjectName("stripSpinBox") |
|
59 self.horizontalLayout.addWidget(self.stripSpinBox) |
|
60 spacerItem1 = QtWidgets.QSpacerItem(118, 20, QtWidgets.QSizePolicy.Policy.Expanding, QtWidgets.QSizePolicy.Policy.Minimum) |
|
61 self.horizontalLayout.addItem(spacerItem1) |
|
62 self.verticalLayout_2.addLayout(self.horizontalLayout) |
|
63 self.eofCheckBox = QtWidgets.QCheckBox(parent=GitPatchFilesDialog) |
|
64 self.eofCheckBox.setObjectName("eofCheckBox") |
|
65 self.verticalLayout_2.addWidget(self.eofCheckBox) |
|
66 self.lineCountsCheckBox = QtWidgets.QCheckBox(parent=GitPatchFilesDialog) |
|
67 self.lineCountsCheckBox.setObjectName("lineCountsCheckBox") |
|
68 self.verticalLayout_2.addWidget(self.lineCountsCheckBox) |
|
69 self.buttonBox = QtWidgets.QDialogButtonBox(parent=GitPatchFilesDialog) |
|
70 self.buttonBox.setOrientation(QtCore.Qt.Orientation.Horizontal) |
|
71 self.buttonBox.setStandardButtons(QtWidgets.QDialogButtonBox.StandardButton.Cancel|QtWidgets.QDialogButtonBox.StandardButton.Ok) |
|
72 self.buttonBox.setObjectName("buttonBox") |
|
73 self.verticalLayout_2.addWidget(self.buttonBox) |
|
74 |
|
75 self.retranslateUi(GitPatchFilesDialog) |
|
76 self.buttonBox.accepted.connect(GitPatchFilesDialog.accept) # type: ignore |
|
77 self.buttonBox.rejected.connect(GitPatchFilesDialog.reject) # type: ignore |
|
78 QtCore.QMetaObject.connectSlotsByName(GitPatchFilesDialog) |
|
79 GitPatchFilesDialog.setTabOrder(self.patchFilesList, self.addButton) |
|
80 GitPatchFilesDialog.setTabOrder(self.addButton, self.deleteButton) |
|
81 GitPatchFilesDialog.setTabOrder(self.deleteButton, self.upButton) |
|
82 GitPatchFilesDialog.setTabOrder(self.upButton, self.downButton) |
|
83 GitPatchFilesDialog.setTabOrder(self.downButton, self.stripSpinBox) |
|
84 GitPatchFilesDialog.setTabOrder(self.stripSpinBox, self.eofCheckBox) |
|
85 GitPatchFilesDialog.setTabOrder(self.eofCheckBox, self.lineCountsCheckBox) |
|
86 |
|
87 def retranslateUi(self, GitPatchFilesDialog): |
|
88 _translate = QtCore.QCoreApplication.translate |
|
89 GitPatchFilesDialog.setWindowTitle(_translate("GitPatchFilesDialog", "Patch Files")) |
|
90 self.addButton.setToolTip(_translate("GitPatchFilesDialog", "Press to add patch files to the list")) |
|
91 self.deleteButton.setToolTip(_translate("GitPatchFilesDialog", "Press to delete the selected patch files from the list")) |
|
92 self.upButton.setToolTip(_translate("GitPatchFilesDialog", "Press to move the selected file up")) |
|
93 self.downButton.setToolTip(_translate("GitPatchFilesDialog", "Press to move the selected file down")) |
|
94 self.label_4.setText(_translate("GitPatchFilesDialog", "Strip Count:")) |
|
95 self.stripSpinBox.setToolTip(_translate("GitPatchFilesDialog", "Enter number of leading directories to strip off (default 1)")) |
|
96 self.eofCheckBox.setToolTip(_translate("GitPatchFilesDialog", "Select, if the patch has inaccurate end-of-file markers")) |
|
97 self.eofCheckBox.setText(_translate("GitPatchFilesDialog", "Patch has inaccurate end-of-file")) |
|
98 self.lineCountsCheckBox.setToolTip(_translate("GitPatchFilesDialog", "Select, if the line counts of the patch header may be wrong")) |
|
99 self.lineCountsCheckBox.setText(_translate("GitPatchFilesDialog", "Don\'t trust line counts")) |