|
1 # Form implementation generated from reading ui file '/home/detlev/Development/Python/Eric/eric7_default/src/eric7/Plugins/VcsPlugins/vcsPySvn/SvnCopyDialog.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_SvnCopyDialog(object): |
|
13 def setupUi(self, SvnCopyDialog): |
|
14 SvnCopyDialog.setObjectName("SvnCopyDialog") |
|
15 SvnCopyDialog.resize(409, 120) |
|
16 SvnCopyDialog.setSizeGripEnabled(True) |
|
17 self.gridLayout = QtWidgets.QGridLayout(SvnCopyDialog) |
|
18 self.gridLayout.setObjectName("gridLayout") |
|
19 self.textLabel1 = QtWidgets.QLabel(parent=SvnCopyDialog) |
|
20 self.textLabel1.setObjectName("textLabel1") |
|
21 self.gridLayout.addWidget(self.textLabel1, 0, 0, 1, 1) |
|
22 self.sourceEdit = QtWidgets.QLineEdit(parent=SvnCopyDialog) |
|
23 self.sourceEdit.setReadOnly(True) |
|
24 self.sourceEdit.setObjectName("sourceEdit") |
|
25 self.gridLayout.addWidget(self.sourceEdit, 0, 1, 1, 1) |
|
26 self.textLabel2 = QtWidgets.QLabel(parent=SvnCopyDialog) |
|
27 self.textLabel2.setObjectName("textLabel2") |
|
28 self.gridLayout.addWidget(self.textLabel2, 1, 0, 1, 1) |
|
29 self.targetPicker = EricPathPicker(parent=SvnCopyDialog) |
|
30 sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Policy.Expanding, QtWidgets.QSizePolicy.Policy.Preferred) |
|
31 sizePolicy.setHorizontalStretch(0) |
|
32 sizePolicy.setVerticalStretch(0) |
|
33 sizePolicy.setHeightForWidth(self.targetPicker.sizePolicy().hasHeightForWidth()) |
|
34 self.targetPicker.setSizePolicy(sizePolicy) |
|
35 self.targetPicker.setFocusPolicy(QtCore.Qt.FocusPolicy.StrongFocus) |
|
36 self.targetPicker.setObjectName("targetPicker") |
|
37 self.gridLayout.addWidget(self.targetPicker, 1, 1, 1, 1) |
|
38 self.forceCheckBox = QtWidgets.QCheckBox(parent=SvnCopyDialog) |
|
39 self.forceCheckBox.setObjectName("forceCheckBox") |
|
40 self.gridLayout.addWidget(self.forceCheckBox, 2, 0, 1, 2) |
|
41 self.buttonBox = QtWidgets.QDialogButtonBox(parent=SvnCopyDialog) |
|
42 self.buttonBox.setOrientation(QtCore.Qt.Orientation.Horizontal) |
|
43 self.buttonBox.setStandardButtons(QtWidgets.QDialogButtonBox.StandardButton.Cancel|QtWidgets.QDialogButtonBox.StandardButton.Ok) |
|
44 self.buttonBox.setObjectName("buttonBox") |
|
45 self.gridLayout.addWidget(self.buttonBox, 3, 0, 1, 2) |
|
46 |
|
47 self.retranslateUi(SvnCopyDialog) |
|
48 self.buttonBox.accepted.connect(SvnCopyDialog.accept) # type: ignore |
|
49 self.buttonBox.rejected.connect(SvnCopyDialog.reject) # type: ignore |
|
50 QtCore.QMetaObject.connectSlotsByName(SvnCopyDialog) |
|
51 SvnCopyDialog.setTabOrder(self.sourceEdit, self.targetPicker) |
|
52 SvnCopyDialog.setTabOrder(self.targetPicker, self.forceCheckBox) |
|
53 |
|
54 def retranslateUi(self, SvnCopyDialog): |
|
55 _translate = QtCore.QCoreApplication.translate |
|
56 SvnCopyDialog.setWindowTitle(_translate("SvnCopyDialog", "Subversion Copy")) |
|
57 self.textLabel1.setText(_translate("SvnCopyDialog", "Source:")) |
|
58 self.sourceEdit.setToolTip(_translate("SvnCopyDialog", "Shows the name of the source")) |
|
59 self.sourceEdit.setWhatsThis(_translate("SvnCopyDialog", "<b>Source name</b>\n" |
|
60 "<p>This field shows the name of the source.</p>")) |
|
61 self.textLabel2.setText(_translate("SvnCopyDialog", "Target:")) |
|
62 self.targetPicker.setToolTip(_translate("SvnCopyDialog", "Enter the target name")) |
|
63 self.targetPicker.setWhatsThis(_translate("SvnCopyDialog", "<b>Target name</b>\n" |
|
64 "<p>Enter the new name in this field. The target must be the new name or an absolute path.</p>")) |
|
65 self.forceCheckBox.setToolTip(_translate("SvnCopyDialog", "Select to force the operation")) |
|
66 self.forceCheckBox.setText(_translate("SvnCopyDialog", "Enforce operation")) |
|
67 from eric7.EricWidgets.EricPathPicker import EricPathPicker |