|
1 # Form implementation generated from reading ui file '/home/detlev/Development/Python/Eric/eric7_default/src/eric7/Plugins/VcsPlugins/vcsMercurial/LargefilesExtension/LfConvertDataDialog.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_LfConvertDataDialog(object): |
|
13 def setupUi(self, LfConvertDataDialog): |
|
14 LfConvertDataDialog.setObjectName("LfConvertDataDialog") |
|
15 LfConvertDataDialog.resize(500, 144) |
|
16 LfConvertDataDialog.setSizeGripEnabled(True) |
|
17 self.gridLayout = QtWidgets.QGridLayout(LfConvertDataDialog) |
|
18 self.gridLayout.setObjectName("gridLayout") |
|
19 self.currentProjectLabel = EricSqueezeLabelPath(parent=LfConvertDataDialog) |
|
20 self.currentProjectLabel.setObjectName("currentProjectLabel") |
|
21 self.gridLayout.addWidget(self.currentProjectLabel, 0, 0, 1, 3) |
|
22 self.label = QtWidgets.QLabel(parent=LfConvertDataDialog) |
|
23 self.label.setObjectName("label") |
|
24 self.gridLayout.addWidget(self.label, 1, 0, 1, 1) |
|
25 self.newProjectPicker = EricPathPicker(parent=LfConvertDataDialog) |
|
26 sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Policy.Expanding, QtWidgets.QSizePolicy.Policy.Preferred) |
|
27 sizePolicy.setHorizontalStretch(0) |
|
28 sizePolicy.setVerticalStretch(0) |
|
29 sizePolicy.setHeightForWidth(self.newProjectPicker.sizePolicy().hasHeightForWidth()) |
|
30 self.newProjectPicker.setSizePolicy(sizePolicy) |
|
31 self.newProjectPicker.setFocusPolicy(QtCore.Qt.FocusPolicy.StrongFocus) |
|
32 self.newProjectPicker.setObjectName("newProjectPicker") |
|
33 self.gridLayout.addWidget(self.newProjectPicker, 1, 1, 1, 2) |
|
34 self.label_4 = QtWidgets.QLabel(parent=LfConvertDataDialog) |
|
35 self.label_4.setObjectName("label_4") |
|
36 self.gridLayout.addWidget(self.label_4, 2, 0, 1, 1) |
|
37 self.lfFileSizeSpinBox = QtWidgets.QSpinBox(parent=LfConvertDataDialog) |
|
38 self.lfFileSizeSpinBox.setAlignment(QtCore.Qt.AlignmentFlag.AlignRight|QtCore.Qt.AlignmentFlag.AlignTrailing|QtCore.Qt.AlignmentFlag.AlignVCenter) |
|
39 self.lfFileSizeSpinBox.setMinimum(1) |
|
40 self.lfFileSizeSpinBox.setProperty("value", 10) |
|
41 self.lfFileSizeSpinBox.setObjectName("lfFileSizeSpinBox") |
|
42 self.gridLayout.addWidget(self.lfFileSizeSpinBox, 2, 1, 1, 1) |
|
43 spacerItem = QtWidgets.QSpacerItem(297, 20, QtWidgets.QSizePolicy.Policy.Expanding, QtWidgets.QSizePolicy.Policy.Minimum) |
|
44 self.gridLayout.addItem(spacerItem, 2, 2, 1, 1) |
|
45 self.label_5 = QtWidgets.QLabel(parent=LfConvertDataDialog) |
|
46 self.label_5.setObjectName("label_5") |
|
47 self.gridLayout.addWidget(self.label_5, 3, 0, 1, 1) |
|
48 self.lfFilePatternsEdit = QtWidgets.QLineEdit(parent=LfConvertDataDialog) |
|
49 self.lfFilePatternsEdit.setObjectName("lfFilePatternsEdit") |
|
50 self.gridLayout.addWidget(self.lfFilePatternsEdit, 3, 1, 1, 2) |
|
51 self.buttonBox = QtWidgets.QDialogButtonBox(parent=LfConvertDataDialog) |
|
52 self.buttonBox.setOrientation(QtCore.Qt.Orientation.Horizontal) |
|
53 self.buttonBox.setStandardButtons(QtWidgets.QDialogButtonBox.StandardButton.Cancel|QtWidgets.QDialogButtonBox.StandardButton.Ok) |
|
54 self.buttonBox.setObjectName("buttonBox") |
|
55 self.gridLayout.addWidget(self.buttonBox, 4, 0, 1, 3) |
|
56 |
|
57 self.retranslateUi(LfConvertDataDialog) |
|
58 self.buttonBox.accepted.connect(LfConvertDataDialog.accept) # type: ignore |
|
59 self.buttonBox.rejected.connect(LfConvertDataDialog.reject) # type: ignore |
|
60 QtCore.QMetaObject.connectSlotsByName(LfConvertDataDialog) |
|
61 LfConvertDataDialog.setTabOrder(self.newProjectPicker, self.lfFileSizeSpinBox) |
|
62 LfConvertDataDialog.setTabOrder(self.lfFileSizeSpinBox, self.lfFilePatternsEdit) |
|
63 |
|
64 def retranslateUi(self, LfConvertDataDialog): |
|
65 _translate = QtCore.QCoreApplication.translate |
|
66 LfConvertDataDialog.setWindowTitle(_translate("LfConvertDataDialog", "Convert Repository Format")) |
|
67 self.label.setText(_translate("LfConvertDataDialog", "New project directory:")) |
|
68 self.newProjectPicker.setToolTip(_translate("LfConvertDataDialog", "Enter the directory name of the new project directory")) |
|
69 self.label_4.setText(_translate("LfConvertDataDialog", "Minimum file size:")) |
|
70 self.lfFileSizeSpinBox.setToolTip(_translate("LfConvertDataDialog", "Enter the minimum file size in MB for files to be treated as Large Files")) |
|
71 self.lfFileSizeSpinBox.setSuffix(_translate("LfConvertDataDialog", " MB")) |
|
72 self.label_5.setText(_translate("LfConvertDataDialog", "Patterns:")) |
|
73 self.lfFilePatternsEdit.setToolTip(_translate("LfConvertDataDialog", "Enter file patterns (space separated) for files to be treated as Large Files")) |
|
74 from eric7.EricWidgets.EricPathPicker import EricPathPicker |
|
75 from eric7.EricWidgets.EricSqueezeLabels import EricSqueezeLabelPath |