src/eric7/Plugins/VcsPlugins/vcsMercurial/ConfigurationPage/Ui_MercurialPage.py

branch
eric7
changeset 10743
5d3a5a05114e
child 10745
2921faddeaec
equal deleted inserted replaced
10742:7aa41173b44b 10743:5d3a5a05114e
1 # Form implementation generated from reading ui file '/home/detlev/Development/Python/Eric/eric7_default/src/eric7/Plugins/VcsPlugins/vcsMercurial/ConfigurationPage/MercurialPage.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_MercurialPage(object):
13 def setupUi(self, MercurialPage):
14 MercurialPage.setObjectName("MercurialPage")
15 MercurialPage.resize(609, 935)
16 self.verticalLayout_2 = QtWidgets.QVBoxLayout(MercurialPage)
17 self.verticalLayout_2.setObjectName("verticalLayout_2")
18 self.headerLabel = QtWidgets.QLabel(parent=MercurialPage)
19 self.headerLabel.setObjectName("headerLabel")
20 self.verticalLayout_2.addWidget(self.headerLabel)
21 self.line15 = QtWidgets.QFrame(parent=MercurialPage)
22 self.line15.setFrameShape(QtWidgets.QFrame.Shape.HLine)
23 self.line15.setFrameShadow(QtWidgets.QFrame.Shadow.Sunken)
24 self.line15.setFrameShape(QtWidgets.QFrame.Shape.HLine)
25 self.line15.setObjectName("line15")
26 self.verticalLayout_2.addWidget(self.line15)
27 self.groupBox_3 = QtWidgets.QGroupBox(parent=MercurialPage)
28 self.groupBox_3.setObjectName("groupBox_3")
29 self.verticalLayout = QtWidgets.QVBoxLayout(self.groupBox_3)
30 self.verticalLayout.setObjectName("verticalLayout")
31 self.label_2 = QtWidgets.QLabel(parent=self.groupBox_3)
32 self.label_2.setWordWrap(True)
33 self.label_2.setObjectName("label_2")
34 self.verticalLayout.addWidget(self.label_2)
35 self.hgPicker = EricPathPicker(parent=self.groupBox_3)
36 sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Policy.Expanding, QtWidgets.QSizePolicy.Policy.Preferred)
37 sizePolicy.setHorizontalStretch(0)
38 sizePolicy.setVerticalStretch(0)
39 sizePolicy.setHeightForWidth(self.hgPicker.sizePolicy().hasHeightForWidth())
40 self.hgPicker.setSizePolicy(sizePolicy)
41 self.hgPicker.setFocusPolicy(QtCore.Qt.FocusPolicy.StrongFocus)
42 self.hgPicker.setToolTip("")
43 self.hgPicker.setWhatsThis("")
44 self.hgPicker.setObjectName("hgPicker")
45 self.verticalLayout.addWidget(self.hgPicker)
46 self.verticalLayout_2.addWidget(self.groupBox_3)
47 self.groupBox_8 = QtWidgets.QGroupBox(parent=MercurialPage)
48 self.groupBox_8.setObjectName("groupBox_8")
49 self.gridLayout = QtWidgets.QGridLayout(self.groupBox_8)
50 self.gridLayout.setObjectName("gridLayout")
51 self.label_4 = QtWidgets.QLabel(parent=self.groupBox_8)
52 self.label_4.setObjectName("label_4")
53 self.gridLayout.addWidget(self.label_4, 0, 0, 1, 1)
54 self.encodingComboBox = QtWidgets.QComboBox(parent=self.groupBox_8)
55 sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Policy.Expanding, QtWidgets.QSizePolicy.Policy.Fixed)
56 sizePolicy.setHorizontalStretch(0)
57 sizePolicy.setVerticalStretch(0)
58 sizePolicy.setHeightForWidth(self.encodingComboBox.sizePolicy().hasHeightForWidth())
59 self.encodingComboBox.setSizePolicy(sizePolicy)
60 self.encodingComboBox.setObjectName("encodingComboBox")
61 self.gridLayout.addWidget(self.encodingComboBox, 0, 1, 1, 1)
62 self.label_5 = QtWidgets.QLabel(parent=self.groupBox_8)
63 self.label_5.setObjectName("label_5")
64 self.gridLayout.addWidget(self.label_5, 0, 2, 1, 1)
65 self.encodingModeComboBox = QtWidgets.QComboBox(parent=self.groupBox_8)
66 sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Policy.Expanding, QtWidgets.QSizePolicy.Policy.Fixed)
67 sizePolicy.setHorizontalStretch(0)
68 sizePolicy.setVerticalStretch(0)
69 sizePolicy.setHeightForWidth(self.encodingModeComboBox.sizePolicy().hasHeightForWidth())
70 self.encodingModeComboBox.setSizePolicy(sizePolicy)
71 self.encodingModeComboBox.setObjectName("encodingModeComboBox")
72 self.gridLayout.addWidget(self.encodingModeComboBox, 0, 3, 1, 1)
73 self.hiddenChangesetsCheckBox = QtWidgets.QCheckBox(parent=self.groupBox_8)
74 self.hiddenChangesetsCheckBox.setObjectName("hiddenChangesetsCheckBox")
75 self.gridLayout.addWidget(self.hiddenChangesetsCheckBox, 1, 0, 1, 2)
76 self.verticalLayout_2.addWidget(self.groupBox_8)
77 self.groupBox = QtWidgets.QGroupBox(parent=MercurialPage)
78 self.groupBox.setObjectName("groupBox")
79 self.gridLayout_3 = QtWidgets.QGridLayout(self.groupBox)
80 self.gridLayout_3.setObjectName("gridLayout_3")
81 self.logWidthSpinBox = QtWidgets.QSpinBox(parent=self.groupBox)
82 self.logWidthSpinBox.setAlignment(QtCore.Qt.AlignmentFlag.AlignRight|QtCore.Qt.AlignmentFlag.AlignTrailing|QtCore.Qt.AlignmentFlag.AlignVCenter)
83 self.logWidthSpinBox.setMinimum(10)
84 self.logWidthSpinBox.setObjectName("logWidthSpinBox")
85 self.gridLayout_3.addWidget(self.logWidthSpinBox, 1, 1, 1, 1)
86 self.label = QtWidgets.QLabel(parent=self.groupBox)
87 self.label.setObjectName("label")
88 self.gridLayout_3.addWidget(self.label, 0, 0, 1, 1)
89 self.logSpinBox = QtWidgets.QSpinBox(parent=self.groupBox)
90 self.logSpinBox.setAlignment(QtCore.Qt.AlignmentFlag.AlignRight|QtCore.Qt.AlignmentFlag.AlignTrailing|QtCore.Qt.AlignmentFlag.AlignVCenter)
91 self.logSpinBox.setMaximum(999999)
92 self.logSpinBox.setObjectName("logSpinBox")
93 self.gridLayout_3.addWidget(self.logSpinBox, 0, 1, 1, 1)
94 self.label_7 = QtWidgets.QLabel(parent=self.groupBox)
95 self.label_7.setObjectName("label_7")
96 self.gridLayout_3.addWidget(self.label_7, 1, 0, 1, 1)
97 spacerItem = QtWidgets.QSpacerItem(41, 20, QtWidgets.QSizePolicy.Policy.Expanding, QtWidgets.QSizePolicy.Policy.Minimum)
98 self.gridLayout_3.addItem(spacerItem, 0, 2, 1, 1)
99 self.startFullLogCheckBox = QtWidgets.QCheckBox(parent=self.groupBox)
100 self.startFullLogCheckBox.setObjectName("startFullLogCheckBox")
101 self.gridLayout_3.addWidget(self.startFullLogCheckBox, 2, 0, 1, 3)
102 self.verticalLayout_2.addWidget(self.groupBox)
103 self.groupBox_2 = QtWidgets.QGroupBox(parent=MercurialPage)
104 self.groupBox_2.setObjectName("groupBox_2")
105 self.gridLayout_2 = QtWidgets.QGridLayout(self.groupBox_2)
106 self.gridLayout_2.setObjectName("gridLayout_2")
107 self.commitAuthorsSpinBox = QtWidgets.QSpinBox(parent=self.groupBox_2)
108 self.commitAuthorsSpinBox.setAlignment(QtCore.Qt.AlignmentFlag.AlignRight|QtCore.Qt.AlignmentFlag.AlignTrailing|QtCore.Qt.AlignmentFlag.AlignVCenter)
109 self.commitAuthorsSpinBox.setMinimum(1)
110 self.commitAuthorsSpinBox.setMaximum(100)
111 self.commitAuthorsSpinBox.setObjectName("commitAuthorsSpinBox")
112 self.gridLayout_2.addWidget(self.commitAuthorsSpinBox, 0, 1, 1, 1)
113 self.label_6 = QtWidgets.QLabel(parent=self.groupBox_2)
114 self.label_6.setObjectName("label_6")
115 self.gridLayout_2.addWidget(self.label_6, 0, 0, 1, 1)
116 spacerItem1 = QtWidgets.QSpacerItem(329, 20, QtWidgets.QSizePolicy.Policy.Expanding, QtWidgets.QSizePolicy.Policy.Minimum)
117 self.gridLayout_2.addItem(spacerItem1, 0, 2, 1, 1)
118 self.verticalLayout_2.addWidget(self.groupBox_2)
119 self.groupBox_4 = QtWidgets.QGroupBox(parent=MercurialPage)
120 self.groupBox_4.setObjectName("groupBox_4")
121 self.horizontalLayout_2 = QtWidgets.QHBoxLayout(self.groupBox_4)
122 self.horizontalLayout_2.setObjectName("horizontalLayout_2")
123 self.pullUpdateCheckBox = QtWidgets.QCheckBox(parent=self.groupBox_4)
124 self.pullUpdateCheckBox.setObjectName("pullUpdateCheckBox")
125 self.horizontalLayout_2.addWidget(self.pullUpdateCheckBox)
126 self.preferUnbundleCheckBox = QtWidgets.QCheckBox(parent=self.groupBox_4)
127 self.preferUnbundleCheckBox.setObjectName("preferUnbundleCheckBox")
128 self.horizontalLayout_2.addWidget(self.preferUnbundleCheckBox)
129 self.verticalLayout_2.addWidget(self.groupBox_4)
130 self.groupBox_7 = QtWidgets.QGroupBox(parent=MercurialPage)
131 self.groupBox_7.setObjectName("groupBox_7")
132 self.verticalLayout_4 = QtWidgets.QVBoxLayout(self.groupBox_7)
133 self.verticalLayout_4.setObjectName("verticalLayout_4")
134 self.internalMergeCheckBox = QtWidgets.QCheckBox(parent=self.groupBox_7)
135 self.internalMergeCheckBox.setObjectName("internalMergeCheckBox")
136 self.verticalLayout_4.addWidget(self.internalMergeCheckBox)
137 self.verticalLayout_2.addWidget(self.groupBox_7)
138 self.groupBox_6 = QtWidgets.QGroupBox(parent=MercurialPage)
139 self.groupBox_6.setObjectName("groupBox_6")
140 self.verticalLayout_3 = QtWidgets.QVBoxLayout(self.groupBox_6)
141 self.verticalLayout_3.setObjectName("verticalLayout_3")
142 self.backupCheckBox = QtWidgets.QCheckBox(parent=self.groupBox_6)
143 self.backupCheckBox.setObjectName("backupCheckBox")
144 self.verticalLayout_3.addWidget(self.backupCheckBox)
145 self.verticalLayout_2.addWidget(self.groupBox_6)
146 self.groupBox_5 = QtWidgets.QGroupBox(parent=MercurialPage)
147 self.groupBox_5.setObjectName("groupBox_5")
148 self.horizontalLayout = QtWidgets.QHBoxLayout(self.groupBox_5)
149 self.horizontalLayout.setObjectName("horizontalLayout")
150 self.label_3 = QtWidgets.QLabel(parent=self.groupBox_5)
151 self.label_3.setObjectName("label_3")
152 self.horizontalLayout.addWidget(self.label_3)
153 self.cleanupPatternEdit = QtWidgets.QLineEdit(parent=self.groupBox_5)
154 self.cleanupPatternEdit.setObjectName("cleanupPatternEdit")
155 self.horizontalLayout.addWidget(self.cleanupPatternEdit)
156 self.verticalLayout_2.addWidget(self.groupBox_5)
157 self.configButton = QtWidgets.QPushButton(parent=MercurialPage)
158 self.configButton.setObjectName("configButton")
159 self.verticalLayout_2.addWidget(self.configButton)
160 self.line15_2 = QtWidgets.QFrame(parent=MercurialPage)
161 self.line15_2.setFrameShape(QtWidgets.QFrame.Shape.HLine)
162 self.line15_2.setFrameShadow(QtWidgets.QFrame.Shadow.Sunken)
163 self.line15_2.setFrameShape(QtWidgets.QFrame.Shape.HLine)
164 self.line15_2.setObjectName("line15_2")
165 self.verticalLayout_2.addWidget(self.line15_2)
166 self.installButton = QtWidgets.QPushButton(parent=MercurialPage)
167 self.installButton.setObjectName("installButton")
168 self.verticalLayout_2.addWidget(self.installButton)
169 spacerItem2 = QtWidgets.QSpacerItem(388, 21, QtWidgets.QSizePolicy.Policy.Minimum, QtWidgets.QSizePolicy.Policy.Expanding)
170 self.verticalLayout_2.addItem(spacerItem2)
171
172 self.retranslateUi(MercurialPage)
173 QtCore.QMetaObject.connectSlotsByName(MercurialPage)
174 MercurialPage.setTabOrder(self.hgPicker, self.encodingComboBox)
175 MercurialPage.setTabOrder(self.encodingComboBox, self.encodingModeComboBox)
176 MercurialPage.setTabOrder(self.encodingModeComboBox, self.hiddenChangesetsCheckBox)
177 MercurialPage.setTabOrder(self.hiddenChangesetsCheckBox, self.logSpinBox)
178 MercurialPage.setTabOrder(self.logSpinBox, self.logWidthSpinBox)
179 MercurialPage.setTabOrder(self.logWidthSpinBox, self.startFullLogCheckBox)
180 MercurialPage.setTabOrder(self.startFullLogCheckBox, self.commitAuthorsSpinBox)
181 MercurialPage.setTabOrder(self.commitAuthorsSpinBox, self.pullUpdateCheckBox)
182 MercurialPage.setTabOrder(self.pullUpdateCheckBox, self.preferUnbundleCheckBox)
183 MercurialPage.setTabOrder(self.preferUnbundleCheckBox, self.internalMergeCheckBox)
184 MercurialPage.setTabOrder(self.internalMergeCheckBox, self.backupCheckBox)
185 MercurialPage.setTabOrder(self.backupCheckBox, self.cleanupPatternEdit)
186 MercurialPage.setTabOrder(self.cleanupPatternEdit, self.configButton)
187 MercurialPage.setTabOrder(self.configButton, self.installButton)
188
189 def retranslateUi(self, MercurialPage):
190 _translate = QtCore.QCoreApplication.translate
191 self.headerLabel.setText(_translate("MercurialPage", "<b>Configure Mercurial Interface</b>"))
192 self.groupBox_3.setTitle(_translate("MercurialPage", "Mercurial Executable"))
193 self.label_2.setText(_translate("MercurialPage", "Enter the path of the Mercurial executable (hg or hg.exe) to override the automatism."))
194 self.groupBox_8.setTitle(_translate("MercurialPage", "Global Options"))
195 self.label_4.setText(_translate("MercurialPage", "Encoding:"))
196 self.encodingComboBox.setToolTip(_translate("MercurialPage", "Select the encoding to be used by Mercurial"))
197 self.label_5.setText(_translate("MercurialPage", "Encoding Mode:"))
198 self.encodingModeComboBox.setToolTip(_translate("MercurialPage", "Select the encoding mode"))
199 self.hiddenChangesetsCheckBox.setText(_translate("MercurialPage", "Consider hidden changesets"))
200 self.groupBox.setTitle(_translate("MercurialPage", "Log"))
201 self.logWidthSpinBox.setToolTip(_translate("MercurialPage", "Enter the number of characters of the commit message to be shown in the list"))
202 self.label.setText(_translate("MercurialPage", "No. of log messages shown:"))
203 self.logSpinBox.setToolTip(_translate("MercurialPage", "Enter the number of log messages to be shown"))
204 self.label_7.setText(_translate("MercurialPage", "No. of message characters shown in list:"))
205 self.startFullLogCheckBox.setToolTip(_translate("MercurialPage", "Select to show all incoming and the first batch of local changesets"))
206 self.startFullLogCheckBox.setText(_translate("MercurialPage", "Start showing incoming and local changesets"))
207 self.groupBox_2.setTitle(_translate("MercurialPage", "Commit"))
208 self.commitAuthorsSpinBox.setToolTip(_translate("MercurialPage", "Enter the number of commit authors to remember"))
209 self.label_6.setText(_translate("MercurialPage", "No. of commit authors to remember:"))
210 self.groupBox_4.setTitle(_translate("MercurialPage", "Pull"))
211 self.pullUpdateCheckBox.setToolTip(_translate("MercurialPage", "Select to update the working directory to new tip"))
212 self.pullUpdateCheckBox.setText(_translate("MercurialPage", "Update after pulling"))
213 self.preferUnbundleCheckBox.setToolTip(_translate("MercurialPage", "Select to prefer unbundle over pull"))
214 self.preferUnbundleCheckBox.setWhatsThis(_translate("MercurialPage", "<b>Prefer Unbundle</b>\n"
215 "<p>If this option is selected, it will be checked, if a Mercurial changegroups file from a previous \"Show Incoming\" request exists. In this case it will be applied and deleted. Otherwise a pull request will be sent.</p>"))
216 self.preferUnbundleCheckBox.setText(_translate("MercurialPage", "Prefer Unbundle"))
217 self.groupBox_7.setTitle(_translate("MercurialPage", "Merge"))
218 self.internalMergeCheckBox.setToolTip(_translate("MercurialPage", "Select to enforce usage of the Mercural internal merge tool"))
219 self.internalMergeCheckBox.setWhatsThis(_translate("MercurialPage", "<b>Internal Merge Tool</b>\n"
220 "<p>Select to enforce usage of the Mercural internal merge tool,which leaves conflict markers in the file in case of conflicting changes.</p>"))
221 self.internalMergeCheckBox.setText(_translate("MercurialPage", "Use internal merge with conflict markers"))
222 self.groupBox_6.setTitle(_translate("MercurialPage", "Revert"))
223 self.backupCheckBox.setToolTip(_translate("MercurialPage", "Select to create a backup file (.orig) before reverting changes"))
224 self.backupCheckBox.setText(_translate("MercurialPage", "Create Backup Files"))
225 self.groupBox_5.setTitle(_translate("MercurialPage", "Cleanup"))
226 self.label_3.setText(_translate("MercurialPage", "Pattern:"))
227 self.cleanupPatternEdit.setToolTip(_translate("MercurialPage", "Enter the file name patterns to be used for cleaning up (entries separated by a space character)"))
228 self.configButton.setToolTip(_translate("MercurialPage", "Edit the Mercurial configuration file"))
229 self.configButton.setText(_translate("MercurialPage", "Edit configuration file"))
230 self.installButton.setToolTip(_translate("MercurialPage", "Press to install Mercurial alongside eric7"))
231 self.installButton.setText(_translate("MercurialPage", "Install Mercurial"))
232 from eric7.EricWidgets.EricPathPicker import EricPathPicker

eric ide

mercurial