|
1 # Form implementation generated from reading ui file '/home/detlev/Development/Python/Eric/eric7_default/src/eric7/Plugins/VcsPlugins/vcsGit/GitNewProjectOptionsDialog.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_GitNewProjectOptionsDialog(object): |
|
13 def setupUi(self, GitNewProjectOptionsDialog): |
|
14 GitNewProjectOptionsDialog.setObjectName("GitNewProjectOptionsDialog") |
|
15 GitNewProjectOptionsDialog.resize(562, 110) |
|
16 GitNewProjectOptionsDialog.setSizeGripEnabled(True) |
|
17 self.gridLayout = QtWidgets.QGridLayout(GitNewProjectOptionsDialog) |
|
18 self.gridLayout.setObjectName("gridLayout") |
|
19 self.TextLabel2 = QtWidgets.QLabel(parent=GitNewProjectOptionsDialog) |
|
20 self.TextLabel2.setObjectName("TextLabel2") |
|
21 self.gridLayout.addWidget(self.TextLabel2, 0, 0, 1, 1) |
|
22 self.vcsUrlCombo = QtWidgets.QComboBox(parent=GitNewProjectOptionsDialog) |
|
23 sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Policy.Expanding, QtWidgets.QSizePolicy.Policy.Fixed) |
|
24 sizePolicy.setHorizontalStretch(0) |
|
25 sizePolicy.setVerticalStretch(0) |
|
26 sizePolicy.setHeightForWidth(self.vcsUrlCombo.sizePolicy().hasHeightForWidth()) |
|
27 self.vcsUrlCombo.setSizePolicy(sizePolicy) |
|
28 self.vcsUrlCombo.setEditable(True) |
|
29 self.vcsUrlCombo.setInsertPolicy(QtWidgets.QComboBox.InsertPolicy.InsertAtTop) |
|
30 self.vcsUrlCombo.setSizeAdjustPolicy(QtWidgets.QComboBox.SizeAdjustPolicy.AdjustToContents) |
|
31 self.vcsUrlCombo.setObjectName("vcsUrlCombo") |
|
32 self.gridLayout.addWidget(self.vcsUrlCombo, 0, 1, 1, 1) |
|
33 self.vcsUrlButton = QtWidgets.QToolButton(parent=GitNewProjectOptionsDialog) |
|
34 self.vcsUrlButton.setObjectName("vcsUrlButton") |
|
35 self.gridLayout.addWidget(self.vcsUrlButton, 0, 2, 1, 1) |
|
36 self.vcsUrlClearHistoryButton = QtWidgets.QToolButton(parent=GitNewProjectOptionsDialog) |
|
37 self.vcsUrlClearHistoryButton.setObjectName("vcsUrlClearHistoryButton") |
|
38 self.gridLayout.addWidget(self.vcsUrlClearHistoryButton, 0, 3, 1, 1) |
|
39 self.TextLabel4 = QtWidgets.QLabel(parent=GitNewProjectOptionsDialog) |
|
40 self.TextLabel4.setObjectName("TextLabel4") |
|
41 self.gridLayout.addWidget(self.TextLabel4, 1, 0, 1, 1) |
|
42 self.vcsProjectDirEdit = QtWidgets.QLineEdit(parent=GitNewProjectOptionsDialog) |
|
43 self.vcsProjectDirEdit.setObjectName("vcsProjectDirEdit") |
|
44 self.gridLayout.addWidget(self.vcsProjectDirEdit, 1, 1, 1, 1) |
|
45 self.projectDirButton = QtWidgets.QToolButton(parent=GitNewProjectOptionsDialog) |
|
46 self.projectDirButton.setObjectName("projectDirButton") |
|
47 self.gridLayout.addWidget(self.projectDirButton, 1, 2, 1, 1) |
|
48 self.buttonBox = QtWidgets.QDialogButtonBox(parent=GitNewProjectOptionsDialog) |
|
49 self.buttonBox.setOrientation(QtCore.Qt.Orientation.Horizontal) |
|
50 self.buttonBox.setStandardButtons(QtWidgets.QDialogButtonBox.StandardButton.Cancel|QtWidgets.QDialogButtonBox.StandardButton.Ok) |
|
51 self.buttonBox.setObjectName("buttonBox") |
|
52 self.gridLayout.addWidget(self.buttonBox, 2, 0, 1, 4) |
|
53 self.TextLabel2.setBuddy(self.vcsUrlCombo) |
|
54 self.TextLabel4.setBuddy(self.vcsProjectDirEdit) |
|
55 |
|
56 self.retranslateUi(GitNewProjectOptionsDialog) |
|
57 self.buttonBox.accepted.connect(GitNewProjectOptionsDialog.accept) # type: ignore |
|
58 self.buttonBox.rejected.connect(GitNewProjectOptionsDialog.reject) # type: ignore |
|
59 QtCore.QMetaObject.connectSlotsByName(GitNewProjectOptionsDialog) |
|
60 GitNewProjectOptionsDialog.setTabOrder(self.vcsUrlCombo, self.vcsUrlButton) |
|
61 GitNewProjectOptionsDialog.setTabOrder(self.vcsUrlButton, self.vcsProjectDirEdit) |
|
62 GitNewProjectOptionsDialog.setTabOrder(self.vcsProjectDirEdit, self.projectDirButton) |
|
63 |
|
64 def retranslateUi(self, GitNewProjectOptionsDialog): |
|
65 _translate = QtCore.QCoreApplication.translate |
|
66 GitNewProjectOptionsDialog.setWindowTitle(_translate("GitNewProjectOptionsDialog", "New Project from Repository")) |
|
67 GitNewProjectOptionsDialog.setWhatsThis(_translate("GitNewProjectOptionsDialog", "<b>New Project from Repository Dialog</b>\n" |
|
68 "<p>Enter the various repository infos into the entry fields. These values are used, when the new project is retrieved from the repository.</p>\n" |
|
69 "<p>For remote repositories the URL must contain the hostname.</p>")) |
|
70 self.TextLabel2.setText(_translate("GitNewProjectOptionsDialog", "&URL:")) |
|
71 self.vcsUrlCombo.setToolTip(_translate("GitNewProjectOptionsDialog", "Enter the URL of the repository")) |
|
72 self.vcsUrlButton.setToolTip(_translate("GitNewProjectOptionsDialog", "Select the repository url via a directory selection dialog")) |
|
73 self.vcsUrlClearHistoryButton.setToolTip(_translate("GitNewProjectOptionsDialog", "Press to clear the history of entered repository URLs")) |
|
74 self.TextLabel4.setText(_translate("GitNewProjectOptionsDialog", "Project &Directory:")) |
|
75 self.vcsProjectDirEdit.setToolTip(_translate("GitNewProjectOptionsDialog", "Enter the directory of the new project.")) |
|
76 self.vcsProjectDirEdit.setWhatsThis(_translate("GitNewProjectOptionsDialog", "<b>Project Directory</b>\n" |
|
77 "<p>Enter the directory of the new project. It will be retrieved from \n" |
|
78 "the repository and be placed in this directory.</p>")) |