|
1 # Form implementation generated from reading ui file '/home/detlev/Development/Python/Eric/eric7_default/src/eric7/Plugins/VcsPlugins/vcsGit/GitArchiveDataDialog.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_GitArchiveDataDialog(object): |
|
13 def setupUi(self, GitArchiveDataDialog): |
|
14 GitArchiveDataDialog.setObjectName("GitArchiveDataDialog") |
|
15 GitArchiveDataDialog.resize(553, 313) |
|
16 GitArchiveDataDialog.setSizeGripEnabled(True) |
|
17 self.verticalLayout = QtWidgets.QVBoxLayout(GitArchiveDataDialog) |
|
18 self.verticalLayout.setObjectName("verticalLayout") |
|
19 self.groupBox = QtWidgets.QGroupBox(parent=GitArchiveDataDialog) |
|
20 self.groupBox.setObjectName("groupBox") |
|
21 self.gridLayout = QtWidgets.QGridLayout(self.groupBox) |
|
22 self.gridLayout.setObjectName("gridLayout") |
|
23 self.revButton = QtWidgets.QRadioButton(parent=self.groupBox) |
|
24 self.revButton.setObjectName("revButton") |
|
25 self.gridLayout.addWidget(self.revButton, 0, 0, 1, 1) |
|
26 self.revEdit = QtWidgets.QLineEdit(parent=self.groupBox) |
|
27 self.revEdit.setEnabled(False) |
|
28 self.revEdit.setObjectName("revEdit") |
|
29 self.gridLayout.addWidget(self.revEdit, 0, 1, 1, 1) |
|
30 self.tagButton = QtWidgets.QRadioButton(parent=self.groupBox) |
|
31 self.tagButton.setObjectName("tagButton") |
|
32 self.gridLayout.addWidget(self.tagButton, 1, 0, 1, 1) |
|
33 self.tagCombo = QtWidgets.QComboBox(parent=self.groupBox) |
|
34 self.tagCombo.setEnabled(False) |
|
35 sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Policy.Expanding, QtWidgets.QSizePolicy.Policy.Fixed) |
|
36 sizePolicy.setHorizontalStretch(0) |
|
37 sizePolicy.setVerticalStretch(0) |
|
38 sizePolicy.setHeightForWidth(self.tagCombo.sizePolicy().hasHeightForWidth()) |
|
39 self.tagCombo.setSizePolicy(sizePolicy) |
|
40 self.tagCombo.setEditable(True) |
|
41 self.tagCombo.setObjectName("tagCombo") |
|
42 self.gridLayout.addWidget(self.tagCombo, 1, 1, 1, 1) |
|
43 self.branchButton = QtWidgets.QRadioButton(parent=self.groupBox) |
|
44 self.branchButton.setObjectName("branchButton") |
|
45 self.gridLayout.addWidget(self.branchButton, 2, 0, 1, 1) |
|
46 self.branchCombo = QtWidgets.QComboBox(parent=self.groupBox) |
|
47 self.branchCombo.setEnabled(False) |
|
48 sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Policy.Expanding, QtWidgets.QSizePolicy.Policy.Fixed) |
|
49 sizePolicy.setHorizontalStretch(0) |
|
50 sizePolicy.setVerticalStretch(0) |
|
51 sizePolicy.setHeightForWidth(self.branchCombo.sizePolicy().hasHeightForWidth()) |
|
52 self.branchCombo.setSizePolicy(sizePolicy) |
|
53 self.branchCombo.setEditable(True) |
|
54 self.branchCombo.setObjectName("branchCombo") |
|
55 self.gridLayout.addWidget(self.branchCombo, 2, 1, 1, 1) |
|
56 self.tipButton = QtWidgets.QRadioButton(parent=self.groupBox) |
|
57 self.tipButton.setChecked(True) |
|
58 self.tipButton.setObjectName("tipButton") |
|
59 self.gridLayout.addWidget(self.tipButton, 3, 0, 1, 2) |
|
60 self.verticalLayout.addWidget(self.groupBox) |
|
61 self.gridLayout_2 = QtWidgets.QGridLayout() |
|
62 self.gridLayout_2.setObjectName("gridLayout_2") |
|
63 self.label = QtWidgets.QLabel(parent=GitArchiveDataDialog) |
|
64 self.label.setObjectName("label") |
|
65 self.gridLayout_2.addWidget(self.label, 0, 0, 1, 1) |
|
66 self.formatComboBox = QtWidgets.QComboBox(parent=GitArchiveDataDialog) |
|
67 self.formatComboBox.setObjectName("formatComboBox") |
|
68 self.gridLayout_2.addWidget(self.formatComboBox, 0, 1, 1, 2) |
|
69 self.label_3 = QtWidgets.QLabel(parent=GitArchiveDataDialog) |
|
70 self.label_3.setObjectName("label_3") |
|
71 self.gridLayout_2.addWidget(self.label_3, 1, 0, 1, 1) |
|
72 self.fileEdit = QtWidgets.QLineEdit(parent=GitArchiveDataDialog) |
|
73 self.fileEdit.setObjectName("fileEdit") |
|
74 self.gridLayout_2.addWidget(self.fileEdit, 1, 1, 1, 1) |
|
75 self.fileButton = QtWidgets.QToolButton(parent=GitArchiveDataDialog) |
|
76 self.fileButton.setObjectName("fileButton") |
|
77 self.gridLayout_2.addWidget(self.fileButton, 1, 2, 1, 1) |
|
78 self.label_2 = QtWidgets.QLabel(parent=GitArchiveDataDialog) |
|
79 self.label_2.setObjectName("label_2") |
|
80 self.gridLayout_2.addWidget(self.label_2, 2, 0, 1, 1) |
|
81 self.prefixEdit = QtWidgets.QLineEdit(parent=GitArchiveDataDialog) |
|
82 self.prefixEdit.setObjectName("prefixEdit") |
|
83 self.gridLayout_2.addWidget(self.prefixEdit, 2, 1, 1, 2) |
|
84 self.verticalLayout.addLayout(self.gridLayout_2) |
|
85 self.buttonBox = QtWidgets.QDialogButtonBox(parent=GitArchiveDataDialog) |
|
86 self.buttonBox.setOrientation(QtCore.Qt.Orientation.Horizontal) |
|
87 self.buttonBox.setStandardButtons(QtWidgets.QDialogButtonBox.StandardButton.Cancel|QtWidgets.QDialogButtonBox.StandardButton.Ok) |
|
88 self.buttonBox.setObjectName("buttonBox") |
|
89 self.verticalLayout.addWidget(self.buttonBox) |
|
90 |
|
91 self.retranslateUi(GitArchiveDataDialog) |
|
92 self.buttonBox.accepted.connect(GitArchiveDataDialog.accept) # type: ignore |
|
93 self.buttonBox.rejected.connect(GitArchiveDataDialog.reject) # type: ignore |
|
94 self.revButton.toggled['bool'].connect(self.revEdit.setEnabled) # type: ignore |
|
95 self.tagButton.toggled['bool'].connect(self.tagCombo.setEnabled) # type: ignore |
|
96 self.branchButton.toggled['bool'].connect(self.branchCombo.setEnabled) # type: ignore |
|
97 QtCore.QMetaObject.connectSlotsByName(GitArchiveDataDialog) |
|
98 GitArchiveDataDialog.setTabOrder(self.revButton, self.revEdit) |
|
99 GitArchiveDataDialog.setTabOrder(self.revEdit, self.tagButton) |
|
100 GitArchiveDataDialog.setTabOrder(self.tagButton, self.tagCombo) |
|
101 GitArchiveDataDialog.setTabOrder(self.tagCombo, self.branchButton) |
|
102 GitArchiveDataDialog.setTabOrder(self.branchButton, self.branchCombo) |
|
103 GitArchiveDataDialog.setTabOrder(self.branchCombo, self.tipButton) |
|
104 GitArchiveDataDialog.setTabOrder(self.tipButton, self.formatComboBox) |
|
105 GitArchiveDataDialog.setTabOrder(self.formatComboBox, self.fileEdit) |
|
106 GitArchiveDataDialog.setTabOrder(self.fileEdit, self.fileButton) |
|
107 GitArchiveDataDialog.setTabOrder(self.fileButton, self.prefixEdit) |
|
108 |
|
109 def retranslateUi(self, GitArchiveDataDialog): |
|
110 _translate = QtCore.QCoreApplication.translate |
|
111 GitArchiveDataDialog.setWindowTitle(_translate("GitArchiveDataDialog", "Git Archive")) |
|
112 self.groupBox.setTitle(_translate("GitArchiveDataDialog", "Revision")) |
|
113 self.revButton.setToolTip(_translate("GitArchiveDataDialog", "Select to specify a revision by a revision expression")) |
|
114 self.revButton.setText(_translate("GitArchiveDataDialog", "Commit:")) |
|
115 self.revEdit.setToolTip(_translate("GitArchiveDataDialog", "Enter a commit id")) |
|
116 self.tagButton.setToolTip(_translate("GitArchiveDataDialog", "Select to specify a revision by a tag")) |
|
117 self.tagButton.setText(_translate("GitArchiveDataDialog", "Tag:")) |
|
118 self.tagCombo.setToolTip(_translate("GitArchiveDataDialog", "Enter a tag name")) |
|
119 self.branchButton.setToolTip(_translate("GitArchiveDataDialog", "Select to specify a revision by a branch")) |
|
120 self.branchButton.setText(_translate("GitArchiveDataDialog", "Branch:")) |
|
121 self.branchCombo.setToolTip(_translate("GitArchiveDataDialog", "Enter a branch name")) |
|
122 self.tipButton.setToolTip(_translate("GitArchiveDataDialog", "Select HEAD revision")) |
|
123 self.tipButton.setText(_translate("GitArchiveDataDialog", "HEAD")) |
|
124 self.label.setText(_translate("GitArchiveDataDialog", "Format:")) |
|
125 self.formatComboBox.setToolTip(_translate("GitArchiveDataDialog", "Select the archive format")) |
|
126 self.label_3.setText(_translate("GitArchiveDataDialog", "File Name:")) |
|
127 self.fileEdit.setToolTip(_translate("GitArchiveDataDialog", "Enter the name of the archive file")) |
|
128 self.fileButton.setToolTip(_translate("GitArchiveDataDialog", "Select the archive file via a file selection dialog")) |
|
129 self.label_2.setText(_translate("GitArchiveDataDialog", "Prefix:")) |
|
130 self.prefixEdit.setToolTip(_translate("GitArchiveDataDialog", "Enter a prefix to be prepended to each file")) |