|
1 # Form implementation generated from reading ui file '/home/detlev/Development/Python/Eric/eric7_default/src/eric7/Plugins/VcsPlugins/vcsMercurial/GpgExtension/HgGpgSignDialog.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_HgGpgSignDialog(object): |
|
13 def setupUi(self, HgGpgSignDialog): |
|
14 HgGpgSignDialog.setObjectName("HgGpgSignDialog") |
|
15 HgGpgSignDialog.resize(400, 600) |
|
16 HgGpgSignDialog.setWindowTitle("") |
|
17 HgGpgSignDialog.setSizeGripEnabled(True) |
|
18 self.verticalLayout_2 = QtWidgets.QVBoxLayout(HgGpgSignDialog) |
|
19 self.verticalLayout_2.setObjectName("verticalLayout_2") |
|
20 self.groupBox = QtWidgets.QGroupBox(parent=HgGpgSignDialog) |
|
21 self.groupBox.setObjectName("groupBox") |
|
22 self.gridLayout = QtWidgets.QGridLayout(self.groupBox) |
|
23 self.gridLayout.setObjectName("gridLayout") |
|
24 self.numberButton = QtWidgets.QRadioButton(parent=self.groupBox) |
|
25 self.numberButton.setObjectName("numberButton") |
|
26 self.gridLayout.addWidget(self.numberButton, 0, 0, 1, 1) |
|
27 self.numberSpinBox = QtWidgets.QSpinBox(parent=self.groupBox) |
|
28 self.numberSpinBox.setEnabled(False) |
|
29 self.numberSpinBox.setAlignment(QtCore.Qt.AlignmentFlag.AlignRight) |
|
30 self.numberSpinBox.setMaximum(999999999) |
|
31 self.numberSpinBox.setObjectName("numberSpinBox") |
|
32 self.gridLayout.addWidget(self.numberSpinBox, 0, 1, 1, 1) |
|
33 spacerItem = QtWidgets.QSpacerItem(158, 20, QtWidgets.QSizePolicy.Policy.Expanding, QtWidgets.QSizePolicy.Policy.Minimum) |
|
34 self.gridLayout.addItem(spacerItem, 0, 2, 1, 1) |
|
35 self.idButton = QtWidgets.QRadioButton(parent=self.groupBox) |
|
36 self.idButton.setObjectName("idButton") |
|
37 self.gridLayout.addWidget(self.idButton, 1, 0, 1, 1) |
|
38 self.idEdit = QtWidgets.QLineEdit(parent=self.groupBox) |
|
39 self.idEdit.setEnabled(False) |
|
40 self.idEdit.setObjectName("idEdit") |
|
41 self.gridLayout.addWidget(self.idEdit, 1, 1, 1, 2) |
|
42 self.tagButton = QtWidgets.QRadioButton(parent=self.groupBox) |
|
43 self.tagButton.setObjectName("tagButton") |
|
44 self.gridLayout.addWidget(self.tagButton, 2, 0, 1, 1) |
|
45 self.tagCombo = QtWidgets.QComboBox(parent=self.groupBox) |
|
46 self.tagCombo.setEnabled(False) |
|
47 sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Policy.Expanding, QtWidgets.QSizePolicy.Policy.Fixed) |
|
48 sizePolicy.setHorizontalStretch(0) |
|
49 sizePolicy.setVerticalStretch(0) |
|
50 sizePolicy.setHeightForWidth(self.tagCombo.sizePolicy().hasHeightForWidth()) |
|
51 self.tagCombo.setSizePolicy(sizePolicy) |
|
52 self.tagCombo.setEditable(True) |
|
53 self.tagCombo.setObjectName("tagCombo") |
|
54 self.gridLayout.addWidget(self.tagCombo, 2, 1, 1, 2) |
|
55 self.branchButton = QtWidgets.QRadioButton(parent=self.groupBox) |
|
56 self.branchButton.setObjectName("branchButton") |
|
57 self.gridLayout.addWidget(self.branchButton, 3, 0, 1, 1) |
|
58 self.branchCombo = QtWidgets.QComboBox(parent=self.groupBox) |
|
59 self.branchCombo.setEnabled(False) |
|
60 sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Policy.Expanding, QtWidgets.QSizePolicy.Policy.Fixed) |
|
61 sizePolicy.setHorizontalStretch(0) |
|
62 sizePolicy.setVerticalStretch(0) |
|
63 sizePolicy.setHeightForWidth(self.branchCombo.sizePolicy().hasHeightForWidth()) |
|
64 self.branchCombo.setSizePolicy(sizePolicy) |
|
65 self.branchCombo.setEditable(True) |
|
66 self.branchCombo.setObjectName("branchCombo") |
|
67 self.gridLayout.addWidget(self.branchCombo, 3, 1, 1, 2) |
|
68 self.bookmarkButton = QtWidgets.QRadioButton(parent=self.groupBox) |
|
69 self.bookmarkButton.setObjectName("bookmarkButton") |
|
70 self.gridLayout.addWidget(self.bookmarkButton, 4, 0, 1, 1) |
|
71 self.bookmarkCombo = QtWidgets.QComboBox(parent=self.groupBox) |
|
72 self.bookmarkCombo.setEnabled(False) |
|
73 sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Policy.Expanding, QtWidgets.QSizePolicy.Policy.Fixed) |
|
74 sizePolicy.setHorizontalStretch(0) |
|
75 sizePolicy.setVerticalStretch(0) |
|
76 sizePolicy.setHeightForWidth(self.bookmarkCombo.sizePolicy().hasHeightForWidth()) |
|
77 self.bookmarkCombo.setSizePolicy(sizePolicy) |
|
78 self.bookmarkCombo.setEditable(True) |
|
79 self.bookmarkCombo.setObjectName("bookmarkCombo") |
|
80 self.gridLayout.addWidget(self.bookmarkCombo, 4, 1, 1, 2) |
|
81 self.expressionButton = QtWidgets.QRadioButton(parent=self.groupBox) |
|
82 self.expressionButton.setObjectName("expressionButton") |
|
83 self.gridLayout.addWidget(self.expressionButton, 5, 0, 1, 1) |
|
84 self.expressionEdit = QtWidgets.QLineEdit(parent=self.groupBox) |
|
85 self.expressionEdit.setEnabled(False) |
|
86 self.expressionEdit.setClearButtonEnabled(True) |
|
87 self.expressionEdit.setObjectName("expressionEdit") |
|
88 self.gridLayout.addWidget(self.expressionEdit, 5, 1, 1, 2) |
|
89 self.tipButton = QtWidgets.QRadioButton(parent=self.groupBox) |
|
90 self.tipButton.setChecked(True) |
|
91 self.tipButton.setObjectName("tipButton") |
|
92 self.gridLayout.addWidget(self.tipButton, 6, 0, 1, 3) |
|
93 self.verticalLayout_2.addWidget(self.groupBox) |
|
94 self.groupBox_2 = QtWidgets.QGroupBox(parent=HgGpgSignDialog) |
|
95 self.groupBox_2.setObjectName("groupBox_2") |
|
96 self.verticalLayout = QtWidgets.QVBoxLayout(self.groupBox_2) |
|
97 self.verticalLayout.setObjectName("verticalLayout") |
|
98 self.nocommitCheckBox = QtWidgets.QCheckBox(parent=self.groupBox_2) |
|
99 self.nocommitCheckBox.setObjectName("nocommitCheckBox") |
|
100 self.verticalLayout.addWidget(self.nocommitCheckBox) |
|
101 self.messageEdit = EricSpellCheckedPlainTextEdit(parent=self.groupBox_2) |
|
102 self.messageEdit.setTabChangesFocus(True) |
|
103 self.messageEdit.setObjectName("messageEdit") |
|
104 self.verticalLayout.addWidget(self.messageEdit) |
|
105 self.verticalLayout_2.addWidget(self.groupBox_2) |
|
106 self.gridLayout_2 = QtWidgets.QGridLayout() |
|
107 self.gridLayout_2.setObjectName("gridLayout_2") |
|
108 self.label = QtWidgets.QLabel(parent=HgGpgSignDialog) |
|
109 self.label.setObjectName("label") |
|
110 self.gridLayout_2.addWidget(self.label, 0, 0, 1, 1) |
|
111 self.keyEdit = QtWidgets.QLineEdit(parent=HgGpgSignDialog) |
|
112 self.keyEdit.setObjectName("keyEdit") |
|
113 self.gridLayout_2.addWidget(self.keyEdit, 0, 1, 1, 1) |
|
114 self.localCheckBox = QtWidgets.QCheckBox(parent=HgGpgSignDialog) |
|
115 self.localCheckBox.setObjectName("localCheckBox") |
|
116 self.gridLayout_2.addWidget(self.localCheckBox, 1, 0, 1, 2) |
|
117 self.forceCheckBox = QtWidgets.QCheckBox(parent=HgGpgSignDialog) |
|
118 self.forceCheckBox.setObjectName("forceCheckBox") |
|
119 self.gridLayout_2.addWidget(self.forceCheckBox, 2, 0, 1, 2) |
|
120 self.verticalLayout_2.addLayout(self.gridLayout_2) |
|
121 self.buttonBox = QtWidgets.QDialogButtonBox(parent=HgGpgSignDialog) |
|
122 self.buttonBox.setOrientation(QtCore.Qt.Orientation.Horizontal) |
|
123 self.buttonBox.setStandardButtons(QtWidgets.QDialogButtonBox.StandardButton.Cancel|QtWidgets.QDialogButtonBox.StandardButton.Ok) |
|
124 self.buttonBox.setObjectName("buttonBox") |
|
125 self.verticalLayout_2.addWidget(self.buttonBox) |
|
126 |
|
127 self.retranslateUi(HgGpgSignDialog) |
|
128 self.buttonBox.accepted.connect(HgGpgSignDialog.accept) # type: ignore |
|
129 self.buttonBox.rejected.connect(HgGpgSignDialog.reject) # type: ignore |
|
130 self.numberButton.toggled['bool'].connect(self.numberSpinBox.setEnabled) # type: ignore |
|
131 self.idButton.toggled['bool'].connect(self.idEdit.setEnabled) # type: ignore |
|
132 self.tagButton.toggled['bool'].connect(self.tagCombo.setEnabled) # type: ignore |
|
133 self.branchButton.toggled['bool'].connect(self.branchCombo.setEnabled) # type: ignore |
|
134 self.bookmarkButton.toggled['bool'].connect(self.bookmarkCombo.setEnabled) # type: ignore |
|
135 self.expressionButton.toggled['bool'].connect(self.expressionEdit.setEnabled) # type: ignore |
|
136 QtCore.QMetaObject.connectSlotsByName(HgGpgSignDialog) |
|
137 HgGpgSignDialog.setTabOrder(self.numberButton, self.numberSpinBox) |
|
138 HgGpgSignDialog.setTabOrder(self.numberSpinBox, self.idButton) |
|
139 HgGpgSignDialog.setTabOrder(self.idButton, self.idEdit) |
|
140 HgGpgSignDialog.setTabOrder(self.idEdit, self.tagButton) |
|
141 HgGpgSignDialog.setTabOrder(self.tagButton, self.tagCombo) |
|
142 HgGpgSignDialog.setTabOrder(self.tagCombo, self.branchButton) |
|
143 HgGpgSignDialog.setTabOrder(self.branchButton, self.branchCombo) |
|
144 HgGpgSignDialog.setTabOrder(self.branchCombo, self.bookmarkButton) |
|
145 HgGpgSignDialog.setTabOrder(self.bookmarkButton, self.bookmarkCombo) |
|
146 HgGpgSignDialog.setTabOrder(self.bookmarkCombo, self.expressionButton) |
|
147 HgGpgSignDialog.setTabOrder(self.expressionButton, self.expressionEdit) |
|
148 HgGpgSignDialog.setTabOrder(self.expressionEdit, self.tipButton) |
|
149 HgGpgSignDialog.setTabOrder(self.tipButton, self.nocommitCheckBox) |
|
150 HgGpgSignDialog.setTabOrder(self.nocommitCheckBox, self.messageEdit) |
|
151 HgGpgSignDialog.setTabOrder(self.messageEdit, self.keyEdit) |
|
152 HgGpgSignDialog.setTabOrder(self.keyEdit, self.localCheckBox) |
|
153 HgGpgSignDialog.setTabOrder(self.localCheckBox, self.forceCheckBox) |
|
154 HgGpgSignDialog.setTabOrder(self.forceCheckBox, HgGpgSignDialog.keyEdit_2) |
|
155 HgGpgSignDialog.setTabOrder(HgGpgSignDialog.keyEdit_2, HgGpgSignDialog.localCheckBox_2) |
|
156 HgGpgSignDialog.setTabOrder(HgGpgSignDialog.localCheckBox_2, HgGpgSignDialog.forceCheckBox_2) |
|
157 |
|
158 def retranslateUi(self, HgGpgSignDialog): |
|
159 _translate = QtCore.QCoreApplication.translate |
|
160 self.groupBox.setTitle(_translate("HgGpgSignDialog", "Revision")) |
|
161 self.numberButton.setToolTip(_translate("HgGpgSignDialog", "Select to specify a revision by number")) |
|
162 self.numberButton.setText(_translate("HgGpgSignDialog", "Number")) |
|
163 self.numberSpinBox.setToolTip(_translate("HgGpgSignDialog", "Enter a revision number")) |
|
164 self.idButton.setToolTip(_translate("HgGpgSignDialog", "Select to specify a revision by changeset id")) |
|
165 self.idButton.setText(_translate("HgGpgSignDialog", "Id:")) |
|
166 self.idEdit.setToolTip(_translate("HgGpgSignDialog", "Enter a changeset id")) |
|
167 self.tagButton.setToolTip(_translate("HgGpgSignDialog", "Select to specify a revision by a tag")) |
|
168 self.tagButton.setText(_translate("HgGpgSignDialog", "Tag:")) |
|
169 self.tagCombo.setToolTip(_translate("HgGpgSignDialog", "Enter a tag name")) |
|
170 self.branchButton.setToolTip(_translate("HgGpgSignDialog", "Select to specify a revision by a branch")) |
|
171 self.branchButton.setText(_translate("HgGpgSignDialog", "Branch:")) |
|
172 self.branchCombo.setToolTip(_translate("HgGpgSignDialog", "Enter a branch name")) |
|
173 self.bookmarkButton.setToolTip(_translate("HgGpgSignDialog", "Select to specify a revision by a bookmark")) |
|
174 self.bookmarkButton.setText(_translate("HgGpgSignDialog", "Bookmark:")) |
|
175 self.bookmarkCombo.setToolTip(_translate("HgGpgSignDialog", "Enter a bookmark name")) |
|
176 self.expressionButton.setText(_translate("HgGpgSignDialog", "Expression:")) |
|
177 self.expressionEdit.setToolTip(_translate("HgGpgSignDialog", "Enter a revision set expression")) |
|
178 self.tipButton.setToolTip(_translate("HgGpgSignDialog", "Select tip revision of repository")) |
|
179 self.tipButton.setText(_translate("HgGpgSignDialog", "Parent")) |
|
180 self.groupBox_2.setTitle(_translate("HgGpgSignDialog", "Commit Message")) |
|
181 self.nocommitCheckBox.setToolTip(_translate("HgGpgSignDialog", "Select to not commit the signature")) |
|
182 self.nocommitCheckBox.setText(_translate("HgGpgSignDialog", "Do Not Commit")) |
|
183 self.messageEdit.setToolTip(_translate("HgGpgSignDialog", "Enter a commit message (leave empty to use default)")) |
|
184 self.label.setText(_translate("HgGpgSignDialog", "Key-ID:")) |
|
185 self.keyEdit.setToolTip(_translate("HgGpgSignDialog", "Enter the ID of the key to be used")) |
|
186 self.localCheckBox.setToolTip(_translate("HgGpgSignDialog", "Select to make the signature local")) |
|
187 self.localCheckBox.setText(_translate("HgGpgSignDialog", "Local Signature")) |
|
188 self.forceCheckBox.setToolTip(_translate("HgGpgSignDialog", "Select to sign even if the signature file is modified")) |
|
189 self.forceCheckBox.setText(_translate("HgGpgSignDialog", "Force Signature")) |
|
190 from eric7.EricWidgets.EricSpellCheckedTextEdit import EricSpellCheckedPlainTextEdit |